摘要: //2.6.1 定义Sales_data类型 #include<iostream> struct sales_data{ std::string bookNo; unsigned units_sold=0; double revenue=0.0; }; //use the class Sales_d 阅读全文
posted @ 2017-02-15 19:56 mengyunwang 阅读(106) 评论(0) 推荐(0)
摘要: task1.3 编写程序,在标准输出上打印“hello world!”: #include <iostream> int main() { std::cout << "Hello, World!\n"; return 0; } task 1.4 编写程序,实现两个数的乘积: #include <io 阅读全文
posted @ 2017-02-14 14:00 mengyunwang 阅读(134) 评论(0) 推荐(0)
摘要: Really happy! Just keep learning and enjoy the process! 阅读全文
posted @ 2017-02-12 14:30 mengyunwang 阅读(80) 评论(0) 推荐(0)