PDA

View Full Version : question for those with C++ skeeeeelz



MADMarc
05-05-2011, 07:01 PM
I, just like the quajillion other college students, do not want a bad grade. I am required to take C++ for my major but have no programming skills. I am familiar with computer hardware and troubleshooting but nothing regarding programming. The professor starts at the very beginning and said I should be okay but what do you guys think? Is much more prefer to bust ass and cut out a whole semester by not having to take a general computer systems course. Do you guys think I can do it? Are there any good sources of text or information I can read up on now to prep myself?

NickS VR4
05-06-2011, 04:34 AM
Its really not that hard. I took C++ and Java in college. Its mainly logic solving. C++ will mainly be all about syntax and semantics. Just keep the template of a script, and change the meat of it for all your scripts. I doubt you will really get into anything too complicated.

I think for my C++ class, one of the most challenging things was to click anywhere on a white screen and have a bunch of circles drawn in a complete diamond, going from mouse click 45deg up/right until it hit the boundary, then go 45deg up/left, 45deg down/left, 45deg down/right until you completed the diamond.

Simple stuff. In Java we had to make a graphing calculator program.

Edit: we also made simple programs in C++ like have it ask you to enter a year, and it will determine if the year is a leap year... With the following checks... divisible by 4, but not 100, unless it is divisible by 400.

We also did programs like entering a random date (MMDDYYYY) and it would tell you if it was a M/T/W/T/F/Sa/S

Mikes2nd
05-06-2011, 09:28 AM
give us the assignment, i can post up the "basic" code...

MADMarc
05-06-2011, 01:25 PM
lol Mike, I will keep that in mind if I hit a wall ;)

Thanks a bunch for the info, guys. Looks like that will be my first choice over calculus this summer. Personally, I'm excited to get to sit in front of a screen and book all day instead of just a book lol

blackrob
05-06-2011, 02:31 PM
I hate programming with a passion, but the C++ class I took was pretty easy. I think I ended up getting a 96% for the semester. So unless you have a hard ass instructor, it shouldn't be too bad. Just be prepared to do a lot of trial and error followed by a google search. The book we used for the class was pretty much worthless. Good luck!

MADMarc
05-06-2011, 03:06 PM
lol I hear ya on the textbook issue. I've noticed a few texts recently that are ridiculous when it comes to helpfulness. I have heard good things about the professor so hopefully all goes smoothly. It's an accelerated course in the summer session but all that means is more time a day and more days a week so I should be alright.

Thanks again guys.

marshallh
05-06-2011, 04:54 PM
Just post if you need help. I'm super baller with C, my C++ is limited but I'll help where I can

DocWalt
05-06-2011, 05:42 PM
Marshall speaks the truth, he's pretty baller :p

I really doubt an entry level programming course in college will be all that bad. I only have experience with the more advanced classes, and even they were easy, and I'm not very good at C/C++

MADMarc
05-06-2011, 07:18 PM
Hellz yea. :D Looking forward to taking it more and more.

nodoze
05-06-2011, 08:25 PM
i took c++ back in highschool and loved it but dont remember much of it now i used to go home and write out the programs on paper for the next day :)

DrGonzo
05-06-2011, 10:56 PM
If it's an entry level programming class they will be going over the basics of programming. it will be more logic programming than anything "if/else/or" type of logic.

"If" this equals this do this "else" do this "or" this type of stuff


I doubt you will get into anything to complicated. You not going to be in their writing compiled executables or building OS's.......LOL

BigTyla
05-07-2011, 01:46 PM
C++ isn't too bad. What is your major? Is a programming class in general required or do you HAVE to take C++? Depending on your major, I would recommend MATLAB instead. Infinitely easier to learn and a lot more reasonable for many fields of engineering. There are pros and cons between MATLAB, Java, and C++ that all have to be taken into consideration, but in the end it's whatever is most widely used in your industry. At my college, I could choose between Java and MATLAB, but MATLAB is used almost exclusively in my field so I went that route (along with about 90% of my colleagues).

MADMarc
05-07-2011, 05:27 PM
I'm majoring in Biomedical Engineering and the University of California doesn't give any option for programming courses other than C++ as a requirement. From what I hear all of the languages are extremely different, but it's the basics that tend to bleed over from one to another. What's your major that allowed you to choose between those three?

...and definitely no building operating systems for me lol I'm pretty sure the course is only to wet my feet for some of the upper division programming that may be required to complete certain tasks.

BigTyla
05-07-2011, 11:51 PM
I am an Aerospace Engineer. I'm pretty sure all engineers at Auburn were able to choose which language, but recommendations were made based on your practice. For instance, the Aeros were recommended MATLAB while the Wireless Engineers were recommended Java/C++. I honestly don't know any Aeros that use Java/C++. For us, MATLAB is just so much more capable for the analyses we perform. But for software engineers, Java/C++ has it's obvious advantages.

NickS VR4
05-08-2011, 01:10 AM
C++ is becoming a thing of the past for the average programmer. Java, I thought I'd never say it, is the way to go. With Java, you learn more Object Oriented programming. IIRC, C++ doesnt really deal with objects. Java type languages are used for cellphone apps, webapps, Flash (becoming a thing of the past), etc.

If you have a choice, learn Java.

On the other hand, C++ is extremely faster than the Java language on its own, but with faster computers, this may become a thing of the past. Back in 2004/2005 when I ran compiled java scripts, it took like 5 seconds to load the graphical ones, and about 1-2seconds to load a short command line script whereas C++ will take like .1seconds if that for both.

MADMarc
05-08-2011, 01:00 PM
hmm, I wonder why I am only able to take C++ then...there must be some reason. I just checked other majors on assist.org and, though computer engineering requires Java, electrical engineering's only option is C++ as well. Weeeeeeeird.

BigTyla
05-08-2011, 05:17 PM
I can certainly understand C++ for EE. It is computationally faster than Java and you really don't get anything from the object-oriented language Java provides. As an EE you will be doing a lot more mathy operations and algorithms and C++ is far superior in that aspect.

MADMarc
05-08-2011, 06:25 PM
Well damn, thanks for that input. I'll keep it in mind when I start picking it up here and there. Probably going to do a couple barnes and noble sessions reading up on c++ before class begins this summer.