Quote:
Originally Posted by EHSANRAHIMI
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
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