Wednesday, 17 April 2013


Editing and Compiling C Code

C is what's referred to as a compiled language, meaning you have to use a compiler to turn the code into an executable file before you can run it. The code is written into one or more text files, which you can open, read and edit in any text editor, such as Notepad in Windows, TextEdit on a Mac, and gedit in Linux. An executable file is something the computer can run (execute). The compiler checks the code for errors and, if it seems to be error-free, creates an executable file.

First let’s revise basics , what we write as a programmer its in the high level language and the computer do not understand the high language(C,C++,Java). The only language that the computer understands is the language of 1's and 0′s that is the Binary language.



Now enough of theory ! Lets start seeing about practically how we can write code (Programmes)  and what are the compilers.I am providing tutorial links for the best compilers available now and this is only for c.I will provide information on c++,python,java,c# in upcoming days . 

windows : https://www.youtube.com/watch?v=DnXM4lsuy6E
mac : https://www.youtube.com/watch?v=4JPSt7ZIF4M
For linux it has a inbuilt gcc compiler if u still want to use a compiler with GUI you can go for Code Blocks again.You can follow up from this link https://www.youtube.com/watch?v=pSbIEBpI8js .

Sick of Downloading software use online compilers : Ide One

Now i have something more information for you.U want to be a greatest coder and stand as a better coder among your friends? If Yes, i have this online coding websites where you can develop your coding skills by their wide set of various programming questions.

CodeChef

In 2009, Turakhia started and spearheaded the CodeChef initiative which is a non-commercial coding and programming competition to challenge and engage the developer community in India.

SPOJ 
(Sphere Online Judge) is an online judge system with over 100,000 registered users and over 10000 problems. The solution to problems can be submitted in over 40 languages including C, C++, Java, Python, C#, Go, Haskell, OCaml, and F#, Ruby, Icon, Intercal,Pike. SPOJ has a rapidly growing problem set/tasks available for practice 24 hours/day, including many original tasks prepared by the community of expert problem setters associated with the project.

I personally suggest this to be like the best and ultimate of all.I suggest you that its always a good job to go in the order of websites i have suggested.

TOP CODER
TopCoder is a company which administers contests in computer programming. TopCoder hosts fortnightly online competitive programming competitions — known as SRMs or "single round matches" — as well as weekly competitions in design and development. The work in design and development produces useful software which is licensed for profit by TopCoder. Competitors involved in the creation of these components are paid royalties based on these sales. The software resulting from algorithm competitions — and the less-frequent marathon matches — is not usually directly useful, but sponsor companies sometimes provide money to pay the victors. Statistics (including an overall "rating" for each developer) are tracked over time for competitors in each category.
Link : http://www.topcoder.com/

If anyone interested in reading C language through books or ebooks or pdf's i suggest to read this book
Link : http://www.scribd.com/doc/97499199/c-and-Data-Structures-Balaguruswamy 

In my next post i will be introducing you to the world of c++.stay tuned ! 

0 comments:

Post a Comment