I need to log to a file say a.txt the following values:
current date,current time,string,string
For the path of a.txt, i need to read from a file called info.properties which has a lot of parameters and their values in the following format:
Status = on
Path = here is the path of the a.txt
Now i need to read from the above properties file in the following manner:
String s = valueOf("Path"
And then I log the info into the file specified by this path. Some sample code would be really helpful as I am novice to C++. Code to retrive the date and time is also needed.
Thanx in Advance
current date,current time,string,string
For the path of a.txt, i need to read from a file called info.properties which has a lot of parameters and their values in the following format:
Status = on
Path = here is the path of the a.txt
Now i need to read from the above properties file in the following manner:
String s = valueOf("Path"
And then I log the info into the file specified by this path. Some sample code would be really helpful as I am novice to C++. Code to retrive the date and time is also needed.
Thanx in Advance