Jump to content

Infinite loop


dEEpEst
 Share

Recommended Posts

The endless creates a small matrix logo

 

 

[HIDE-THANKS]#include

#include

#include

 

 

#include

#include

#include

 

 

 

 

int zufall(int min, int max)

{

return min + rand()%(max-min+1);

}

 

 

int main()

{

int i=1;

int j=zufall(1337,9999);

int k=1;

int l=1;

 

 

SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 2);

 

 

 

 

cout

"Funktionen des Programmes\n"

"#for()\n"

"#while()\n"

"#if & else\n"

"#Color\n\n"

"Write 1 to start:";

 

cin>>k;

 

if (k==1)

{

 

 

while(i

{

for(i=1; i

{

cout

}

}

}

 

else

{

cout

}

 

 

 

 

cin.get();

cin.get();

}[/HIDE-THANKS]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

Chat Room

Chat Room

Chatroom Rules

No support in chat, open a thread.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

The popup will be closed in 15 seconds...