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 > 2 1625
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
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.
"Anurat Chapanond" <ac******@nycap .rr.com> wrote in message
news:FO******** ***********@twi ster.nyroc.rr.c om... 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 >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Martin Bless |
last post by:
I need to access a MSSQL database (MS-Sql, not MySQL!)and would very
much like to use mssql-0.09.tar.gz which is available from
http://www.object-craft.com.au/projects/mssql/download.html
Unfortunately the binary for Python-2.4 isn't available yet and I'd
hate to step back to a previous version.
I'm glad I managed to set up my XP machine to being able to compile
extensions using the VC++ toolkit which freely availbale from MS. See
|
by: modemer |
last post by:
Hello,
I got weird compiling message similar like following when I compiled my
simple code on Sun 5.8 with CC WorkShop 6 update 2 C++ 5.3.
CC -g -o myclass.o -c myclass.cpp
CC -g -o main.o -c main.cpp
CC -g -L/usr/lib -lsocket -lnsl -o main myclass.o main.o
__1cH__rwstdJ__rb_tree4CpknJmyclassHCSOCKET_nDstdEpair4Ck4n0BNCSOCKEVENTMGRJ
SOCKEVENT___n0AL__select1st4n0G_C4__n0DEless4C4__n0DJallocator4n0G____Efind6
|
by: David W. Fenton |
last post by:
Today I was working on a hideous old app that I created a long time
ago that does a lot of showing/hiding/resizing of fields on one of
the forms. I had used constants to store reference values for many
of the top/height/left settings. I noticed that some of the
constants were defined by using other constant values, and I was
impressed that VBA could do that. Here's an example:
Const row1Top = 1.0208 * 1440 ' top of first row
Const...
|
by: Aaron Queenan |
last post by:
When I build a C++ library to .NET using the managed C++ compiler, I get the
following error message:
Linking...
LINK : error LNK2020: unresolved token (0A000005) _CrtDbgReport
LINK : error LNK2020: unresolved token (0A000007) memset
LINK : error LNK2020: unresolved token (0A000008) free
LINK : error LNK2020: unresolved token (0A00000A) atexit
LINK : error LNK2020: unresolved token (0A000028) wcscpy
LINK : error LNK2020: unresolved...
|
by: Rudy Ray Moore |
last post by:
Hi guys,
I just upgraded to "Visual Studio .net 2003 7.1 c++" from VS6.
Some things I like (proper for loop variable scoping, for example), but some
other things are troubling me.
One annoying behavior is that the text editor often "hangs" (doesn't let me
type) while compiling. Is there a way to fix this so it behaves more like
VS6 (editor does not hang while compiling)?
| |
by: Jim Heavey |
last post by:
Hello, trying to round out my knowlege here about compiling. To date I
have used VS.Net to do all my compiling "majically", but I want to
understand how to do it on my own, should the need ever arrise.
It has been suggested to me that I should use the following pattern when
compiling my programs, but I am not sure I understand the "pattern",
Try creating a text file along the following lines where the /r are the
dlls
you are...
|
by: Christina N |
last post by:
When compiling my ASP.Net application, VS puts the new DLL under the local
cached directory 'VSWebCache' in stead of on the server. How can I make it
save the DLL file on the server when compiling?
I have opened the source code project through 'File - Open - Open project
from web..'
Best regards,
Christina
|
by: Justin Naidl |
last post by:
A group of friends and I are doing a RPG (role-playing game) maker for a
school project. It occured to us, however, that if you want the user to be
able to have almost complete control over the contents of his/her game, that
you would end up with a tiny executable and a huge datafile. We wanted to
keep clear of this as disk accesses take a lot of time to do and there would
be a huge load of them to do this part. We could very easily...
|
by: WebSnozz |
last post by:
I have an application written in C that does a lot of low level stuff.
It does a lot of things like casting from void*'s. I want to create a
new GUI for it in either C# or MC++, but reuse the existing code.
The options I've considered so far:
1. Create a new MC++ GUI project and add the *.c files to them and mark
them with pragma unamanged. However, the /clr option does not compile
*.c files, so I rename them to *.cpp, and now they...
|
by: =?Utf-8?B?amVmZmVyeQ==?= |
last post by:
i need help compiling code dynamically it may involve some reflection so if
any one is any good in that field or compiling code this would be a great
time to show me what you know. by the way my last weird but serious combo box
error i solved my self it was just a simple recompile and some simple code
changes and it worked.
i will put a link to the code for compiling dynamially here: <a href =...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |