Wrox Programmer Forums
|
BOOK: Ivor Horton's Beginning Visual C++ 2010
This is the forum to discuss the Wrox book Ivor Horton's Beginning Visual C++ 2010 by Ivor Horton; ISBN: 9780470500880
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Ivor Horton's Beginning Visual C++ 2010 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 January 28th, 2011, 08:49 AM
Registered User
 
Join Date: Jan 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to EHSANRAHIMI
Default "" and <> are same ?

hi thanks
forgive me i ask here
does there is a Difference between #include"isosream" and #include<iostream> there is no difference i use "" or <> in my all #includes?
example:#include<conio.h> #include"conio.h" ?
and there is no difference between cout <<120; and cout <<"120"; ?
if i want print \n not create new line how can i do that ? i mean print \n in monitor screen
what is difference between getch() and _getch() ?

Last edited by EHSANRAHIMI; January 28th, 2011 at 12:28 PM..
 
Old February 11th, 2011, 12:11 PM
Registered User
 
Join Date: Feb 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Post

Quote:
Originally Posted by EHSANRAHIMI View Post
does there is a Difference between #include"isosream" and #include<iostream> there is no difference i use "" or <> in my all #includes?
example:#include<conio.h> #include"conio.h" ?
That explained in chapter 2. Sorry, i'm cant give you page number because English and Russian version of this book have different numeration.
It something like if you want to use standart headers,use <>, because then compiler will search headers in folder which contain standart headers only.
If you want to use your own headers, then need to use "" because at first it will search in folder with source code,next in folder which standart headers. I'm prefer to use double quotes, because it work for sure.
Quote:
Originally Posted by EHSANRAHIMI View Post
if i want print \n not create new line how can i do that ? i mean print \n in monitor screen
How about to use std::cout<< "\\n SomeText";?
You receive on your screen something like this:\n SomeText





Similar Threads
Thread Thread Starter Forum Replies Last Post
<%@ MasterType virtualPath="~/EAD_EditGrid.master"%> not recognised MattHoff BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio 1 July 27th, 2010 10:21 AM
How to print "<megjegyzes></megjegyzes> " in my xml out put anarleti XSLT 5 April 23rd, 2010 10:58 AM
<deployment retail="true"> clarification jsymons BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 October 1st, 2009 02:48 PM
Add a CheckBox DataColumn to my DataGridView, Null format: "" or "True" but Error: F ismailc C# 2005 0 September 25th, 2009 04:56 AM
<authentication mode="Forms"/> msman88 ASP.NET 3.5 Professionals 10 August 30th, 2009 08:57 AM





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