Looking to teach myself C, where do I start?

  • Thread starter Thread starter btbam91
  • Start date Start date
AI Thread Summary
For learning C, recommended software includes Code::Blocks for its compatibility with modern C standards and MSVC 2010 for its real-time error highlighting, although it is more suited for C++. Pelles C is also mentioned as a reliable option similar to Visual Studio 2008. For Linux users, gcc is the standard compiler. In terms of learning resources, cprogramming.com offers valuable tutorials, and the classic book "The C Programming Language" by Kernighan and Ritchie (K&R) is highly regarded. Users are encouraged to explore various tutorials and seek help if they encounter difficulties. Overall, C is emphasized as a foundational language that is more technical than C++ due to its non-object-oriented nature.
btbam91
Messages
91
Reaction score
0
As the title states, I am looking to learn C. What software do I download to start with? Also, what are good text/video tutorials that I can learn from?

Thanks!
 
Technology news on Phys.org
I recommend Code::Blocks. Although, if you would rather learn C++ and have a decent speed computer and don't mind proprietary freeware, I would recommend you go with MSVC 2010. The only advantage, IMO, to MSVC is the real time error highlighting. The advantage to CB, for learning C, is that it(well... the compiler it comes with, to be exact) supports a much later version of C than MSVC.

As for tutorials, it depends on your taste, and how you learn. The ones at cprogramming.com are pretty good, I used them. Try to work your way down this list of tutorials, and come back with anything you get stuck on.
 
http://en.wikipedia.org/wiki/The_C_Programming_Language

This book is regarded pretty highly in the world of C. I taught myself C with it, even though when I did, I had an understanding of C++.

The compiler I use for C is Pelles C and have had no problems with it yet, it is very similar to Visual Studio 2008, which is used for C++.
 
For books, I really like the classic K&R. As for a compiler, if you are on Linux/BSD, gcc is pretty much the standard.
 
Thanks for the info guys! Time to start my research!
 
I would say go with C. It's the mother of all languages and is more "techy" than C++ as it's not object oriented.

All you need to start is the gcc compiler and any text editor. I use geany on my ubuntu.
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...
Back
Top