|
-
September 29th, 2000, 10:36 PM
#1
How to erase char array's content
Hi:
Here has a simplay question.
IN VB char array can use ERASE command to delete it's conten. How about in VC++. Like I define CHAR TEM[227];
TEM="....."
How can I make TEM equal null then I can relocate new char in.
If anybody can help. It will very helpful.
Thank you very much indeed
WKY086
wky086
-
September 29th, 2000, 11:34 PM
#2
Re: How to erase char array's content
char TEM[227] = {0};
~ Rating helps serve better, no doubt
~ ks
-
September 29th, 2000, 11:39 PM
#3
Re: How to erase char array's content
take a look at memset
Sooner Or Later, Everyone Does...
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
|