如何在记事本中执行C程序? [英] how to execute c program in notepad ?

查看:187
本文介绍了如何在记事本中执行C程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想在记事本中编写C语言程序并执行它.

hi ,

I want to write c language program in note pad and execute it.

推荐答案

为什么?

使用 Visual Studio Express [ ^ ],它是免费的,并且具有非常好的界面,调试等.
Why ?

Use Visual Studio Express[^], it is free and have a very nice interface, debugging etc..


您不能.您至少需要一个编译器才能这样做.
You can''t. You need to have at least a compiler to do so.


您可以在记事本中编写C程序,并使用任何编译器(例如gcc或microsoft vc)对其进行编译,尽管它似乎是开始学习C的一个好地方,这实际上不是一个好方法.记事本缺少关键字字体的颜色,书签,自动缩进,与自动完成/填充程序的集成以及许多其他使使用IDE有用的功能.即使在Linux中使用gcc时,您也始终希望使用足够聪明的编辑器来为您执行其中的一些操作.

因此,可以考虑使用其中一种免费的可用IDE(Studio Express,CodeBlocks,带有CDT的Eclipse,NetBeans)进行选择.
You can write a C program in Notepad and compile it using any compiler (such as gcc or microsoft''s vc) and although it may seem like a good place to start to learn C, its really not a great approach. Notepad lacks the keyword font coloring, bookmarking, automatic indentation, integration with auto-complete/fill programs, and many other features that make working with IDE''s useful. Even when working with gcc in linux, you''d always want to use an editor that is smart enough to do some of these things for you.

So consider using one of the free available IDEs instead (Studio Express, CodeBlocks, Eclipse with CDT, NetBeans), there''s a lot to choose from.


这篇关于如何在记事本中执行C程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆