I'm new in C++ and have a question about how to use a variable (pathLed) that carries a path in the fs.open function? String seams not to work. If I use define pathLed "/sys/class/leds/beaglebone:green:usr0" it works, but I need a variable to sign different paths to pathLed. Thanks for the answer. Nico
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments