I have a couple questions. They should be pretty simple to answer, but for a beginner these problems are daunting.
I have some text in cout that has \'s then words, so the compiler gives me these errors...
[Warning] unknown escape sequence '\D'
Is there a way to get around that? It compiles fine, but I don't see the the \'s in my text when the program runs.
Question 2...
I'm just playing around at the moment, trying to get familier with C++. I was making a little console program to scare my friends, I want to make a stupid little program that makes it look like I am deleting all the files on my computer. Something simple.
Such as I will just type delete.exe or something like that. How can I set it up so that there is a brief pause between that and the next line of text which would be something like "Files Deleted Successfully".
Something that would make it look like...
Delete.exe
Deleting...
*Then a few second pause*
Files Deleted.
Sorry if that is a long explanation for something so simple, but thanks in advance for any advice!