Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
C++
#include<stdio.h>
#include<conio.h>

int main();
{
	
	prinf("welcome to c programing");
	printf("This is my first c program");
	getch();

}
Posted
Updated 1-Sep-15 20:29pm
v3
Comments
Maciej Los 2-Sep-15 2:30am    
What's error message? What line?
Patrice T 2-Sep-15 2:34am    
Ask nicely to your compiler and it will certainly tell you where the t is missing.
barneyman 2-Sep-15 2:41am    
good eyes!
Patrice T 2-Sep-15 2:43am    
:-)

In addition to correct Solution 1: you also misspell "printf" in the line with "prinf".
—SA
 
Share this answer
 
There is a semicolon behind "int main()"
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 2-Sep-15 4:16am    
5ed, see also Solution 2, for one more.
—SA
Manoj Kumar Choubey 2-Sep-15 4:25am    
+5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900