eHow launches Android app: Get the best of eHow on the go.
Summary: Any text editor such as vi can be used to write a simple program in C. Write and compile a simple program in C4126 with tips from a software developer in this free video on computer training.
Dave Andrews is a software developer with a business and Web site selling programs and other computer services in Franklin, Tenn. Having worked in the IT industry for more than 8...read more
"Hi, my name is Dave Andrews, today I'm going to show you how to write a simple program in C. Let's go to the computer, and you can use any text editor to write your simple program. I'm in Linux, so I'm going to use the Vim editor, but notepad would work, or if you have an ID program for C programming you can use that as well. This is my simple program, and all I've said is to include the input/output stream subsystem. Now this ent main function is the very first function that is run in any C program. The command that I've added here is to go to C alt which is an object that displays on the screen text, the phrase "Hello world" with a slash N at the end which adds a new line behind it. That's my very simple program. Let's save our test file as test dot CPP, and I'm going to use the G compiler to compile this program. You can use any compiler, many common ones are from Microsoft and another one from Borland. Let's run the results. As you can see, my phrase "hello world" has been displayed on the output. My name is Dave Andrews, and I've just showed you how to write a simple program in C."
eHow Article: How to Write a Simple Program in C