Search:
Type: Posts; User: Steve25
Search:
Search took 0.11 seconds.
-
January 22nd, 2011, 08:55 AM
Sorry for the late reply.
Thanks for your help I guess I will have to mess about with them all until I understand because it's all a little bit confusing. I can see the point of it in C++ just not...
-
January 18th, 2011, 11:20 AM
Thanks for all your replies.
I'm not sure I understand you when with this part. So far it seems to me that the ref keyword is only really useful when you want to return more than one thing as...
-
January 17th, 2011, 08:49 AM
Ok so as a general rule if it is a value type like an int or a string then that should be passed by value as normal but if it's an object like a custom class object then it should be passed by...
-
January 16th, 2011, 07:32 AM
The only time I can see an advantage of passing something by reference is when that variable needs to be changed in the method as well which is quite rare. I know there are differences in passing by...
-
January 7th, 2011, 06:01 AM
Thanks for the info I will give TortoiseSVN a try. I remember using Mercurial a while ago when I did a Java project at college but I haven't yet tried Subversion
-
January 4th, 2011, 05:43 PM
Is there any way of making these run within Visual Studio or must they be used outside of that?
-
January 4th, 2011, 04:07 PM
Sorry if this is the wrong forum but as I mostly do C# programming I thought I'd post here. I was wondering what most people use for source control with Visual Studio 2010 and perhaps point me in the...
-
October 6th, 2010, 08:04 AM
Unfortunately I had to reinstall my computer due to viruses and previously I had SQL Server installed along with Visual Studio 2008. Being part an IT student we are given certain software from the...
-
August 31st, 2010, 04:05 AM
I'm trying to take some of the socket examples a step further and make it into a very basic Java chat server with a GUI. Everything seems to be working fine except for the fact that I'm not sure how...
-
August 8th, 2010, 04:27 PM
Haha yeah it doesn't feel right to me but I'm thinking this is the best way to do it. To explain why I'm doing it this way let me explain what everything is actually doing.
The Game class...
-
August 8th, 2010, 03:04 PM
Right, I've given gamescreen.h a declaration of the Game class and I've given the Game class a declaration of the GameScreen class. I've also made the game variable a pointer and the gameScreen...
-
August 8th, 2010, 02:53 PM
My game.h file now includes the following code:
#ifndef GAME
#define GAME
#include <d3d9.h>
#include "gamescreen.h"
class GameState;
-
August 8th, 2010, 02:21 PM
I'm trying to make a tetris clone game in C++ as a way of trying to learn game programming and I've come across an odd error which I can't fix. The Error list gives the following 2 errors which are...
-
August 6th, 2010, 07:51 AM
Yes I do and before you ask yes I used them but it wasn't obvious what I should be reading as I found all kinds of random Atom based responses but nothing to do with the type. Thanks for the link
-
August 6th, 2010, 06:34 AM
I'm reading a book which has the following function declaration:
ATOM MyRegisterClass(HINSTANCE);
But I can't seem to find out what ATOM is or what it's used for. Could anyone explain to me...
-
Ok I understand thanks for your help :)
-
Isn't it good practice though to set all pointers to zero making them null pointers? I thought you were able to do that using the code I posted
-
I apologise if I am being a complete idiot but I have looked this over with a book and several websites already and still I am getting a problem with this very small program on pointers. The error I...
-
Here's the entire code and no I haven't done that yet although mostly I think it's happening in the loop
#include <Windows.h>
//Function delcarations
LRESULT CALLBACK WinProc(HWND hwnd, UINT...
-
I'm getting a problem with compiling a simple Win32 program. I've recently just installed Visual Studio 2010 and a project that used to work in 2008 now doesn't in 2010. The code is the same so as it...
-
Worked perfectly and does everything I wanted, many thanks for your help! I only have one last question, when the loop ends and it exits the run() method is the thread cleared up as normal? In other...
-
Ok thanks I'll give this a try
-
So basically what you're saying is its going to be no different from what I'm trying to do now? I've never actually heard of an ExecutorService, looks like I'll need to look that one up
-
Ok here is the thread class that I created a while back. In the other class where the SwingWorker is it was replaced with:
Thread playerThread = new Thread(new LoopsPlayer(tune, player));...
-
I guess I understand that but I have already tried creating my own thread and running it from there and it still freezes the application. I've still got the code for the thread class if you need to...
|
Click Here to Expand Forum to Full Width
|