Thursday, December 4, 2014

cs pre sep3

Everything in Chap 3

' ' 1 byte

1st lab is chap 4


" " two bytes as this is a string and the last char is a null.

"hello" 6 bytes

program defined type  --- > string


C++ keywords
. 1st quiz ?

2nd edition of the book.. talks about C++ 11.

understand the meaning of the list given here for the quiz : http://en.cppreference.com/w/cpp/keyword

Chap 4: Vector..

safe conversions : int 4 bytes, double 8 bytes

the bottleneck in architecture discussion ??



tc@box: Cd Chapter03

editor chapter.3.9.2.cpp
istream

cin >> d >> e chaining..

non-zero is true but zero is false

while(cin>>d)

if returns anything other than zero than true.


char b2{48} narrowing notation. to make sure narrowing erros don't happen. prevents narrowing conversions.

universal and uniform initialization

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home