文件名称:c:一次编译并执行C个“脚本”!
文件大小:30KB
文件格式:ZIP
更新时间:2024-02-20 08:17:13
c cli compiler cpp script
C “ C没什么特别的。这就是它之所以快的原因之一。” 我喜欢C的原始速度(尽管确实有缺点)。 我们都应该写更多的C。 使用此shell脚本,您可以一次编译并执行C“脚本”! (是的,它也适用于C ++。) 这是一个简单的例子: # include < stdio> int main ( void ) { printf ( " Hello World! \n " ); return 0 ; } 输入以下命令运行它: $ c hello.c Hello World ! 或者,从shebang调用它! #!/usr/bin/c # include < stdio> int main ( void ) { printf ( " Hello World! \n " ); return 0 ; } $ chmod +x hello.c $ ./hello.c Hello World ! 上钩了吗? 安装方法如下: 使用包管理器? 。 对于整个系统: $ wget https://raw.githubusercontent.co
【文件预览】:
c-master
----examples()
--------noise.sh(1KB)
--------cube.c(3KB)
--------hello.cpp(119B)
--------dinoshade.c(25KB)
--------github_commits.c(5KB)
--------rand.c(351B)
--------README.md(78B)
--------hello.c(86B)
--------.gitignore(7B)
--------dns.c(1KB)
----.travis.yml(74B)
----LICENSE(1KB)
----c(5KB)
----README.md(4KB)
----tests()
--------stdin()
--------test_helpers.sh(1KB)
--------complex_arguments()
--------examples()
--------test.sh(266B)
--------shell()
--------argument_and_link_test()
--------C++()
--------header()
----c.rb(398B)
----package.json(230B)