new to html, need help, whats wrong with this basic program, please?

Robert M

New member
/*Comment Line!!*/
#include <stdio.h>
main ()
{
clrscr();
printf("Name\n");
printf("Address\n");
getch();
}

I try to write this in notepad, then save, it does nothing, can anyone help show me what I am doing wrong, thanks for your help
 
This appears to be C++ and not HTML. If you want to run a C++ program you will need to download a C++ compiler and compile your code into an executable.
 
Back
Top