473,804 Members | 3,705 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

A very stupid question. Visual C++ 2005.

IS
At the recommendation of several people in this newsgroup I have downloaded
two or three Compilers. One is the Beta version of Microsoft's Visual C++
2005.
I have entered a complete beginner code that looks like this:

#include <iostream>

using namespace std: //introduces namespace std

int main( void )

{

cout << "This is a test" ;

return 0:

}

My question is this: In Microsoft Visual C++ How do I compile and execute
something like the above code?
I told you this would be a stupid question. . . ha ha ha. I don't see
anything that says "compile" or "run" in any of the menus. How do you do it?

One more thing: In File>New>Projec t, what do you select in the left window
and then the right hand window if all you want to do is some beginner stuff
like what I have above?

Thanks a lot for your help so far.

IS.
Jul 22 '05 #1
4 1451

"IS" <y@y.com> wrote in message:
I don't see
anything that says "compile" or "run" in any of the menus. How do you do it?


This is the wrong group for such a question. But since it's so stupid ...er ...
I mean simple, I will answer. You typically compile by selecting 'build' from
the build menu. To run from the IDE, you use 'run without debugging' from the
debug menu.You can also arrange your favorite commands as buttons on the
toolbars.

In the future, post to microsoft.publi c.vsnet.ide

Jonathan


Jul 22 '05 #2
IS wrote:
At the recommendation of several people in this newsgroup I have downloaded
two or three Compilers. One is the Beta version of Microsoft's Visual C++
2005.
I have entered a complete beginner code that looks like this:

#include <iostream>

using namespace std: //introduces namespace std

int main( void )

{

cout << "This is a test" ;

return 0:

}

My question is this: In Microsoft Visual C++ How do I compile and execute
something like the above code?
I told you this would be a stupid question. . . ha ha ha. I don't see
anything that says "compile" or "run" in any of the menus. How do you do it?

One more thing: In File>New>Projec t, what do you select in the left window
and then the right hand window if all you want to do is some beginner stuff
like what I have above?

Thanks a lot for your help so far.


The better for this is to run the "Visual Studio Command Prompt", switch
to the folder of your .cpp file and run
cl /clr whatever.cpp
Another way is to use Project::Build menu.


--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 22 '05 #3
> return 0:

return 0;
a SEMI-colon, not a colon.
-JKop
Jul 22 '05 #4

"JKop" <NU**@NULL.NULL > wrote in message
news:Px******** **********@news .indigo.ie...
return 0:


return 0;
a SEMI-colon, not a colon.


Yes, but in this case he could not have posted compiled code :-)
Jul 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1237
by: Smoothcoder | last post by:
Hi, there, smart guys! I have an AMD 64 3000+ based system, with Windows XP Professional on it; I recently installed Visual Studio 2003 Enterprise Architect; I created a new C# ASP.NET Web Application project (with only the default blank page) and immediately tried to start the project - it does not work, showing me the following stupid error: Server Error in '/WebApplication1' Application...
3
864
by: Bob | last post by:
If I install Visual Studio 2005 on same machine as VS 2003, will I still be able to use Vs2003 exactly as before or will the 2005 install do an upgrade to my 2003 install? Bob
1
1243
by: antjudy01 | last post by:
Hi, I was thinking about joining the MSFT Empower program which includes "5 licenses to Visual Studio 2005 Professional Edition". My question is how do I get the media to actually install the Visual Studo product? The Empower program comes with all sorts of licenses to different products, but I don't understand how I get the media to actually install the programs...
3
3044
by: Learner | last post by:
Hi there, I have one another question on VSS 2005 and VS 2003. We had few projects built in VS 2003 and we had all of those projects under the VSS 6.0 until now. But as part of our development environment up gradation our idea is slowly move few projects from VSS 6.0 to VSS 2005. As a test we did move an ASP.NET project that was built in VS 2003 project (no solution file) from VSS 6.0 to VSS 2005 and the move was successfully (not...
4
1053
by: ljh | last post by:
OK.....I'm new to this whole Visual Studio .Net 2005 thing (and .Net in general). I have installed Visual Studio Pro 2005 and thought that a version of SQL Server 2005 came with it (developer edition?). But, when I try and attach to the local master SQL Server (using the VS 2005 IDE tools), I don't find SQL Server or any databases at all. I can't find any SQL Server interface that would allow me to create databases either - but there...
3
1393
by: barry | last post by:
I had Visual Web Developer Express 2005 and Visual Studio 2005 installed on my computer. Realizing that I did not need Visual Web Developer Express 2005 since I had VS 2005 I removed it. My question could this be a possible reason that the ASP.NET configuration tool is not working in VS 2005 when I am doing web development? What happens is upon execution it just brings me back into the same VS design page from where I executed.
6
1531
by: Malvolio | last post by:
I know this is a *really* stupid question but what the hell is visual c++? I downloaded it and it doesn't seem to work. It isn't like any c++ compiler I ever saw before and the manual on the Microsoft website did not improve my comprehension of it at all. How do you compile your source code with this thing? Is it a compiler at all? Am I crazy? I know it would probably take too much time to answer my dumb questions here but if you can...
2
1116
by: tele | last post by:
Hi. I understand Microsoft has VB 2005 Express available for download. I want to know if there is a standard version of Visual Basic 2005? If it's in the Visual Studio studio suite, then which one? I'm just confused with the Visual Studio and .NET lingo. I just want to know where the latest Visual Basic programming languages are. Thanks.
9
6507
by: AWW | last post by:
Running XP - Visual Studio 2005 - VB Want to have duplicate projects - one safe and stable - other for experimenting Can't fine easy way to make duplicate project. Stupid question? or stupid ME? Thanks.
0
9576
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,...
0
10323
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10311
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,...
0
10074
tracyyun
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...
0
9138
agi2029
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...
1
7613
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4292
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2988
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.