automatic generate pdf using shell code in C++ Code
来源:互联网 发布:淘宝店怎么添加客服号 编辑:程序博客网 时间:2024/05/08 20:32
-------------pictoPdf.sh--------------
#!/bin/bash
cd /home/kris/catkin_ws/src/imgpclconvert 1.jpg 1.pdf
exit 0
--------imgpcl_sample.cpp-------
#include <stdlib.h>
int system(const char *string);
int main(){
system("/home/kris/catkin_ws/src/imgpcl/pictoPdf.sh");
return 0;
}
ps:
do not forget " chmod +x *.sh"
reference:
https://baozh.github.io/2013-11/how-to-call-shell-script-in-c-plus-plus-program/
http://blog.csdn.net/ddkxddkx/article/details/7019408
http://blog.csdn.net/yangruibao/article/details/7255787
0 0
- automatic generate pdf using shell code in C++ Code
- Using C code in symbian
- Generate C interface from C++ source code using Clang libtooling
- Packet Sniffer Code in C using sockets
- Using CSharp (C#) code in Powershell scripts
- Code code to generate code in Dynamics AX
- Using Unsafe Code in C#
- Using Unmanaged Code in C#
- Automatic Code Instrumentation
- Implement Automatic Discovery in Your Java Code with Annotations
- USING FORTRAN90 CODE IN MATLAB MEX-FILES
- Using SQLite in C++ with Code::blocks
- Using Custom Java code in ODI
- Generate Code Metrics Report
- CODE 110: Generate Parentheses
- [leet code] Generate Parentheses
- Generate BrainF**k code
- X++ CODE TO GENERATE ALERT FOR RECORD IN DAX 2011
- JAVA多线程之——wait/yield/sleep/join方法的区别
- kali linux 添加系统快捷键
- 关于String.valueOf()方法的使用
- JAVA:List<T> 排序
- 安卓拍照生成缩略图及读取缩略图、原图、角度等信息
- automatic generate pdf using shell code in C++ Code
- Boosting算法简介
- CSS背景图自适应
- 求有环单链表中的环长、环起点、链表长
- configure: error: Missing X11/extensions/XTest.h
- Java学习之单例模式
- github使用
- 生成一个唯一的Id
- mac上做asp.net