|
-
Aug 4th, 2001, 05:47 AM
#1
Thread Starter
PowerPoster
just a simple| simple QUESTION:)
i was just playing around with the web server and found that I did not know one thing.
When I declare a variable like this:
char buf[1000];
--
Now when I put this code in:
e = 0;
buf[e] = "\\";
--
Will
buf[e]
have the string "\\" ?
And if I do something like this
buf[e] = 0;
Will it erase the string already in buf[e] , which is "\\", or will it leave this string in there ?
Please, that is a kind of urgent, and I know that is just a little newbie answer for you
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|