Compile and Run The C Program
Compile and Run The C Program
C PROGRAM
HEBA KHOJAH
compile your code by (Build Solution) :
If you have some syntax errors it will be displayed as shown below:
HEBA KHOJAH
Some errors are run time error – which means that it will be displayed when you run your
program even if the compiler is succeed without compilation errors. as shown below:
So you have to
detect the
errors and
corrected
HEBA KHOJAH
#define _CRT_SECURE_NO_WARNINGS
If you face this kind of error just add this statement #define _CRT_SECURE_NO_WARNINGS
before #include <stdio.h>
HEBA KHOJAH
Be sure the compile successes in compilation
with “0 failed” ( no errors )
Now your code ready to run.
HEBA KHOJAH