Home > Back-end >  C how to read the string to a variable name and the assignment
C how to read the string to a variable name and the assignment

Time:09-30

Such as a TXT file there are variable_a=1, variable_b=2, variable_c=3 a set of data

How to read to c + +, make its are shown as int variable_a=1, variable_b=2, variable_c=3, and point to the array x [3]

CodePudding user response:

This is the word processing, the perl language

CodePudding user response:

Map And parsing the text again

CodePudding user response:

refer to the second floor Italink response:
map , oneself to parse text

What is your specific? I thought about the map but I can't write

CodePudding user response:

If do not to come out??
  • Related