![]() |
|
#1
|
|||
|
|||
Data Parsing in C/C++I am looking for a solution of parsing data in C language, I have attached the code below with some comments in it. What actually I am looking for not to call the sscanf function with the number data is available (In this it is 3) as it is random and can be anywhere between 0 to 9.
Code: CPP / C++ / C Code:
Can some one suggest any alternate solution with less number of calls to sscanf, in this sample code it is happening count+1 times. If anyone can point me to C++ library routine will be helpful as well. Many thanks, Sgies Last edited by admin : 18-Feb-2008 at 16:18.
Reason: Please insert your example C/C++ codes between [CPP] and [/CPP] tags
|
|||
Recent GIDBlog
Problems with the Navy (Officers) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Memory leak when nothing is happening... How can I even debug this ? | Algar | MS Visual C++ / MFC Forum | 10 | 19-Nov-2007 08:17 |
| [Include] Doubly-linked List | dsmith | C Programming Language | 6 | 14-Apr-2006 14:12 |
| Strange C++ code memory leakage problem | gaoanyu | C++ Forum | 7 | 04-Nov-2005 09:09 |
| problem parsing data from a file in C | brett | C Programming Language | 6 | 25-Apr-2005 11:34 |
| [CONTEST?]Data Structure Test | dsmith | C Programming Language | 2 | 06-Jun-2004 16:13 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The