Skip to main content
2 of 2
Formatting.
Edgar Bonet
  • 45.2k
  • 4
  • 42
  • 81

How to use C Libraries for Arduino code

I have a code in Visual studio that I want to implement in Arduino. But there is a problem. Many libraries usable in Visual Studio aren't usable in the Arduino IDE. How can I use them in my Arduino code? To be precise, the libraries I want to use are

#include <iostream>
#include <iomanip>
#include <queue>
#include <string>
#include <math.h>
#include <ctime>

I know I have <iostream> available in Arduino. <math.h> is also available I think along with the <string> library. The main problem is to how to use #include<queue> and its functions such as priority_queue() and other functions of iosteam like .pop()? Any help would be highly appreciated.

AZ123
  • 31
  • 1
  • 1
  • 3