g++和gcc的区别

时间:2021-07-22 17:10:13   收藏:0   阅读:55

C++新手菜鸟学习记录

举俩例子

#include<iostream>
int main(){
    std::cout<<"helloworld"<<std::endl;
}
#include<stdio.h>
int main(){
    printf("helloworld");
}

gcc -o t.out test.c

./t.out

原文:https://www.cnblogs.com/peng-yuan/p/15043492.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!