Is there a way to debug a single file in Visual Studio .NET? I'm still noob with C ++, but I want to start learning how to enjoy the debugger, and at the moment I'm writing very small files.
It seems that there is only one source file, it will not allow me to debug, but at the moment when I add another, I can. I am using VS.net 2008.
He does not want another source file, he needs a project file.
Visual Studio , , . , , boost, - .
boost
: File->New->Project... win32. Application Settings " " "".
File->New->Project...
Application Settings
, / , ; , .sln, .cpp F5.
.sln
.cpp
, cpp, ? cpp, , ?
cpp,
int main() { }
( argv/argc args, ).
, , . Bloodshed Dev++ ++. Visual Studio.
Visaul ++ VS.net 2008 cpp, .
, cpp, , VS.Net 2008 .
:
, , , , , - , dll . exe, .
, , ( ) Debug.
, . , . , File- > New.
, , , - . ++- (blah.cpp):
int main () { for (int i = 0; i < 100; i++) printf ("Hello World ... etc \n"); }
( cmd.exe):
vcvars32
(Zi , blah.pdp ):
cl /Zi blah.cpp
blah.exe, . blah.exe, VS2008 blah.exe . blah.cpp IDE (F5), (F9) (F10, F11).
Source: https://habr.com/ru/post/1706968/More articles:ASP.NET C #: which design pattern should I use and why? - c #Authenticating Maven Server as Profile Properties - authenticationTinyMCE: using CSS class attributes with format-dropdown formats - javascriptHow to find out the size of callbacks in ASP.NET AJAX? - asp.net-ajaxSplit algorithm - time complexity - time-complexitySqlServer ASP.NET Session Replication - sql-serverHow to collect logs in jboss related to a single request? - javaRegex - Matching Exactly One Tag - htmlItemsSource in WPF simplified in C # programmatically - c #Проект XNA - кто отвечает за рисование? - xnaAll Articles