oh thanks. Got it working.
Type: Posts; User: HelpLol
oh thanks. Got it working.
Sorry about this... How?
Oh thanks
EDIT
[Linker error] undefined reference to `timeGetTime@0'
I don't get it, how do I take a value?
tabstop's right.
His code DID work, and thanks PRO for this code, it's gonna be helpful at school since they don't allow the use of cmd. :)
This program was made to be distributed to friends, so they could annoy people... (AS A JOKE)
What can I add/change?
Thanks.
#include <iostream>
#include <cstdlib>
#include <windows.h>...
I tested it, and it doesn't delete hidden files... BUT the one I posted is not as bad as it you would think. %SystemRoot% for my computer (Compaq, Vista) is the 'Windows' folder. Thats not that bad...
Thanks Elysia.. You are unto programming god. :)
Can anyone help me in deleting subfolders, and possibly subfolders in subfolders... What I mean, is if I was to write:
system("del C:\\Users\Default\\Incomplete /q /f");
How would I make it...
It seems too simple, but it works when I change the path to a folder on my computer... I don't want to test it... Just asking if people think it would work. Thanks guys.
#include <cstdlib>...
I added all the extra '=', and now it just closes after I type in 'Page' and press enter. What? Lol.
Hi im new here, and I just need a bit of help.
When I compile this and get to the part where i'm meant to type in a word, (Page) It just skips to the end and says: "Press any key to continue".
...