Iostream,iostrstream
Virtual constructor,
Template,STL,
Pointer,reference.
C++ key words:
asm, auto, bool, break, case, catch, char, class, const, const_cast, continue, default, delete, do, double, dynamic_cast, else, enum, explicit, export, extern, false, float, for, friend, goto, if, inline, int, long, mutable, namespace, new, operator, private, protected, public, register, reinterpret_cast, return, short, signed, sizeof, static, static_cast, struct, switch, template, this, throw, true, try, typedef, typeid, typename, union, unsigned, using, virtual, void, volatile, wchar_t, while
Reserved words:
and, and_eq, bitand, bitor, compl, not, not_eq, or, or_eq, xor, xor_eq
Fundamental data type:
Name
Description
Size*
Range*
char |
Character or small integer. |
1byte |
signed: -128 to 127
unsigned: 0 to 255 |
short int (short) |
Short Integer. |
2bytes |
signed: -32768 to 32767
unsigned: 0 to 65535 |
int |
Integer. |
4bytes |
signed: -2147483648 to 2147483647
unsigned: 0 to 4294967295 |
long int (long) |
Long integer. |
4bytes |
signed: -2147483648 to 2147483647
unsigned: 0 to 4294967295 |
bool |
Boolean value. It can take one of two values: true or false. |
1byte |
true or false |
float |
Floating point number. |
4bytes |
3.4e +/- 38 (7 digits) |
double |
Double precision floating point number. |
8bytes |
1.7e +/- 308 (15 digits) |
long double |
Long double precision floating point number. |
8bytes |
1.7e +/- 308 (15 digits) |
wchar_t |
Wide character. |
2bytes |
1 wide character |
Initialization of variables:
string mystring = "This is a string";
string mystring ("This is a string");//Constructor method.
\n |
newline |
\r |
carriage return |
\t |
tab |
\v |
vertical tab |
\b |
backspace |
\f |
form feed (page feed) |
\a |
alert (beep) |
\' |
single quote (') |
\" |
double quote (") |
\? |
question mark (?) |
\\ |
backslash (\) |
Inline features on-going.....
分享到:
相关推荐
Beginning C++17 From Novice to Professional(5th) 英文epub 第5版 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书
Beginning C++17: From Novice to Professional, 5th edition English | ISBN: 1484233654 | 2018 | PDF+EPUB This latest edition has been fully updated to the latest version of the language, C++17, and to ...
Beginning C From Novice to Professional(4th) 英文无水印pdf 第4版 pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,...
Learn how to program using the updated C++17 language. You'll start with the basics and progress through step-by-step examples to become a working C++ programmer. All you need are Beginning C++17 and ...
We’ve made sure that you will begin C++, from day one, using the safe, productive, modern programming style that employers will expect from you tomorrow. The C++ language in this book corresponds to...
With the knowledge from this book, you should have no difficulty in extending the depth and scope of your C++ expertise. We have assumed no prior programming knowledge. If you are keen to learn and ...
Python基础教程 Beginning Python From Novice to Professional.zip,收录了 Python基础教程 Beginning Python From Novice to Professional 中英文各版本和源码,包括(第2版)和 (第3版),都有详尽的书签,不是一级...
《Beginning SQL Queries From Novice to Professional》这本书旨在帮助读者从初学者成长为专业级别的SQL查询专家。通过对SQL语言的深入理解与实践,读者能够掌握高效编写SQL查询的方法,并学会如何优化查询性能,...
Beginning Rust From Novice to Professional 英文epub 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书
These books will teach you a standard and important technology from the ground up because they are explicitly designed to take you from “novice to professional.” You’ll start your journey by ...
Beginning Python From Novice to Professional(3rd) 英文无水印pdf 第3版 pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自...
Beginning SQL Queries From Novice to Professional(2nd) 英文无水印pdf 第2版 pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源...
Python Journey from Novice to Expert 英文无水印pdf pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开
C语言入门经典(Beginning C From Novice To Professional)
Beginning Spring 5: From Novice to Professional Get started with Spring Framework 5 and its ecosystem, with a guide to the working practices in modern development. This book will teach you how to use ...
Beginning Python From Novice to Professional(3rd) 英文epub 第3版 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除
Title: Python: Journey from Novice to Expert Author: Dusty Phillips, Fabrizio Romano, Rick van Hattem Length: 1311 pages Edition: 1 Language: English Publisher: Packt Publishing Publication Date: 2016...