0
点赞
收藏
分享

微信扫一扫

LeetCode //C - 94. Binary Tree Inorder Traversal

沈芏 03-01 09:00 阅读 4

【VScode】手把手教你如何搭建C/C++开发环境(一)-阿里云开发者社区

参考这篇文章。安装下gcc 

创建一个hello.c文件

#include <stdio.h>

void hello() {

    printf("Hello, Linux Developer!\n");

}

gcc编译 windows .linux 

PS E:\CWorkspace> gcc -shared -o libhello.so hello.c
PS E:\CWorkspace> gcc -shared -o hello.dll hello.c

例子,在C#程序中把hello.dll引入debug文件夹下。

就可以了。

举报

相关推荐

0 条评论