搜索资源列表
iostream
- 输入和输出流练习:输入一个数字作为参数,输出一个用“*”排列的三角形,输入的数字为输出行数。-Input and output streams to practice: Enter a number as a parameter, the output of a use of "*" with the triangle, the number of input lines for output.
iostream
- streaming including for visual C-streaming including for visual C++
datastruct
- 通过反序输出整数,实现了一个整数的反序输出。很好的实现了反序功能。-#include< iostream> using namespace std int main(){int a,b=0 cout< < please input the integer: < < endl cin> > a while(a){b=b*10+a 10 a/=10 }cout< < the end is < < b< < endl return 0 }