? ??????????????Flower Trail? ????? ?? ???Rating: 4.4 (8 Ratings)??0 Grabs Today. 2889 Total Grabs. ??????
Preview?? | ??Get the Code?? ?? ?????????????????????????????Feel My Heartbeat?? ????? ?? ???Rating: 4.6 (7 Ratings)??0 Grabs Today. 836 Total Grabs. ??????Preview?? | ??Get the Code BLOGGER TEMPLATES AND TWITTER BACKGROUNDS ?

Tuesday, June 16, 2009

The basic of programming 1 (C)

i am computer student from IKIP college, my name is gan teck wei and nick name is sparrowgan u can call me gan...i study at IKIP already one year, and now only sem 2, so what was i learn?? in course DDC (information technology), majority is learn about programming, and now i only know the basic of the programming, that is C .as i know that, as a programmer is very hard and headache. because a programmer need to think a program in many way of benefits, such as the counter in the supermarket, system program in government office. besides that, programmer also have to build up software system, operating system, and utility system..therefore, who are interesting about these job, u can read my following sentence.

programming language

A programming language is a machine-readable artificial language designed to express computations that can be performed by a machine, particularly a computer. Programming languages can be used to create programs that specify the behavior of a machine, to express algorithms precisely, or as a mode of human communication.
Many programming languages have some form of written specification of their
syntax and semantics, since computers require precisely defined instructions. Some (such as C) are defined by a specification document (for example, an ISO Standard), while others (such as Perl) have a dominant implementation.
The earliest programming languages predate the invention of the computer, and were used to direct the behavior of machines such as
Jacquard looms and player pianos. Thousands of different programming languages have been created, mainly in the computer field, with many more being created every year.

how to code program

In C programming, they are different with normal words. therefore, each programming software have their own language and own words, such as in programming C, we must have to code its preprocesser directive, that is ( #include), and the second is main function that is ( int main(void)),in a programming, it have three type of chooses, sequence, decision, and loop..besides, if we want to key in some word, output and operation, we must use (printf, scanf, and =)...the picture above is a looping program.

the word in black screen
after we finish a program, we must click compile word in programming software, if "sucess" words is come out, mean that the whole coding are smooth and no problem, but the logical error cannot be compile, so that we must find out the problem during answer in black screen, if can answer, mean that the program is no problem at all, if the black screen cannot run propaly, means that the program have logical error..

A programming language's surface form is known as its syntax. Most programming languages are purely textual; they use sequences of text including words, numbers, and punctuation, much like written natural languages. On the other hand, there are some programming languages which are more graphical in nature, using visual relationships between symbols to specify a program.
The syntax of a language describes the possible combinations of symbols that form a syntactically correct program. The meaning given to a combination of symbols is handled by semantics (either
formal or hard-coded in a reference implementation). Since most languages are textual, this article discusses textual syntax.
Programming language syntax is usually defined using a combination of
regular expressions (for lexical structure) and Backus-Naur Form (for grammatical structure). Below is a simple grammar, based on Lisp