file content:
/function name: input\n\t\tworking: inputs details\n\t\t/
/*fuction name: datawrite\n\t\tworking: write the data into the file */
/function name: dataread\n\tworking: read the data in the file for display/
/*funtion name: accsummary\n\t\tworking: display the content of the file of specific person */
I want to extract only the "function names" and the "workings" from the file and store them into the array of string. "using c++" that is, if i have declared an array of string function[10] then this should store "input,datawrite,dataread,accsummary" similarly from "working"