Here is how you create a C program in seven steps — in what’s known as the development cycle:
1. Come up with an idea for a program.
2. Use an editor to write the source code.
3. Compile the source code and link the program by using the C compiler.
4. Weep bitterly over errors (optional).
5. Run the program and test it.
6. Pull out hair over bugs (optional).
7. Start over (required).
No need to memorize this list. It’s like the instructions on a shampoo bottle, though you don’t have to be naked and wet to program a computer. Eventually, just like shampooing, you start following these steps without thinking about it. No need to memorize anything.
The C development cycle is not an exercise device. In fact, programming does more to make your butt fit more snugly into your chair than
anything.
Step 1 is the hardest. The rest fall naturally into place.
Step 3 consists of two steps: compiling and linking.
When you create a program, you become a programmer. Your friends or relatives may refer to you as a “computer wizard” or “guru,” but trust me when I say that programmer is a far better title.
As a programmer, you job is not “programming.” No, the act of writing a program is coding. So what you do when you sit down to write that program is code the program. Get used to that term! It’s very trendy.
The job of the programmer is to write some code! Code to do what? And what type of code do you use? Secret code? Morse Code? Zip code?
The purpose of a computer program is to make the computer do something.
The object of programming is to “make it happen.” The C language is only a tool for communicating with the PC. As the programmer, it’s your job to translate the intentions of the computer user into something the computer understands and then give users what they want. And if you can’t give them what they want, at least make it close enough so that they don’t constantly complain or — worse — want their money back.
The tool you have chosen to make it happen is the C programming language. That’s the code you use to communicate with the PC. The following sections describe how the process works. After all, you can just pick up the mouse and say “Hello, computer!”
Programming is what TV network executives do. Computer programmers code.
You use a programming language to communicate with the computer, telling it exactly what to do.
See also:Glass for bartending
How to Play DVD on iPad?
ReplyDeletehttp://www.leawo.com/knowledge/how-to-watch-dvd-on-ipad.html