当前位置:网站首页>compiler explorer

compiler explorer

2022-06-11 00:49:00 Yutian Dudu

Although not often , But keep a record . I have known this online editing website before , It didn't work for a long time . Today, I am learning code on a machine without a compilation environment . I remember him again , Let's write it down .

Address the following :Compiler ExplorerCompiler Explorer is an interactive online compiler which shows the assembly output of compiled C++, Rust, Go (and many more) code.https://godbolt.org/

  Very convenient , The top one Add You can add a source code editor , The default is black ,More The default settings can be modified in the button , For example, change black to white .

The source code editor can use Vim The mode is very convenient . Add new You can add compilers and executors .

 

  The compiler can see the assembly code , Of course, you can choose various types and versions of compilation tools . It's so convenient .

The executor can see the execution result of the program . 

If there is a compilation error , You can open... Under the compiler Output View compilation errors .

 

This is the basic usage , Of course, there are many functions . You can compile common language types .c++,python,go There are .

You can also save code , formatting code , Share test links, etc .

原网站

版权声明
本文为[Yutian Dudu]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/162/202206102333111645.html