C/C++ Do I need to learn just C++ or is C worthwhile too?

  • Thread starter Thread starter SDNess
  • Start date Start date
  • Tags Tags
    C++
AI Thread Summary
Learning both C and C++ is beneficial, with a recommendation to start with C due to its structured approach and foundational concepts that ease the transition to C++. Resources like "C: A Modern Approach" by K.N. King and "Pointers on C" by Kenneth A. Reek are suggested for mastering C. Free software options include Dev-C++ and compilers from Microsoft and Borland, especially for students seeking discounts. While C and C++ share some syntax with Java, they require a deeper understanding of memory management. Overall, mastering C first can provide a solid base for advancing to C++.
SDNess
Messages
33
Reaction score
0
I know Visual Basic and Java now, but I think it's time I learn C/C++.

Do I need to learn just C++ or is C worthwhile too? [yes, I know they are similiar...]

1) Books/Tutorials?

2) Is there a discount [student...] for acquiring the software with?

If you're familiar with both Java and C++, how similar are they to each other?
 
Technology news on Phys.org
ebay...
 
By the way, I once heard Jeff would like to solve some of his books, you can go to ebay and search for him.
 
For C the best book IMO is
C A Modern Approach by KN King followed by
Pointers On C (forgot the authors name).
Neither book teaches GUI programming but figuring out pointers is tough enough. Learn C then advance to the GUI.

As far as software goes, Dev-C++ is free and decent windows IDE. It's good enough to learn on. I think you can get a free basic compiler for Windows from MS now (I use a Mac so I'm not positive) and if you register as a student at Borland you can get the Borland compiler for free also. Intel Also has a free windows compiler. VC++ is what, $100 standard (comes with a fat text) and $69 student? Something like that.

My opinion is learn C advance to C++. I know others will disagree, but to heck with them. Many large scale projects are written in C. C is easy to learn because it is structured like a standard thought process (most people don't think in terms of 'objects'). Once you get competent with C then advance to C++. As another note, I dislike Jave. I can program in it, but I don't like to. Just a preference (I learned C on an Amiga 500 after all). Java and C++ share some syntax (as do most languages) and the object structure is the same. They are differnt though. If you know how to program in one language then others usually come easily. many of the pitfalls associated with C/C++ are not present in Java, so C/C++ requires a little more understanding as to what is actually going on as far as memory allocation, and usage are concerned. My 2 cents.

Good luck.
 
Pointers On C (Kenneth A. Reek).
 
As far as the United States is concerned, you can save a load of money on software if you are currently a student (undergraduate or graduate) at any accredited university. Check out JourneyEd and the Academic Superstore for more information on eligible schools as well as prices.


If you live in any country other than the United States, I'm sorry I cannot help you. I really don't know how the academic discounts work involving international colleges or other countries; however, I believe Microsoft offers the same academic prices to Canada as they do the United States.
 
Last edited:
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I had a Microsoft Technical interview this past Friday, the question I was asked was this : How do you find the middle value for a dataset that is too big to fit in RAM? I was not able to figure this out during the interview, but I have been look in this all weekend and I read something online that said it can be done at O(N) using something called the counting sort histogram algorithm ( I did not learn that in my advanced data structures and algorithms class). I have watched some youtube...
Back
Top