| | |
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 |
* adobe ansi api array asterisks binarysearch calculate centimeter char character cm convert copyanyfile copyimagefile copypdffile cprogramme createcopyoffile createprocess() csyntax directory feet fflush fgets file floatingpointvalidation fork frequency function getlasterror getlogicaldrivestrin givemetehcodez global graphics gtkgcurlcompiling gtkwinlinux hacking highest homework i/o inches infiniteloop interest intmain() kilometer km linked linkedlist linux linuxsegmentationfault list locate logical_drives match meter microsoft mqqueue mysql number oddnumber odf open opendocumentformat openwebfoundation owf pattern pdf performance posix power probleminc program programming pyramidusingturboccodes read recv recvblocked repetition scanf scheduling segmentationfault send single socketprograming socketprogramming stack standard strchr string suggestions systemcall unix urboc user variable voidmain() wab whythiscodecausesegmentationfault win32api windows.h






