compiling on vc.net

A

Anurat Chapanond

Hi All,
I am a beginner for VC++ .NET but I used VC++ 6.0 before. I wonder where
the "run program" button has gone. Do we need to run it on command line
everytime? Also when I try to run a program on command prompt I got the
"cannot open include file error". How can I set the path to those include
files?

Thank you,
Anurat,

D:\Ake\4250\hw4>cl main.cpp LRUList.cpp
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.00.9466 for 80x86
Copyright (C) Microsoft Corporation 1984-2001. All rights reserved.

main.cpp
d:\Ake\4250\hw4\LRUList.h(1) : fatal error C1083: Cannot open include file:
'std
io.h': No such file or directory
LRUList.cpp
d:\Ake\4250\hw4\LRUList.h(1) : fatal error C1083: Cannot open include file:
'std
io.h': No such file or directory
Generating Code...

D:\Ake\4250\hw4>
 
G

Guest

It should still be there, it's there in my .NET 2002 IDE. If it's not, it's likely your toolbars have got messed up - can you restore defaults? (not sure whether this is an option...
In the meantime, try just using F
 
J

Jianwei Sun

I believe
1) F5 is always easier than the "Run button", don't you think so??

2)
under C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin, there is a
tool
called vcvars32.bat, and you run it firstly on your command line, and it
will setup the
environment variables for you.

J.W.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top