#include <iostream>
#include<conio.h>
usingnamespace std;
int main()
{
int x;
int counter;
counter=0;
for (x=1; x<=100; x++) {
cout<< x<<"\n";
counter++;
if (counter==25){
cout<< "\n";
counter=0;}//your mistake is after if u didn't use '{'
}
getch();
}
while(true); is. It'll burn every little bit of CPU time it can get.
However, when the program is waiting for input as it does when using ignore(), it doesn't require any CPU time.
...which should be pretty obvious. If you think Framework called you a rapist, you're in serious need of a therapy.
Edit: or don't you know what a clock cycle is? Then see here: http://en.wikipedia.org/wiki/Clock_rate
Actually Athar the cynicism in your post is directly what I'm referring too (therapy etc.) There is no need to be cynical on the internet the internet does not mandate it. You can be unique on the internet by being kind, bnot by being mean or some variation thereof. :)
You can act however you feel is right, but don't assume everyone has to act or think like you do.
No one was harassing you, so your comment was equally unnecessary.