I do not know how to empty the filled array.
Example:
I have this ...
for (int i=0; i<10; i++)
{
array[i] = '.';
}
This array is filled with dots. And I want to know how can I empty this array?
I do not know how to empty the filled array.
Example:
I have this ...
for (int i=0; i<10; i++)
{
array[i] = '.';
}
This array is filled with dots. And I want to know how can I empty this array?
Current projects:
1) User Interface Development Kit (C++)
2) HTML SDK (C++)
3) Classes (C++)
4) INI Editor (Delphi)
for (int i=0; i<10; i++)
{
array[i] = 0;
}
Free the weed!! Class B to class C is not good enough!!
And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi
or even quicker with memset()
Hope you don't mind my bad english, I'm Austrian!