Sunday, July 26, 2009

How to convert text files to c files so that one can compile a program written in a wordpad in turbo c ???

HAI


I have written a cprogram in wordpad


with a file name with an extension .c


I opened this file in turbo c editor


the file opened


and i started compiling


but i got a large number of errors


for a small program to print a sentence.





If u know how to compile a cprogram written in wordpad document please tell me


Also tell me whether any software is required for the conversion of files

How to convert text files to c files so that one can compile a program written in a wordpad in turbo c ???
It's not about the file format, it's about the content.


you have some kind of syntax error most likely.


recheck your code carefully and fix the errors.


make sure your "includes" are there, correctly.


make sure your semi-colons are correct, etc, etc.


No comments:

Post a Comment