题解列表

筛选

字符串连接 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string> using namespace std; int main() { string……

字符串排序 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> #include<algorithm> #include<string> using na……
优质题解

C语言程序设计教程(第三版)课后习题4.9 (C++代码)

解题思路:本题的C语言printf函数的格式输出方式,很多人都写了,我就来普及一下利用C++语言cout方式输出格式的方式主要是通过iomanip库的fixed函数和setprecision函数注意事项:本题出现的两个变量都注明是浮点数,所以要定义为float类或double类参考代码:#includ