文件名称:1
介绍说明--下载内容来自于网络,使用问题请自行百度
1.编写一个简单的程序,输出“Welcome you”,并给程序加一行注释“First C++ program”。
2.编写一个完整的包含输入和输出的简单C++程序。
3.编写内置函数求解2X2+4X+5的值,X为整数,并用主函数调用该函数。
4.利用函数重载,重载上面的函数,X为浮点数。
5.编写一个程序,对一个整数数组求和,求和的结果使用全局变量sum存储,同时对整数中的奇数求和,结果使用局部变量sum存储,在主程序将两个结果输出。
6.编写一个程序动态分配一个浮点空间,输入一个数到该空间中,计算以该数为半径的圆点面积并在屏幕上显示,最后释放该空间,请使用new、delete运算符。-1. Write a simple program, the output "Welcome you", and add a line to the program notes "First C++ program".
2. To prepare a complete input and output that contains a simple C++ program.
3. Preparation of built-in functions for solving 2X2+4 X+5 value, X is an integer, and use the main function calls the function.
4. The use of function overloading, function overloading above, X as a floating-point number.
5. Write a program, for an array of integers the sum, sum sum the results of the use of global variables to store, while the odd integers in the sum, the results of the use of local variable sum is stored in the main program will be two results output.
6. Write a program that dynamically allocates space for a floating-point, enter a number into the space, calculated on the number of area and radius of the dots displayed on the screen, the final release of the space, please use the new, delete operator.
2.编写一个完整的包含输入和输出的简单C++程序。
3.编写内置函数求解2X2+4X+5的值,X为整数,并用主函数调用该函数。
4.利用函数重载,重载上面的函数,X为浮点数。
5.编写一个程序,对一个整数数组求和,求和的结果使用全局变量sum存储,同时对整数中的奇数求和,结果使用局部变量sum存储,在主程序将两个结果输出。
6.编写一个程序动态分配一个浮点空间,输入一个数到该空间中,计算以该数为半径的圆点面积并在屏幕上显示,最后释放该空间,请使用new、delete运算符。-1. Write a simple program, the output "Welcome you", and add a line to the program notes "First C++ program".
2. To prepare a complete input and output that contains a simple C++ program.
3. Preparation of built-in functions for solving 2X2+4 X+5 value, X is an integer, and use the main function calls the function.
4. The use of function overloading, function overloading above, X as a floating-point number.
5. Write a program, for an array of integers the sum, sum sum the results of the use of global variables to store, while the odd integers in the sum, the results of the use of local variable sum is stored in the main program will be two results output.
6. Write a program that dynamically allocates space for a floating-point, enter a number into the space, calculated on the number of area and radius of the dots displayed on the screen, the final release of the space, please use the new, delete operator.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1.doc.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.