Wrox Programmer Forums
|
BOOK: Ivor Horton's Beginning Visual C++ 2013
This is the forum to discuss the Wrox book Ivor Horton's Beginning Visual C++ 2013 by Ivor Horton; ISBN: 978-1-118-84571-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Ivor Horton's Beginning Visual C++ 2013 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 14th, 2015, 03:04 PM
Registered User
 
Join Date: Jul 2015
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default I am a beginner for C++

I tied to run the hello world example. It ran but the consloe window closed quickly and I could not see anything. I did not get the line: press any key to continue. Also I tried to toggle break point at the return line, I get the error message " can not open pdb file.
Bottom line, I can not even run this simple first code. Using windows 8.0. Any helpful comments are appreciated
 
Old September 30th, 2015, 01:48 PM
Authorized User
 
Join Date: Jan 2012
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Try the following...

I would recommend placing the following statement just before the return 0 statement:

std::cin.get();

This would wait for the user(you) to press any key from keyboard in order to exit the application.

Which IDE you are using for these code samples?

Alexandros

Last edited by BlueTower; September 30th, 2015 at 01:51 PM..





Similar Threads
Thread Thread Starter Forum Replies Last Post
Not really for the beginner hatchera BOOK: Discovering SQL: A Hands-On Guide for Beginners 0 February 7th, 2012 05:50 PM
A beginner who needs need help Jamesbizprocom Beginning PHP 1 June 28th, 2007 11:02 PM
beginner ct ASP.NET 1.0 and 1.1 Professional 1 August 19th, 2005 12:05 AM
Beginner Tilak_1 C# 2 January 21st, 2005 11:19 PM
Need help - C++ beginner Satheesh C++ Programming 13 August 7th, 2004 09:18 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.