Computer problems,Computer help
*AX SOFT>>>Programming & Design

How to run my newly created program in Visual C++?


I am attempting to learn how to use C++. i made my first program and like the book said i compiled it, but then the book says to run it to make my message appear, but i cant figure out how to run it?

and there is no run button at the top that i can find at least

to compile or build: select Build and then Build Solution will compile

once it has been built you can run your program from the Debug menu by selecting Start Without Debugging

--------
EDIT:

printf("This C stuff is easy!\n";
doesn't have ) at the end before ;

u must close the parentheses

--------
EDIT:

If u read the error, it explains what error u have.

u need to practice a lot. don't worry about ur first programs u make.

--------
EDIT:

to see where the error is, double click on the error message

like in this image
http://www.riverblade.co.uk/products/vis...

if u double click on the highlighted (blue colored) error message, u would see the place of error

the error message might not be always helpful but u would get some hints.

After build, CTRL + F5.

/*Prints a message on the screen*/

#include <stdio.h>

using namespace std;

void main()
{
cout<<"This C stuff is easy!\n";
return 0;
}

Tags
  General - Computers & Internet   Software   Security   Programming & Design   Facebook   Flickr   Google   MSN   MySpace
Related information
  • ASP ==>grid views?

    Yes, you can. The DataSource property in .Net 2.0 and up can accept anything with an IEnumerable interface, and it will use your public properties to auto-populate columns. E.g. List<MyBusi...

  • PLEASE HELP me start writing this PROGRAM in JAVA?

    Damn that's a large program. Might I ask what it's for? So, unless you are familiar with event listeners and things that respond to user input using the keyboard, I recommend you plac...

  • Help with a very simple C# code.?

    Bashar Y was almost there :) but it's a little different. In C# it would be: textbox1.Text = this.Width.ToString(); or Height of course, like he said. Make sure you don't forget T...

  • BlueJ (java) help! due today!?

    System.out.println("Does not look easy, may be you can contact a java expert live at website like ...

  • I hate movie maker...?

    Press cntrl-alt-delete and go to task manager.... close everything. Then, open the file. if this does not work, u saved it on a corrupt file or something.

    ...
  • Help with C++ please! my program is not working why? please help me! To start with, i get alot errors...?

    I can't quite understand your assignment. It sounds to me like what you are supposed to do is collect the number of registrants for an unknown number of companies, calculate each company&#...

  • I'd like to add to my tech related blog. What articles and tutorials etc would you like me to write about?

    Isn't it great how no one bothers writing a serious answer? I thought it was a good question actually. Maybe our blogs could complement each other? Cross linking, commenting on each other'...

  • I want a topsite script for my website. I was wondering if anybody could recommend a good free one?

    Hi there, Aardvark has a nice free topsites script, however I don't about integrating it into your wordpress theme. It does have fully customizable skins so I would think it wouldn't b...

  •  

    Categories--Copyright/IP Policy--Contact Webmaster