|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have a huge file of numbers separated by commas...
ex) 1,2,3,4,5,6 how do i go through the file and separate each number so I can store all the numbers in an array... i guess my question is how to i use the comma as a deliminator... -thanks in advance... |
|
#2
|
||||
|
||||
|
You can use strtok, but be careful with it.
Also, please use a better subject title next time, you can review the sticky thread at the top of this forum for more information on how to post a question. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > C Programming > quick file i/o question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|