Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 28 May 2012
Offline Last Active Jun 12 2012 05:10 PM

Posts I've Made

In Topic: Is this a good start?

07 June 2012 - 05:19 PM

Dude that is awesome :) It's GREAT to see basic programming before you graduate. I learned some python when I was 16 and it helped me a lot. Doesn't really matter what language you start with. What's most important is you have an idea about the thought process in programming and knowing what you're getting yourself into. I see too many people get about halfway through game development at full sail or art institute and not like it anymore. Java is a great introductory language. Any language that's Object Oriented is a great start.
Best of luck to you

In Topic: 3D scaling using sine based on time

03 June 2012 - 12:10 PM

Awesome it works and scales properly! Thanks a ton!

In Topic: Best Method of Taking Notes (on a language you are learning)?

03 June 2012 - 11:53 AM

I've never thought of that, but wouldn't you have to locate the file with the comments on that specific function? It would be very unorganized, that is my only worry.

it depends. if you're making a game or something and using a new function, yeah it'd be pretty unorganized. But I found making a seperate program called "trees","Dynamically Linked Lists", etc. and include comments can be wonderful especially when doing something free.

In Topic: Best Method of Taking Notes (on a language you are learning)?

02 June 2012 - 01:50 PM

Typically I just type comments in the programs when learning. Like, when I learned about the data structures like lists and trees in C++, i wrote C++ style comments about each function and step. I know that every language has a way you can insert comments in your code. I'd suggest just that

In Topic: Annoying Error when trying to get height of a binary tree, weird errors.

28 May 2012 - 08:51 PM

This looks just like the problem I had when I took a data structures class at Full Sail.
The problem is that you're taking in a constant but returning a reference (or vise versa) it's hard to tell since this is your BST.cpp and I can't see where you're calling it in main.cpp or wherever you do the calling. But to be honest, the best way to solve this is by switching around some constants.

but yeah, whenever you see an error that says "cannot convert from (something) to (something different) it generally means you put a different object type in a parameter, or a return value is different, or something not matching a function. Like, if a function returns an integer, and you set a char pointer to it. or if the first parameter of a function takes in a string, and you give it an unsigned short. Not that extreme, but you get the point.

Wish I could help more, but I'd need to see wherever you're calling getTreeheight.