摘要:
c++标准库函数都在std这个命名空间中,想要使用必须加上using namespace std,下面给出几种使用方法 1. specify the identifier directily, for example std::ostream instead of ostream. the comp 阅读全文
摘要:
1. pure virtual function can be achieved, do not have to only declare, not to achieve.2. even if the pure virtual function has been achieved, with pur 阅读全文
摘要:
1 #include 2 #include 3 #include 4 #define n 6 //size of maze 5 using namespace std; 6 7 int grid[n+2][n+2]; //we set the border for the maze 8 struct position //this struct... 阅读全文
摘要:
Scott Young (Scott Young) completed a surprising feat: he learned all the 33 lessons of the MIT computer science course within a year. Most importantl 阅读全文
摘要:
function name: fflush(FILE *stream)function: clear the read and write buffer, you need to immediately write the output buffer data into the specified 阅读全文