routeur done
Dependencies: mbed
Fork of APP4 by
Diff: readfile.cpp
- Revision:
- 2:7515831bb5f5
- Parent:
- 0:71df0feee697
- Child:
- 3:350f07072089
--- a/readfile.cpp Sun Feb 23 23:32:09 2014 +0000 +++ b/readfile.cpp Mon Feb 24 14:08:10 2014 +0000 @@ -15,4 +15,18 @@ myfile.close(); } +} + +void ReadFile::setConfigRouteur(Routeur *rout, const string filename) +{ + string line; + ifstream myfile(filename.c_str()); + if (myfile.is_open()) + { + while (getline(myfile,line)) + { + } + + myfile.close(); + } } \ No newline at end of file