I'm trying to learn C++ and when I compile
in Dev-C++ it just flashes for a second, the book im reading says press alt f5, but this is for C and is pretty old and uses the DOS operating system, anyone know what to do? I made a better script before but closed it because it would work
EDIT: figured it out
add this to the header
then add this
to the bottom just above the } tag
PHP:
#include <stdio.h>
int main()
{
printf("Lol its line one!\n");
printf("Line 2\n");
printf("LINE THREE WTFHAX;\n");
}
EDIT: figured it out
add this to the header
HTML:
#include <stdlib.h>
then add this
PHP:
system("pause");
Last edited:







