Thread
:
C loop, giving me trouble !! Can anyone help..?
View Single Post
#
3
(
permalink
)
06-11-2008, 12:08 PM
WingedPanther
Join Date: Jul 2006
Age: 35
Posts: 4,068
Last Blog:
Why Learn Data Structu...
Credits:
27
Rep Power:
45
Re: C loop, giving me trouble !! Can anyone help..?
In your loop, you are continually incrementing i, so s will become something like the following:
s = "something\0else\0than\0expected\0"
You can see where you'll get issues.
__________________
CodeCall Blog
|
CodeCall Wiki
|
Shareware
|
Linux Forum
Programming is a branch of mathematics.
WingedPanther
View Public Profile
Send a private message to WingedPanther
Find all posts by WingedPanther