User:PrySigneToFry/Sandbox/Some useless code
Jump to navigation
Jump to search
C/C++
Wouldn't it be better to just comment it out?
while(false) { // TODO }
if(false) { // TODO }
It'll definitely execute
#include<iostream> --snip-- if(1 == 1) { if(2 == 2) { if(3 != 4) { std::cout << "Hello, world!"; } } }
Start is end
int main() { return 0; }
#include<bits/stdc++.h> int main() { std::exit(0x00000000); }
Your code runs as if it were running
#include<bits/stdc++.h> #include<windows.h> using namespace std; int main() { cout << "Hello, world!"; Sleep(0); return 0; }
#include<bits/stdc++.h> #include<windows.h> using namespace std; int main() { cout << "Hello, world!"; for(int i = 0; i <= 0; i++) { // TODO } return 0; }
int n = 0; n += 0;
int n; n = n;
Python
Wouldn't it be better to just comment it out?
while False: # TODO
if 1 == 10: # TODO
It'll definitely execute
if 1 == 1: if 2 == 2: if 3 != 4: print("Hello, world!")
Your code runs as if it were running
import sys exec(sys.argV[0])
for i in range(1, 1, 1): print(i)
Scratch
Gibberish for calculating for 0.033 seconds
Wait for 0 seconds
Facing to the current_direction direction
Set the position to (current_x_coord, current_y_coord)
Move 0 steps
When started as a clone: Delete this clone
When "Start" is clicked: Stop all scripts
To end(void): Stop all scripts OK When "Start" is clicked: end