| | |
Would this do damage to my computer?
Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved |
Would this do any damage if I left it running for a while:
c++ Syntax (Toggle Plain Text)
int main(){ while(1) new char[0]; }
...
It seems like you are trying to make a code to send somebody a
harmful .exe.
Therefore I will not tell you.
If i am wrong then say so, trusting you not to lie.
harmful .exe.
Therefore I will not tell you.
If i am wrong then say so, trusting you not to lie.
Last edited by firstPerson; Oct 3rd, 2009 at 11:58 am.
I give up! 1) What word becomes shorter if you add a letter to it? [ Solved by : niek_e ] 2) What does this sequence equal to : (.5u - .5a)(.5u-.5b)(.5u-.5c) ... 3) What is the 123456789 prime numer? Ask4Answer
•
•
Join Date: Mar 2008
Posts: 1,419
Reputation:
Solved Threads: 115
Damage? I doubt it. The physical memory would quickly run out, and then your pc would automatically free all the memory you allocated when you restart the pc or somehow close it.
Last edited by William Hemsworth; Oct 3rd, 2009 at 12:25 pm.
I need pageviews! most fun profile ever :)
•
•
Join Date: Mar 2008
Posts: 1,419
Reputation:
Solved Threads: 115
If you're curious, test it on your own computer 
I just did, and it did exactly what I said it would.

I just did, and it did exactly what I said it would.
I need pageviews! most fun profile ever :)
I give up! 1) What word becomes shorter if you add a letter to it? [ Solved by : niek_e ] 2) What does this sequence equal to : (.5u - .5a)(.5u-.5b)(.5u-.5c) ... 3) What is the 123456789 prime numer? Ask4Answer
![]() |
Similar Threads
- Computer running *very* slowly. Logs posted... (Viruses, Spyware and other Nasties)
- newly built computer, bsod when installing windows (Troubleshooting Dead Machines)
- My computer does't show cdrw(e) drive under my computer (Windows NT / 2000 / XP)
- My Computer Won't Boot (Windows NT / 2000 / XP)
- Help! Viruses causing many problems on my computer! (Viruses, Spyware and other Nasties)
- build it urself damage (Motherboards, CPUs and RAM)
- An error occur while formatting computer (Windows NT / 2000 / XP)
- Strange problem, computer has power, but won't turn on. (Troubleshooting Dead Machines)
- Computer keeps restarting! (Viruses, Spyware and other Nasties)
- Computer problems. Blue screen pop up error (Windows NT / 2000 / XP)
Other Threads in the C++ Forum
- Previous Thread: assigning inputs to string arrays error
- Next Thread: How to find the product of two matrix?
| Thread Tools | Search this Thread |
api array arrays based beginner binary bitmap c++ c/c++ calculator char char* class code coding compile compiler console conversion count data database delete deploy developer dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game getline givemetehcodez graph gui homeworkhelp homeworkhelper iamthwee ifstream input int java lib linker list loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference rpg sorting string strings temperature template test text text-file tree url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






