|
look for a file with .sln (solution) extension or a file .vcproj (project) extension.
A Solution may contain a number of projects but a project file contains only one project. Usually there are one project per solution though.
good luck
|
|
|
|
|
hello , i dont understand what u have said.plz i am new in visual studio c++ 2005.i want to open project and add a cpp file to write c++ MFC code.now how can i open MFC project and .cpp file to write my MFC code in visual studio c++ 2005.tell me plz detail such as menu->project->--------like this.
thanks in advance.........
|
|
|
|
|
Does your copy of VS 2005 include documentation?
modified on Wednesday, July 22, 2009 5:17 AM
|
|
|
|
|
i will not read myself i will have u my minions read to me
|
|
|
|
|
There's this new thing available on the internet called google. You can enter search terms and get thousands of possible results, and it only takes about 15 seconds. that's what I did, and I came up with information DIRECTLY from Microsoft.
http://msdn.microsoft.com/en-us/library/ms235422%28VS.80%29.aspx[^]
If you don't have the mental chops necessary to perform *essential* research, maybe programming isn't your best choice of vocations.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
now John, I believe there are new rules about not being so condecending to people lacking in mental chops
Pete
|
|
|
|
|
goutom roy wrote: how can i open MFC project in vs c++
File -> Open -> Project/Solution (Ctrl + Shift + O)
Here I assume you can navigate to the appropriate directory and select either the .sln (Solution File) or the .vcproj (Project File)
goutom roy wrote: compile and run
To compile and run the project you have just opened: Shift + F5 OR Debug -> Start Without Debugging
To compile and run in Debug mode: press F5 OR Debug -> Start Debugging
And To view and work on the window (such as add buttons, sample text boxes, and other control objects) Go to the Resource Tab and look under the Dialog Sub menu.
And as everyone else above has mentioned: GOOD LUCK
|
|
|
|
|
If you have an existing MFC project you want to compile and run, select File, Open, and then Project/Solution. Visual Studio uses solution files (with the extension .sln) and project files (with the extension .vcproj). Navigate to the folder that contains your MFC project. Choose the .sln file it it exists, and the .vcproj file otherwise.
If you want to create an initial project to experiment with, select File, New, Project. In the dialog that opens, choose Visual C++ and then MFC in the tree on the left. In the list on the right, select MFC Application. At the bottom of the dialog, choose a location and a name for your project. You will then see a wizard for choosing the basic features for the application you want to create.
|
|
|
|
|
i have implemented the dfs algo in c++ using recursion but i wish to find all routes from source to destination. any good article or guidelines will helpful..i wish to do it using a link list if possible..!!!
|
|
|
|
|
This entry from wikipedia will probably help you - Depth-first search[^]
It has a python implementation with and without recursion.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
Ok so i was testing my chat system by outputting some random messages which i had typed into the code, and i came across this very strange occurance..
I recreated the error with an extremely small command prompt program:-
#include <iostream>
using namespace std;
void main()
{
printf("\n");
printf("!!!!\n");
printf("????\n");
printf("??!\n\n");
printf("Why is this:- |\n\n");
printf("Also here -> ??! <-\n");
printf("\n");
getchar();
}
I swear to god this is not a wind up, it took me ages to find out why a | was appearing where i had typed "??!". Can someone please compile this program and tell me if you get the same thing happening. Im using Visual Studio 2008
Thanks,
Leigh
|
|
|
|
|
swifty666_2000 wrote: I swear to god this is not a wind up, it took me ages to find out why a | was appearing where i had typed "??!".
Search for trigraph.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Oh wow. I've never heard of that before ).
What are they for though? Or is it just some legacy thing?
Thanks very much!
|
|
|
|
|
swifty666_2000 wrote: What are they for though?
Trigraphs, sequences of three characters (introduced by two consecutive question marks), allow C programs to be written using only the ISO Invariant Code Set. You can use them in C source files with a character set that does not contain convenient graphic representations for some punctuation characters.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
|
I've got a problem with sinhronisation of a function which is called from several threads. The function do no use static variables. And there is no connection variables between threads. In debuger the aplication crashes on new or delete operators inside the function. In internet I've read that these operators are already synhronized. Please help me to find solution of the problem.
|
|
|
|
|
Are you using a multi-threaded variant of the C runtime?
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
I am not realy know what you mean with "multi-threaded variant of the C runtime"? If this is project settings in VC6.0 on page "Code generation", I have for "Use run-time library" defined "Debug Multithreaded DLL" and "Multithreaded DLL" for realize. If I am wrong please tell me in detail what did you mean.
|
|
|
|
|
That's what I meant - so it's obviously not that that's your problem...
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
I found the problem, there was "static" variables inside functions.
|
|
|
|
|
Hi,
I have built 2 MSI with same configuration. Just rebuilded. When I am comparing those 2 MSIs using MSIPackageDiff, I am getting some of the error in Binary Table.
Can someone explain me what are these changes?
Thanks & Regards,
Swapnil D. Lokhande
|
|
|
|
|
Can someone please direct me to a source of information on how to trace / debug standard MFC commands. For example File.. Save.. I am using "MFC Internals" for a guide but cannot see how to debug the command message flow.
Thanks for reading
Cheers Vaclav
Update
I have overridden OnCommand in main and MDI frame and can trace the command flow from the main menu to the MDI OnCommand. Now how do I get / step into base class? F11 does not respond.
modified on Tuesday, July 21, 2009 4:07 PM
|
|
|
|
|
|
Thanks Mike,
The article does confirm what I got from the book. What I am still missing is how to get to the base class using debug steps.
I must be missing some options in my VC 6.0 because F11 just does not do anything visible and the program is stuck in last debug point. I will try just source code of the MFC base class next.
Vaclav
|
|
|
|
|
Up to a point, I think at the Win32 level, there is no more visible "code" to step into.
This signature was proudly tested on animals.
|
|
|
|