3
Org-mode中的C代码块的常用设置参数
source link: https://www.lujun9972.win/blog/2019/05/05/org-mode%E4%B8%AD%E7%9A%84c%E4%BB%A3%E7%A0%81%E5%9D%97%E7%9A%84%E5%B8%B8%E7%94%A8%E8%AE%BE%E7%BD%AE%E5%8F%82%E6%95%B0/index.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Org-mode中的C代码块的常用设置参数 - 暗无天日
Org-mode中的C代码块的常用设置参数
:var 变量=值
设置全局变量,变量的类型可能是 int,double,string/const char*
若值为定义的list或vector则会转换成一维数组
type[]
若值为Org表格,则会转换成二维数组
type[][]
:flags
设置编译程序时传递给编译器的参数
:comdline
设置执行编译后程序时的命令行参数
:main
当代码块中定义了main函数,则需要将其设置为
no
, 表示不要把所有的内容都嵌入到一个main函数中
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK