online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
// SITUVNgcd #include <stdio.h> int main(){ FILE *f1, *f2, *f3; f1 = fopen("F1", "r"); // 12 34 f2 = fopen("F2", "r"); // 12 f3 = fopen("F3", "r"); // a1 b2 int a, b; printf("F1: %d\n", fscanf(f1, "%d%d", &a, &b)); // Đọc đủ cả 2 printf("F2: %d\n", fscanf(f2, "%d%d", &a, &b)); // Chỉ đọc được 1 printf("F3: %d\n", fscanf(f3, "%d%d", &a, &b)); // Không đọc được số nào vì sai định dạnh số return 0; }
12 34
12
a1 b2

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