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
Re: How to erase char array's content
char TEM[227] = {0};
~ Rating helps serve better, no doubt
~ ks
Re: How to erase char array's content
take a look at memset
Sooner Or Later, Everyone Does...