Groups | Blog | Home
all groups > visual c > september 2003 >

visual c : Runing Program


Gabriel Hernandez
9/29/2003 3:42:43 PM
Well I am just getting started with C++ and I am having a
problem. I created a very simple program and when I try to
compile it I receive this message

Cannot compile the file 'C:\Program Files\Microsoft Visual
Studio\MyProjects\Gabriel\Text1.txt'; no compile tool is
associated with the file extension.
Any help will be greatly appreciated

Robert A Riedel
9/30/2003 8:56:36 AM
When using the compiler, your file extension should be either '.C' or
'.CPP'. It appears that you are attempting to compile a text file. Change
your file type.

[quoted text, click to view]

lallous
9/30/2003 3:42:32 PM
Hello Gabriel,

You'd better create a new project and save its source files w/ .CPP
extension.
Your current problem is that you're trying to perform an action on .txt file
which won't be handled w/ the compiler (it expects cpp extension).

--
Elias
http://lgwm.org/
[quoted text, click to view]

AddThis Social Bookmark Button