|
|
#1 | ||||||||
|
Junior Member
Location: garden grove, ca |
i dont know that much programing what basic program should i start off with and work from there
|
||||||||
|
|
|
|
|
#2 | ||||||||
|
Administrator
Location: UK |
What is your current programming experience?
__________________
Steven Yau [Alix Games Blog] [Portfolio] [How I broke into the Games Industry] [Why I left my Games Job] [How to be a Games Tester] [Getting back into the Game] |
||||||||
|
|
|
|
|
#3 | ||||||||
|
Junior Member
Location: garden grove, ca |
um nothing
|
||||||||
|
|
|
|
|
#4 | ||||||||
|
Junior Member
|
I'd start with a Hello World program in C++. I'd look into getting a book on C++ to help get you started. Try http://www.amazon.com/Primer-Plus-4t.../dp/0672322234 this one. It's one of the easiest to read programming books of its kind. Hope this helps.
|
||||||||
|
|
|
|
|
#5 | |||||||||
|
Administrator
Location: London, UK |
Quote:
I would advise starting with a language such as Java or Python.
__________________
Michael 'Adrir' Scott :: Games, Virtual Worlds, Education Networking | Research | Teaching |
|||||||||
|
|
|
|
|
#6 | |||||||||
|
Junior Member
|
Quote:
|
|||||||||
|
|
|
|
|
#7 | ||||||||
|
Administrator
Location: UK |
I would suggest Python personally. Start small and slow. Work your way through tutorials and work on small programs such as 'Guess the number' and 'Hangman'.
To give an example on what can be done with Python, look at this article.
__________________
Steven Yau [Alix Games Blog] [Portfolio] [How I broke into the Games Industry] [Why I left my Games Job] [How to be a Games Tester] [Getting back into the Game] |
||||||||
|
|
|
|
|
#8 | |||||||||
|
Administrator
Location: London, UK |
Quote:
Which sort of bad programming practices are you referring to?
__________________
Michael 'Adrir' Scott :: Games, Virtual Worlds, Education Networking | Research | Teaching |
|||||||||
|
|
|
|
|
#9 | |||||||||
|
Junior Member
|
Quote:
I'm referring to Java's built in garbage collection. Many people who learn Java first have a hard time remembering to free dynamic memory in C++. It also can encourage the overuse of Object Oriented Programming. Everything doesn't need to be an object. These are what I have seen. Typically bad programming practice lessens with experience, but moving from a managed to unmanaged environment can be very cumbersome for people who have relied on the former. Just my 2 cents.
__________________
Thomas Rader |
|||||||||
|
|
|
|
|
#10 | |||||||||||||
|
Administrator
Location: London, UK |
Quote:
Not remembering that you don't have a garbage collector and forgetting that you don't have to make everything an object is simply a habit you have to get out of. It is true, that this is still a problem, but in my opinion it is easier to learn a managed language first and deal with this problem later than it is to dive head first into the dragons den. Quote:
Quote:
A lot of the C++ standard is left unspecified and is left up to specific implementations. So under certain conditions, code will compile and work fine, but using a different compiler or compiler version it will break and do really stange stuff. For example, all variables of type int are guaranteed to have the same size on the same machine. It is not guaranteed, however, that on another machine, int variables will occupy the same size. Quote:
Quote:
Code:
float xhalf = 0.5f*x;
union
{
float x;
int i;
} u;
u.x = x;
u.i = 0x5f3759df - (u.i >> 1);
x = u.x * (1.5f - xhalf * u.x * u.x);
return x;
Yes, I agree completely.
__________________
Michael 'Adrir' Scott :: Games, Virtual Worlds, Education Networking | Research | Teaching |
|||||||||||||
|
|
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Powered by vBulletin® Version 3.6.9
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
All times are GMT -8. The time now is 11:13 AM.

























Linear Mode

