Question:
how do i compile n run a c++ program on microsoft visual studio?
abhay k
2008-02-14 09:23:07 UTC
how do i type compile n run a c++ program on microsoft visual studio?
Four answers:
LainKSC
2008-02-14 09:53:34 UTC
Press CTRL+F5 to compile it, then F7 to run it =]
anonymous
2008-02-14 09:31:19 UTC
You have to create a project. Then write your code and use the menu bar to compile /debug /run.

NOTE: if you already have your code you might have many problems to compile - There are lots of incompatibilities among different c++ compilers. If you need more help please tell us more details, like if your program is console based or a windows project, if you are using MFC or you are porting from another API...
beta010
2008-02-14 09:29:21 UTC
F7
anonymous
2016-10-19 02:56:47 UTC
To get this to construct I corrected cout << "---------------------------------------... << endl; to cout << "--------------------------------------" << endl; that should purely have been Yahoo! solutions messing inclusive of your formatting (and can have occurred back once I press submit). I additionally replaced: char characters[d3d944682a44259755d38e6d163e820d3d944682a44259755d38e6d163e820] = phoneChar.ToCharArray(); which i won't have the ability to think of is robust everywhere, for const char* characters = phoneChar.c_str(); That gets it to construct and run, besides the certainty that i'm unsure the output is amazingly what you opt for.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Continue reading on narkive:
Loading...