Question:
The C programming language 2nd Edition by Brian W Kernighan and Dennis uses what program to run it!?
Rusk ;D
2013-05-06 02:15:35 UTC
I'm currently learning C and having a hard time understanding some stuff..
1. The book "The C Programming Language by Brian W.Kernighan and Dennis M. Ritchie" is teaching me how to create codes but I'm not sure what program i should use to run it! (Next question blends in with the first)

2 I've tried Dev++, but it seems to use a different system or something and goes with "" instead of and cout instead of printf. Why is that there different?

3. Where is a good website that can help me learn C and give also tutorials about it through this book?

I'm a mess lol..
Four answers:
Aritra
2013-05-06 02:35:41 UTC
First of all, Ritchie's book is a masterpiece. But I honestly think it's not for the beginners. You have to read between the lines to grasp everything.



Now lets answer your questions...



1+2.



Dev C++ (www.bloodshed.net/devcpp.html‎) is actually good for practice. Although its for C++ (that is why those iostream and cout - they are from C++), it can easily compile and run C code, since C++ is just a superset of C. Just create a .c file, open it using devC++, write the code, compile and run it.



Here's another alternative. Download tinyC (www.tinycc.org/). Write your C code in any text editor. I would recommend Programmer's Notepad (www.pnotepad.org/‎), but even notepad would do. Save the file. Compile it by using the command : (The executable "tcc.exe" is located in the directory of tinyC)



tcc -o



After this, if the code was error free, you'll get a file "outfilename.exe". Run it.



3. The best website that comes to mind is google.com!!!

Also these are good ones :



www.cprogramming.com : mostly C++ oriented, but again C++ is a superset of C - so you'll learn C as well. There are some good tutorial too.



www.codeproject.com : numerous sample projects and code discussions.



www.stackoverflow.com : if you face any serious problem, just ask here.
?
2013-05-06 02:30:06 UTC
The authors present the complete guide to ANSI standard C language programming. Written by the developers of C, this new version helps readers keep up with the finalized ANSI standard for C while showing how to take advantage of C's rich set of operators, economy of expression, improved control flow, and data structures. The 2/E has been completely rewritten with additional examples and problem sets to clarify the implementation of difficult language constructs. For years, C programmers have let K&R guide them to building well-structured and efficient programs. Now this same help is available to those working with ANSI compilers. Includes detailed coverage of the C language plus the official C language reference manual for at-a-glance help with syntax notation, declarations, ANSI changes, scope rules, and the list goes on and on.

follow the link "http://www.amazon.com/Programming-Language-2nd-Brian-Kernighan/dp/0131103628"
2013-05-06 03:06:49 UTC
1. Any implementation of C89. I suggest Code::Blocks. http://www.codeblocks.org/downloads/binaries

2. That's C++, which is an entirely different language.

3. c-faq.com
2016-12-01 05:04:06 UTC
Kerninghan and Ritchie are Gods interior the unix international. those men are nonetheless on my reference shelf. I nonetheless periodically will pull it down while something programming those men have been people who invented C at Bell Labs..


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...