I need a C program to read a string within double quotes from a file and store them. File is not fixed, means it may be changing, but would be having data like:
MY_NAME( tra_ctrl_1, "T_aa1") MY_NAME( tra_ctrl_2, "A_bb1") MY_NAME( tra_ctrl_3, "C_x") MY_NAME( tra_ctrl_4, "M_cc1") MY_NAME( tra_ctrl_5, "xx") MY_NAME( tra_ctrl_6, "yy") ............ and so on.. I want to store T_aa1, A_bb1, C_x, M_cc1, xx and yy after reading lines of file.
"A string with\" a quote in it"? If so, the job may be a bit more difficult than it would initially appear.