myCompiler
English
Deutsch
English
Español
Français
Italiano
日本語
한국어
Nederlands
Polski
Português
Recent
Login
Sign up
Deutsch
English
Español
Français
Italiano
日本語
한국어
Nederlands
Polski
Português
Recent
Login
Sign up
M
@mofe
print triangle
C
4 years ago
#include <stdio.h> int main() { int value = 18; int i = 1, j, k= 0; outerLoop: if (i < value) { j = i;
error_recovery
C
4 years ago
#include <stdio.h> #include <setjmp.h> jmp_buf buf; void error_recovery() { printf("detected an undrecoverable error\n"); longjmp(buf, 1); }
setjmp
C
4 years ago
#include <stdio.h> #include <setjmp.h> jmp_buf buf; int main() { int i = setjmp(buf); printf("i=%d\n", i); if(i!=0) return i;
scanf in my compiler
C
4 years ago
#include <stdio.h> int main(int argc, const char** argv) { int n; scanf("%d", &n); printf("d = %d\n", n); return 0; }
bit fields test
C
4 years ago
#include <stdio.h> #include <stdbool.h> //C99, defines bool, true, false /* line styles */ #define SOLID 0 #define DOTTED 1 #define DASHED 2 /* primary colors */ #define BLUE 0b100
test struct
C
4 years ago
#include <stdio.h> #include <stdlib.h> #define MAX_LENGTH 10 struct Arr { int length; int data[]; };
Previous
Next page