Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / April 2006

Tip: Looking for answers? Try searching our database.

deleted namespace?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
iwdu15 - 28 Apr 2006 20:55 GMT
hi, i used VS2003 for my C++ apps and i recently downloaded the 2005 Express
Edition of C++. I tried a simple console app to see what was different, and i
noticed they deleted the old "system" namespace. like how you could do
"system("pause");" and such...what happened to that?
Signature

-iwdu15

Tamas Demjen - 28 Apr 2006 22:54 GMT
> hi, i used VS2003 for my C++ apps and i recently downloaded the 2005 Express
> Edition of C++. I tried a simple console app to see what was different, and i
> noticed they deleted the old "system" namespace. like how you could do
> "system("pause");" and such...what happened to that?

The Express Edition was designed for .NET development, and system is a
native function. You have to download the Platform SDK from Microsoft if
you plan to do native C++ programming, and you still won't get all the
features that the full version of VS2005 has.

Take a look at System::Diagnostics::Process to see how to launch a
process using the .NET framework. That was designed to run an
executable, though, and you're trying to run a DOS command, for which
you have to launch cmd.exe.

If you just want to wait for a user keystroke, call
System::Console::ReadKey(). That will wait until the user presses a key,
and it's much better than system("pause").

Tom
iwdu15 - 29 Apr 2006 04:40 GMT
thanks for th explanation, finally makes sense now
Signature

-iwdu15


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.