Program in C++ on Linux.
I want to extract the strings string1 and string2 from the line:
config.?.getstr ing=("string1,s tring2");
This line is in another file. There are 100 other lines like this in the file that start with config but only "getstring" is unique. My program should not be aware of what string1 and string2 nor how many strings there are.
My program should pick up string1,...
User Profile
Collapse
-
Reading string from file
Last edited by sicarie; Mar 30 '07, 01:20 AM. Reason: Please use [code] and [/code] tags around your code.
No activity results to display
Show More