Click here to Skip to main content
15,914,221 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How can i display a 2 dimensional array which is input from user in the form[1 2;3 4](string)
Posted

1 solution

you parse it, first by ';', then by ' ' - have a look at strtok[^] - be aware that strtok eats the string you're parsing
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900