Forum: C++ Feb 18th, 2008 |
| Replies: 21 Views: 2,717 |
Forum: C++ Feb 18th, 2008 |
| Replies: 21 Views: 2,717 use header #include <windows.h> [edit]
and syntax example:
DeleteFile(TEXT("datafile.txt"));
its for vc++; |
Forum: C++ Feb 18th, 2008 |
| Replies: 17 Views: 1,410 see following example it may help you:
char chStr[10][10];
//populate array with strings
for(int i=0;i<10;i++)
{
strcpy(chStr[i],"hi");
}
//print the strings |
Forum: C++ Feb 18th, 2008 |
| Replies: 21 Views: 2,717 use
DeleteFile (http://msdn2.microsoft.com/en-us/library/aa363915.aspx) |
Forum: C++ Feb 15th, 2008 |
| Replies: 4 Views: 783 after getting all the filename along with path u need to use String object's (search pattern to get) subString method to get file name. |