| | |
Need help processing and storing a whitespace-delimited c-string.
![]() |
I need to write a function that will take a char* string and populate a char* array with elements of the original string. The elements of the original string are whitespace-delimited.
I have seen a function do this, but it is somewhat complex (deals with a lot more factors and is poorly documented). It uses loops and pointer operations. I just need some help to get me on the right track.
Thank you.
I have seen a function do this, but it is somewhat complex (deals with a lot more factors and is poorly documented). It uses loops and pointer operations. I just need some help to get me on the right track.
Thank you.
Last edited by Ratte; Nov 15th, 2007 at 7:00 pm.
![]() |
Similar Threads
- Tutorial: User Input: Strings and Numbers [C] (C)
- preg_match validation help please (PHP)
- help reading from .txt file (C++)
- <string> (C++)
- whitespace (C++)
- This ought to be simple - extra spaces (PHP)
- Help with input (C)
- new and in need (ASP)
- Help in Input output C files (C)
- Fun with Forms (PHP)
Other Threads in the C Forum
- Previous Thread: Calendar program
- Next Thread: representing binary values
| Thread Tools | Search this Thread |
#include adobe api array arrays asterisks binarysearch calculate char cm copyanyfile copyimagefile copypdffile cprogramme creafecopyofanytypeoffileinc createcopyoffile createprocess() csyntax database directory dynamic feet fflush fgets file fork forloop frequency getlasterror givemetehcodez global graphics gtkgcurlcompiling hacking hardware highest homework i/o include incrementoperators input interest kernel kilometer km linked linkedlist linux linuxsegmentationfault list locate logical_drives loopinsideloop. match matrix meter microsoft motherboard mqqueue mysql number odf open openwebfoundation owf pattern pdf performance pointer posix probleminc process program programming pyramidusingturboccodes radix read recursion recv repetition research scanf scheduling segmentationfault send sequential shape socket socketprograming stack standard string systemcall turboc unix user voidmain() wab win32api windows.h






