ljfox4's Profile
Reputation: 2
Apprentice
- Group:
- Active Members
- Active Posts:
- 67 (0.03 per day)
- Joined:
- 10-February 07
- Profile Views:
- 2,999
- Last Active:
Mar 22 2013 10:44 PM- Currently:
- Offline
Previous Fields
- Country:
- US
- OS Preference:
- Linux
- Favorite Browser:
- Chrome
- Favorite Processor:
- AMD
- Favorite Gaming Platform:
- Nintendo
- Your Car:
- Ford
- Dream Kudos:
- 0
Latest Visitors
-
chris_24 
02 Dec 2010 - 09:42 -
macosxnerd101 
23 Aug 2010 - 08:10 -
benyamein 
04 May 2010 - 05:59
Posts I've Made
-
In Topic: Beginning SDL - Part 3 - A Sprite/Drawing Class
Posted 18 May 2012
Wonderful tutorial so far. Quick question, however. What is the advantage of static member functions over normal ones?
Instead of this:
static bool Draw(SDL_Surface* dest, SDL_Surface* src, int x, int y);
Could you do this?
//removed src parameter bool Draw(SDL_Surface* dest, int x, int y);
And the object already knows that it is itself that it wants to draw. So my question I suppose is why do it static?
EDIT:
I always realize these things AFTER I post. The class doesn't actually hold the info. Just loads it. Got it. Never mind. -
In Topic: Looking for advice concerning attached Connect Four program.
Posted 18 May 2012
Ah. I see what you're saying. My main thing though is that I want to make sure it's sane so to speak. I want to be able to easily expand on it. Actually though, I just found stayscrisp's SDL tutorial and it happens to cover some of the stuff I'm looking to be sure of. I'm going to read through it for some pointer on my structure. -
In Topic: Looking for advice concerning attached Connect Four program.
Posted 18 May 2012
It is working as far as I know. Did it not work for you? -
In Topic: Looking for advice concerning attached Connect Four program.
Posted 17 May 2012
Ah. I see what I did wrong. The code should be attached now. -
In Topic: Looking for advice concerning attached Connect Four program.
Posted 17 May 2012
Hm. That's weird. I'm at work right now. I'll check what happened when I get home. I did have the code attached in a tar.gz.
My Information
- Member Title:
- D.I.C Head
- Age:
- 21 years old
- Birthday:
- July 28, 1991
- Gender:
-
- Location:
- Oak Hill, West Virginia
- Interests:
- Programming, Ocarina, Bowling, Learning German
- Years Programming:
- 7
- Programming Languages:
- C++, PHP
Contact Information
- E-mail:
- Click here to e-mail me
- MSN:
-
ljfox4@goowy.com
- Website URL:
-
http://
- ICQ:
-
179422154
Friends
ljfox4 hasn't added any friends yet.
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
ljfox4 has no profile comments yet. Why not say hello?