Skip to main content
Tweeted twitter.com/StackArduino/status/938095327927848963
Formatting.
Source Link
Edgar Bonet
  • 45.2k
  • 4
  • 42
  • 81

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

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

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

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 Arduino IDE. How can I use them in my Arduino code. To be precise, the libraries I want to use are #include , #include , #include , #include , #include <math.h>, #include respectively. Okay so I know I have available in Arduino. <math.h> is also available I think along with library. The main problem is to how to use #include and its functions such as priority_queue() and other funtions of iosteam like .pop() ? Any help would be highly appreciated.

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.

Source Link
AZ123
  • 31
  • 1
  • 1
  • 3

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 Arduino IDE. How can I use them in my Arduino code. To be precise, the libraries I want to use are #include , #include , #include , #include , #include <math.h>, #include respectively. Okay so I know I have available in Arduino. <math.h> is also available I think along with library. The main problem is to how to use #include and its functions such as priority_queue() and other funtions of iosteam like .pop() ? Any help would be highly appreciated.