C++ Learning (1)

Computer Science: A Structured Approach Using C++, Second Edition
It's a good study material for someone who are going to study C++ from the begining.
There are 17 Chapters , including lots of codes.
I concluded some points while reading this book as follows:
1) I/O Stream Classes :
A file would be in reading ,writing or error states. And the error state includes logical error and physical error.
Open a file :
                    ifstream fsIn; 
At the begining, the reading header is at the start of the file. While reading, it will move foward ,until reach the end of the file.
Create a new file:
                        ofsteam fsOut; 
If the file has exist, the old data will be deleted, if not , it would create a new file.
Append file:
文章标签: c++ file stream header
个人分类: C/C++
想对作者说点什么? 我来说一句

Learning OpenCV 3 Computer vision in C++ epub

2017年09月25日 43.94MB 下载