首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > 代码翻译,让你用Python写的C代码风格。意味着没有大括号和没有分号。

代码翻译,让你用Python写的C代码风格。意味着没有大括号和没有分号。

  • 资源大小:707.36 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: python translator

资 源 简 介

Cpy translator This project aims to write C code with a python style. Means, no curly braces, no semicolons. This project goals is to simplify C coding: Imagine the following: int main (int argc, char * arg_v[]){ printf("Hello World! "); return 0;} As: int main (int argc, char * arg_v[]) printf("Hello World! ") return 0 Cpy will translate the code for you so that you can compile it on a normal C compiler. Tutorial Copy and paste the example above and save it to hello_world.cpy . Install cpy-translator and in the folder where you saved the file do in the command line: depythonizec helloworld.cpy > hello_world.c Compile hello_world.c with your desired C compiler. News! Subscribe to the mailing list! Discussion Mailing List <
VIP VIP
0.223528s