![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux开发
slshelly
机器视觉
展开
-
Linux下C++语言编程--基础知识
我使用的是Vi+GCC 下面在Linux下编写一个小的c++程序,步骤: 1.在Terminal下执行:Vim test.cpp 在test.cpp中编写代码: #include int main() { std::cout int v1,v2; std::cin>>v1>>v2; std::cout return 0; } 编原创 2012-05-09 10:50:49 · 777 阅读 · 0 评论 -
Makefile编写
继续联系写小程序 假设我们有下面这样的一个程序,源代码如下: /* main.c */ #include "mytool1.h" #include "mytool2.h" int main(int argc,char **argv) { mytool1_print("hello"); mytool2_print("shelly");原创 2012-05-09 16:53:30 · 533 阅读 · 0 评论