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;
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment