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

  • Context: C/C++ 
  • Thread starter Thread starter SDNess
  • Start date Start date
  • Tags Tags
    C++
Click For Summary

Discussion Overview

The thread discusses whether it is necessary to learn both C and C++ or if focusing solely on C++ is sufficient. Participants explore the similarities and differences between C and C++, as well as resources for learning and acquiring software, particularly for students.

Discussion Character

  • Exploratory
  • Technical explanation
  • Homework-related

Main Points Raised

  • One participant suggests learning C first before advancing to C++, arguing that C is easier to learn due to its structured nature.
  • Another participant mentions that many large-scale projects are written in C, implying its relevance in programming.
  • There is a recommendation for specific books, including "C A Modern Approach" by KN King and "Pointers On C" by Kenneth A. Reek, with an emphasis on understanding pointers before moving to GUI programming.
  • Participants discuss various software options for learning, including free IDEs like Dev-C++ and potential student discounts for compilers from companies like Microsoft and Borland.
  • One participant expresses a personal preference against Java, noting that while it shares some syntax with C++, it lacks some of the complexities associated with memory management in C/C++.
  • Another participant provides information about academic discounts for software in the United States, but expresses uncertainty about international pricing.

Areas of Agreement / Disagreement

There is no clear consensus on whether learning C is necessary before C++, as some participants advocate for starting with C while others do not express a preference. The discussion includes varying opinions on the relevance and ease of learning each language.

Contextual Notes

Participants mention specific resources and software options, but there are limitations regarding the availability of information for international students and the specifics of academic discounts outside the United States.

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 similar...]

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 different 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:

Similar threads

  • · Replies 22 ·
Replies
22
Views
3K
Replies
86
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
69
Views
11K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 102 ·
4
Replies
102
Views
5K
Replies
3
Views
4K
  • · Replies 20 ·
Replies
20
Views
4K
Replies
4
Views
2K
  • · Replies 81 ·
3
Replies
81
Views
8K