Skip to content

Instantly share code, notes, and snippets.

@nottux
Created March 4, 2019 13:20
Show Gist options
  • Save nottux/9cee9d58d41c720db7fd11c513470165 to your computer and use it in GitHub Desktop.
Save nottux/9cee9d58d41c720db7fd11c513470165 to your computer and use it in GitHub Desktop.
visual studio 2010 sucks
#include<stdio.h>
#include<stdlib.h>
//usual stuff
int main(){
int age;
int x;
int y;
scanf("%d", &age);
printf("i freaaking hate microsoft winblows \n");
printf("hop and O");
system("pause");
system("echo enter age");
scanf("%d", &age);
printf("your damn age is %d \n", age);
printf("your damn age is %d", age);
system("echo bla");
system("pause");
system("echo ok");
printf("/n");
printf("enter two nubers /n");
scanf("%d%d", &x,&y);
printf("%d + %d=%d \n"),x+y);
system("pause");
return 0;
}
@nottux
Copy link
Author

nottux commented Mar 4, 2019

#include<stdio.h>
#include<stdlib.h>
//usual stuff
int main(){
	int age;
	int x;
	int y;
	printf("i freaaking hate microsoft winblows \n");
	printf("hop and O");
	system("read -n1 -r -p 'Press any key to continue...' key");
	system("echo enter age");
	scanf("%d", &age);
	printf("your damn age is %d \n", age);
	printf("your damn age is %d", age);
	system("echo bla");
	system("read -n1 -r -p 'Press any key to continue...' key");
	system("echo ok");
	printf("\n");
	printf("enter two nubers \n");
	scanf("%d%d", &x,&y);
	printf("%d+%d=%d\n",x,y,x+y);
	system("read -n1 -r -p 'Press any key to continue...' key");
	return 0;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment