? ??????????????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

Tuesday, June 9, 2009

The danger in my home town ( raub)

i am a normal villager in raub, home town is bukit koman. because of my studies at kuantan, so that i cannot go back to my home town anytime. but in my heart, bukit koman is my real town and my memories places, before progressing the gold mine... my home town are very fresh and many tree around my house. sometimes my friend and me go inside the forest, that is my happy memories. 19era until 20 era. my home have a lot of gold and this all of gold have a high price and high quality. after 60 years, all of the gold are gone and mined. this town are very quite after 60 years, but unfortunately, in 2007 year, the quite of village became famous in news. australia company submit the agreement without told to villager and in progressing to mine the gold by using high technology that is call sodium cyanide, this is a type of chemical that most harmful to people, animal, and plant...it is a type of drug. after villager knew australia company came back to this village, the company organised a meeting with all villager, and talk about what is the sodium cyanide, as i heard that, the company said sodium cyanide are harmfuless to people and animal, but after this meeting, my sister as a professional chemistry, she alert to all villager that sodium syanide are very harmful to people and animal, therefore, villager now started to anti cyanide. but, because less of people in village, they doesn't have power to anti these harmful chemical. so, i hope who are login my blog, please support this village and all the villager ( include d me >.<)...........

the place of meeting
the purpose of this building is use for meeting and anti cyanide...in this village, is only have amount 400 people, how to anti with government???2 years ago, the government give the agreement to the australia company and this company are progressing their tools, until 2009 year, the prosess of mine gold are started, but as our knowlarge the air of sodium cyanide can spread from the air and water, the air and solution of sodium cyanide are coulourless, we don't know when the air are spread or the solution mix in the water?? so, people live in this town will worried everyday..

the "famous" of bukit koman
this papper is come from news papper, this mean that, my town ( bukit koman ) nowadays are very "famous" about case of anticyanide and the danger of sodium cyanide. a villager name chong shao ping (张少平) organised a media meeting, purpose to tell all the poeple about what is sodium cyanide and how harmful of sodium cyanide during mine gold...

unify of villager
this is the picture about the unify of villager, they make a memo and organised a media meeting
to tell all people, they very hate the company. and the villager wish can success the anti sodium cyanide.
he gone
he is a very potential people in this town, his house are short distance with the mine... so, in every midnight, he can get the smell of sodium cyanide, therefore he take a action, to bring his wife to KL, but he stay in the forest, to avoid the smell of sodium cyanide, but unfortunately, he die in the forest by heart attack...