4.8
来源:互联网 发布:域名要实名认证吗 编辑:程序博客网 时间:2024/06/06 03:43
#define _CRT_SECURE_NO_WARNINGS#include<iostream>using namespace std;struct ww_service{char name[30];double diameter;double weight;};int main(){ww_service* pizza=new ww_service;cout << "Enter the diameter of the pizza: ";cin >> pizza->diameter;cin.get();//消除输入流中滞留的换行符的影响cout << "Enter the company of this pizza: ";cin.getline((*pizza).name, 30);cout << "Enter the weight of the pizza: ";cin >> pizza->weight;cout << "The information of this pizza as follow:\n ";cout << "Company name is: " << pizza->name << endl;cout << "The diameter about the pizza is: " << pizza->diameter << " centimeter."<<endl;cout << "The weight about the pizza is: " << pizza->weight <<" kilogram."<<endl;return 0;}
0 0
- 4.8
- 4.8
- 4.8
- 4.8
- 4.8
- 4.8
- 4.8~4.10
- Notepad++ 4.8
- 4.8小结
- CareerCup 4.8
- Exercise 4.8
- opencv2.4.8
- 4.8 T1
- 习题4.8
- Notepad++ 4.8 RC
- Notepad++ 4.8.1
- Notepad++ 4.8.2
- LuaForS60 工程进度 4.1 --- 4.8
- 4.7
- 使用POI生成excel文件方法总结
- HDU-动态规划题集【转】
- 【java网络编程】之三
- 浏览器地址栏编码
- 4.8
- mysql存储过程
- C# 初始winform——1
- 扣丁学堂——内存管理 性能优化(10个注意点)
- sphinx笔记
- 畅谈 Mesos 生态圈系列
- 欢迎使用CSDN-markdown编辑器
- 【java网络编程】之四
- 4.9