online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
/****************************************************************************** Welcome to GDB Online. GDB online is an online compiler and debugger tool for C, C++, Python, PHP, Ruby, C#, OCaml, VB, Perl, Swift, Prolog, Javascript, Pascal, HTML, CSS, JS Code, Compile, Run and Debug online from anywhere in world. *******************************************************************************/ #include<stdio.h> #include<math.h> void check_traingle(int side) { int a, b, c; printf("请输入三角形的三边长:"); scanf("%d,%d,%d", &a, &b, &c); if (a + b <= c) printf("不能构成三角形"); else if (a + b > c)//a*a + b*b - c*c=0? printf("Triangle is valid"); else if (a + c > b) printf("Triangle is valid"); else if (b + c > a) printf("Triangle is valid"); printf("\n"); return; }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue