Search found 79 matches
- Sun Oct 09, 2011 11:29 am
- Forum: Programming Discussion
- Topic: Thirst for knowledge!
- Replies: 11
- Views: 1823
Re: Thirst for knowledge!
Hmm, i see. Well my first criticism of your character class would be grouping. Its more of an aesthetic thing rather than compiler wise (sort of). For example: int health; int xpos; int ypos; float exactx; float exacty; can be shortened to: int health, xpos, ypos; float exactx, exacty; also this: in...
- Sun Oct 09, 2011 6:07 am
- Forum: Programming Discussion
- Topic: Thirst for knowledge!
- Replies: 11
- Views: 1823
Re: Thirst for knowledge!
This is, in a sense, pretty controversial. There really is no one way to code. Sure there might be some common patterns of which people follow but in the end it's really up to you how you structure things. More importantly, it's usually based on what you are coding. Are you coding games? if so, what...
- Sat Oct 08, 2011 8:59 pm
- Forum: Programming Discussion
- Topic: Making STL Vectors and SDL_Surfaces place nicely
- Replies: 16
- Views: 2960
Re: Making STL Vectors and SDL_Surfaces place nicely
Yeah, I realized that. The only reason I thought it was in the first place is some guy in the docs said to do it *shrugs* *points*. I figured it was wrong but just chalked it up to not understanding SDL enough... Like I said, gimme a sec to modify the first post... ahh, sorry, i did not see the edi...
- Sat Oct 08, 2011 8:41 pm
- Forum: Programming Discussion
- Topic: Making STL Vectors and SDL_Surfaces place nicely
- Replies: 16
- Views: 2960
Re: Making STL Vectors and SDL_Surfaces place nicely
std::vector<SDL_Surface*> mySurfaces; SDL_Surface tempSurface = NULL; tempSurface = SDL_LoadBMP("yourimage.bmp"); tempSurface->refcount += 2; // We increase it to 2, because we don't just want to free the copy, but the temp as well. If we only increase it once here, sure, it will work but...
- Thu Oct 06, 2011 7:33 am
- Forum: General/Off-Topic
- Topic: Steve Jobs is Dead
- Replies: 9
- Views: 3201
Re: Steve Jobs is Dead
I think it's sad that he died. Rather, it was sad that he got pancreas cancer, that's by far the worst and most painful cancer apparently. As much as i bitch about Apple, i still respect his work. May he Rest In Peace.
- Mon Sep 26, 2011 1:22 pm
- Forum: General/Off-Topic
- Topic: [SOLVED] DVD Drive issues...
- Replies: 6
- Views: 1439
Re: DVD Drive issues...
can you keep task manager open, and see any weird activity on cpu/ram usage when it happens ? open up all the columns (there are 30 +) and see if there is any pattern. reinstall motherboard and sound drivers failing that, buy a $10 sound card and see if the problem goes away Yep, Svchost (DComlaunc...
- Mon Sep 26, 2011 11:39 am
- Forum: Programming Discussion
- Topic: Clash of the IDE's
- Replies: 61
- Views: 11272
Re: Clash of the IDE's
Agreed.GyroVorbis wrote:QTCreator is free and is superior in every way.Light-Dark wrote:I use code::blocks because im used to it and i dont want to change just now and the fact im cheap and don't want to pay for anything quite yet XD
- Mon Sep 26, 2011 11:38 am
- Forum: General/Off-Topic
- Topic: [SOLVED] DVD Drive issues...
- Replies: 6
- Views: 1439
Re: DVD Drive issues...
Does it still do it while the DVD tray is out ? Sounds like the little pickup motor that slides the tray in and out. Yep, i fixed it by giving it a good smack. The only problem is that it was only part of my problem... The Disk Drive works great now, no annoying as hell sound. But the stuttering au...
- Mon Sep 26, 2011 8:22 am
- Forum: General/Off-Topic
- Topic: [SOLVED] DVD Drive issues...
- Replies: 6
- Views: 1439
Re: DVD Drive issues...
Is this happening ever since you bought the drive, or would it be normal some time ago? It might also be the device's normal working sound, you know? I got the drive about 1 year ago. The problem only just started around 24 or so hours ago. And i can't be normal, it's in perfect timing spaced aroun...
- Mon Sep 26, 2011 6:57 am
- Forum: Programming Discussion
- Topic: Clash of the IDE's
- Replies: 61
- Views: 11272
Re: Clash of the IDE's
As buggy as it can be, i like to use Visual Studio 2010. I'm constantly on my windows machine programming and Visual Studio just puts everything there for me. On Linux i either use Eclipse or i just don't bother with an ide and go straight for gedit.
- Mon Sep 26, 2011 6:03 am
- Forum: General/Off-Topic
- Topic: [SOLVED] DVD Drive issues...
- Replies: 6
- Views: 1439
[SOLVED] DVD Drive issues...
EDIT: Issue solved, seems the DVD Drive was only part of the issue and was totally unrelated to the CPU spike. As it turns out, this loopback device of which i had never seen before had been causing the Plug n Play process to constantly poll for hardware updates. As soon as i uninstalled it's drive...
- Wed Sep 21, 2011 10:02 am
- Forum: Programming Discussion
- Topic: DirectX 9 Error.
- Replies: 7
- Views: 1196
Re: DirectX 9 Error.
So, yeah I got this working after reading the header file, by defining CINTERFACE before including the file. After using it for a while I decided that D3D is a programmers hell compared to OpenGL which is much simpler and so much more portable (which in my opinion is one of the main things any prog...
- Thu Aug 11, 2011 6:06 am
- Forum: General/Off-Topic
- Topic: "Industry Experience"
- Replies: 10
- Views: 1861
Re: "Industry Experience"
You should be DAMN fucking good. Not "decent". The industry these days is extremely competitive. Now what will set you apart is a wealth of work to show. You can talk all day long but until you put your money where your mouth is it won't account for much. I know 15 year olds who blow alot...
- Wed Aug 10, 2011 10:45 pm
- Forum: Programming Discussion
- Topic: The Demise of the Low-Level Programmer
- Replies: 29
- Views: 5730
Re: The Demise of the Low-Level Programmer
Do you need to be a really good programmer to start doing assembly? Assembly is very good to know (in my opinion at least). But the main thing you need to remember is that different architectures have different syntax, different interrupts, etc; I have a general understanding of x86 using MASM (www...
- Wed Aug 10, 2011 10:34 pm
- Forum: General/Off-Topic
- Topic: "Industry Experience"
- Replies: 10
- Views: 1861
Re: "Industry Experience"
You would need to be a decent programmer, and most of all, you need to show how well you can communicate. A lot of people seem to think that they can just program away, but you need to be able to communicate with the Artists, Game Designer(s), Other programmers, etc; An entry level internship, i wou...