The Warring States of NPF  

Go Back   The Warring States of NPF > Social > Computers & Technology
User Name
Password
FAQ Members List Calendar Today's Posts Join Chat

Reply
View First Unread View First Unread   Click to unhide all tags.Click to hide all tags.  
Thread Tools Display Modes
Unread 06-11-2010, 08:26 PM   #1
bluestarultor
Blue Psychic, Programmer
 
bluestarultor's Avatar
 
Join Date: Feb 2007
Location: Home!
Posts: 8,814
bluestarultor is one of Jay-Z's 99 problems. Possibly two. bluestarultor is one of Jay-Z's 99 problems. Possibly two. bluestarultor is one of Jay-Z's 99 problems. Possibly two. bluestarultor is one of Jay-Z's 99 problems. Possibly two. bluestarultor is one of Jay-Z's 99 problems. Possibly two. bluestarultor is one of Jay-Z's 99 problems. Possibly two. bluestarultor is one of Jay-Z's 99 problems. Possibly two. bluestarultor is one of Jay-Z's 99 problems. Possibly two. bluestarultor is one of Jay-Z's 99 problems. Possibly two. bluestarultor is one of Jay-Z's 99 problems. Possibly two.
Default I'm finally learning C++! Tips?

*throws confetti and pumps the jams*

Been waiting to pick up C++ since I took my first programming course three years ago! So in celebration, I'm asking for any tips people might have, good resources, books, compilers, etc. I think I still have Borland's Turbo C++ installed, and I know I have Visual C++ with my Visual Studio installation, but I'm not sure how up-to-date the former is or if the latter only compiles to the CLR.
__________________
Quote:
Originally Posted by Drake Clawfang
Aerith is clearly the most badass character ever. She saves the world. Twice. While dead. No one else can claim that, can they?
I'm gone from here for good. This place gave me many memories to take with me and shaped me greatly. I still care about you guys. I just can't stay.

Journal | Twitter | FF Wiki (Talk) | Projects | Site
bluestarultor is offline Add to bluestarultor's Reputation   Reply With Quote
Unread 06-11-2010, 08:30 PM   #2
Kim
adorable
 
Kim's Avatar
 
Join Date: Sep 2007
Posts: 12,950
Kim will strap all reputation givers to balloons and kidnap them. Kim will strap all reputation givers to balloons and kidnap them. Kim will strap all reputation givers to balloons and kidnap them. Kim will strap all reputation givers to balloons and kidnap them. Kim will strap all reputation givers to balloons and kidnap them. Kim will strap all reputation givers to balloons and kidnap them. Kim will strap all reputation givers to balloons and kidnap them. Kim will strap all reputation givers to balloons and kidnap them. Kim will strap all reputation givers to balloons and kidnap them. Kim will strap all reputation givers to balloons and kidnap them. Kim will strap all reputation givers to balloons and kidnap them.
Default Sorry. Couldn't help it.

Quote:
Originally Posted by Blues
I'm finally learning C++! Tips?
Get a B- instead.
__________________
this post is about how to successfully H the Kimmy
Kim is offline Add to Kim's Reputation   Reply With Quote
Unread 06-11-2010, 09:12 PM   #3
Vault Of Thrones
A Threat to the District
 
Vault Of Thrones's Avatar
 
Join Date: Sep 2007
Location: /dev/null
Posts: 444
Vault Of Thrones will become famous soon enough. Eventually. Maybe.
Send a message via ICQ to Vault Of Thrones Send a message via AIM to Vault Of Thrones Send a message via MSN to Vault Of Thrones Send a message via Yahoo to Vault Of Thrones Send a message via Skype™ to Vault Of Thrones
Default

I don't actually know C++, but I do know the warnings that are bandied about everywhere. It is a huge language. To paraphrase this guy Bjarne Stroustrup bolted everything he had ever heard of onto C to create it. Pick a subset of it and learn to use that well, and should you ever start trying to do anything complicated with templates... God help you.

Aside from that, really get to know how pointers work. This alone will save you a lot of time when you start wanting to do things you're used to in regular OO languages, like over-ride a method form a superclass. From what I understand, this involves virtual-tables of function pointers.

Also important is memory management. C++ doesn't have a garbage collector, so you have to keep track of everything manually. That doesn't seem to bad at first, but when you start passing objects around, it quickly becomes messy. The two biggest issues you will run into here are segfaults from trying to access objects that have been completely released (thus the memory address to it is invalid), and memory leaks caused by not getting rid of objects that you don't need anymore.

Also, whenever you get the basics down, go out and learn the Boost library. It does all sorts of cool stuff and will save you a lot of work.

Good luck.
__________________
Twitter!
Vault Of Thrones is offline Add to Vault Of Thrones's Reputation   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:18 AM.
The server time is now 03:18:06 PM.


Powered by: vBulletin Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.