I recently installed Microsoft Visual Studio 2010 on my computer. I wrote a C++ program and I can't find any Build/Compile/Run options in Visual Studio 2010.
Please, any one can tell me how can I compile C++ programs in MS Visual Studio 2010.
>>Microsoft decided to hide that menu on you thinking that programmers are too dumb to know how to use it.
Microsoft has a thing for this. When I finally knew where all the buttons and menus were in office, they decided that is was time for a new look and randomized them all...
Now they did the same thing with VS. I mean, someone has tested the new VS right? You would think he would have noticed: "Hey! The build button has diappeared!". But no: the most used button OF THE ENTIRE PROGRAM was sacrificed to put in even more buttons to even more functions of VS that I'll never use.... *sigh*
@AncientDragon: Yeah you can, but that's not the problem here if I saw correctly.
@Op: You need to create a Solution and a Project for that file. You cannot compile individual files like you would in say gcc.
Goto File, Create new project, it will automatically create a solution for that project. Just make an empty console project. Once that's done, right click the project, then click Add Existing Item...
Go find your file, select it and click Add.
I noticed something now, maybe it's because the code file doesn't contain head file and subroutine, should I save them in the ''C:\Documents and Settings\Muted\My Documents\Visual Studio 2010\Projects''?
You can put your code anywhere you want. When you create a new project it asks for the project name and location. I don't like that long path so I always put my source code in c:\dvlp folder. Makes it very simple to find that way.
This project is out of date
I got that occasionally too -- just let it rebuild and you can then run the program.
Hi, as I was told that my code doesn’t scale well at all, I thought perhaps I’d try to get a better understanding of interfaces/abstract classes and classes and the relationship between them.
I don’t want at this stage work on a big separate project as I've already got plenty ...
I am writing a java program that needs to execute shell commands, so I wrote a function that would take the command to execute as a string (ie: "mkdir ~/Folder1") and execute that command with the shell. Here is the function:
Runtime run = Runtime.getRuntime();
Process pr = ...
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.