Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 28th, 2011, 08:49 AM
Registered User
 
Join Date: Jan 2011
Location: iran tehran
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..
  #2 (permalink)  
Old February 11th, 2011, 12:11 PM
Registered User
 
Join Date: Feb 2011
Location: Russia
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
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 12:12 PM.


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