C++
UCASers
后海电子厂民工
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C++ Primer Plus第二章课后编程答案
#include #include using namespace std; void ex1(); void ex2(); void ex3_1(); void ex3_2(); void ex4(); double ex5(double); double ex6(double); void ex7(int, int); int main() { // using namespace std原创 2017-08-27 14:26:36 · 433 阅读 · 0 评论 -
C++ Primer Plus第三章课后编程答案
1. #include int main() { using namespace std; const int factor = 12; int h,feet; cout << "height:____\b\b\b"; cin >> h; feet = h / factor; h = h%factor; cout <<endl<< "ft:" << feet << "\tin:原创 2017-08-27 14:55:10 · 618 阅读 · 0 评论 -
C++ Primer Plus第四章课后编程答案
1. #include int main() { using namespace std; const int ArSize = 20; char fNam[20]; char lNam[20]; char g; unsigned int age; cout << "What is your first name? "; cin.getline(fNam, ArSize);原创 2017-08-28 15:22:26 · 525 阅读 · 0 评论 -
C++ Primer Plus第五章课后编程答案
1. #include #include #include #include int main() { using namespace std; int l, m, sum=0; cout << "small: "; cin >> l; cout << "big: "; cin >> m; for (; l <= m; l++) { sum += l; } co原创 2017-08-29 16:33:46 · 607 阅读 · 0 评论 -
C++ Primer Plus第六章课后编程答案
1. #include #include #include #include #include const int ArSize = 20; int main() { using namespace std; cout << "Enter text for analysis. and type @" "to terminate input.\n"; char ch; st原创 2017-08-31 14:44:54 · 421 阅读 · 0 评论 -
C语言头文件函数声明是否加extern
最近看创龙的DSP程序,忽然遇到一个C语言的语法问题,感觉非常纠结,归根结底还是以前C语言学的不扎实,所以才会卡在这种小的语法问题上。我的问题是这样的,在看UART_EDMA例程的时候,main函数调用了UARTStdioInit();函数,UARTStdioInit();在uartStdio.c文件里,然后UARTStdioInit();函数里又调用了UARTConsoleInit();函数,该原创 2017-10-25 09:54:34 · 15280 阅读 · 9 评论
分享