首页 > 编程语言 > 详细

c++语法格式

时间:2018-04-06 14:30:47      阅读:172      评论:0      收藏:0      [点我收藏+]
// ConsoleApplication3.cpp: 定义控制台应用程序的入口点。
//

#include "stdafx.h"
#include <iostream>

//using namespace std; 命名空间,有点像java中的包类

int main()
{
    
    printf("hello world");
    std::cout << "hello world" <<std::endl;
    int n;
    //scanf("-----",&n);
    return 0;
    
}

 

c++语法格式

原文:https://www.cnblogs.com/fengdaren/p/8727623.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!