• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Crash Course in C++

txrandom

Diamond Member
I'm probably switching to the newer degree plan at my college and I'm suppose to have good C++ knowledge for the class I'm taking (Data Structures and Algorithms). Problem is I have never taken C++. All I know is Java, PHP, and a bit of C. I'm not worried about the data structures and algorithms because I just took a data structures, but I need to learn syntax and all the other basics for C++.

Any good tutorials out there?
 
If you know C and Java, just think if it as kind of the melding of the two, but with more C-like syntax than Java. With that background, if you just start coding in it (with a reference handy) I'm sure you'll be fine.
 
Yah, I'm just going to learn how to do some basic programs and mainly learn syntax and that type of stuff. Shouldn't be too bad.
 
If you know C really well, particularly knowledge of memory management and addressing, you should be ok. I imagine the reason such a class is in C++ is that you have have the object oriented stuff for organizing your algorithms and data structures, but you have fine low level control of the memory footprint of your program for optimizing memory access patterns, cache coherency, etc. Things that will be covered to death (or should be) when talking about things such as algorithm scaling, efficiency, structures of arrays vs. arrays of structures, and all that stuff you'll be covering. It's kinda hard (ie: impossible) to explore that low level organization in an abstracted sandbox environment like Java.
 
Back
Top