天津快板武松打虎词,唯品会品牌折扣女装,华创e路航x10
/* 练习1.1略 练习1.2.改写程序,让他返回-1. 练习1.3.编写程序,在标准的输出上打印hello,world。 */ #include<iostream> int main() { std::cout<<"hello,world"<<std::endl; return 0; }
/* 练习1.4.编写程序使用乘法运算符来打印两个数的积 练习1.5 */ #include<iostream> int main() { std::cout<<"please input two numbers:"<<std::endl; int v1,v2; std::cin>>v1>>v2; std::cout<<v1<<" * "<<v2<<" = "<<v1*v2<<std::endl; return 0; }
/*练习1.6.解释程序是否合法*/ std::cout<<"the sum of "<<v1; <<" and "<<v2; <<<" is "<<v1+v2<<std::endl; /* 代码不合法,缺少相应的std::cout */
如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复
如何在没有core文件的情况下用dmesg+addr2line定位段错误
用QT制作3D点云显示器——QtDataVisualization
网友评论