Ill try that and see if I run into any problems, thanks.
Type: Posts; User: Dash_Riprock
Ill try that and see if I run into any problems, thanks.
How do I set what an object returns when just the object name is used? For instance, a string will return a value when just the name is used, without using any particular function. Is this done by...
ok, thanks alot. I got the name from that.
So does anyone have any help?
Specifically I need to know the class name of the default console window when you open a c++ prog in explorer.
Sorry, Im not too familiar with this. How do I find what the window class is?
Is there a better way to find a window's hWnd than FindWindow()? FindWindow uses the window's actual caption to find its hwnt, which isnt working out.
Preferably something that usesa pid or...
I will try those out, thanks :)
Yes I wanted to make my own implement it into a program. Thats why I posted it on the programming board :p
Does anyone know how I would go about doing this? I have no idea where to start. I dont...
I dont mean to share the file, I mean to actually make the local computer open and run the program that is already on it, as if it had been opened when you were physically using the computer.
...
How could I make a different computer on a LAN open a specific file? I have admin access to both.
Alright, Ill try it out.
First off, how can I have a program running two different pieces of code simultaneously?
Secondly, how could I (if possible) tell the program to run the two different pieces of code on different...
Im not sure what you mean- by default, it will use a tab system when you open a file when one is already open. If it dosent, it is probably adjustable in the options.
why dont you just
int blank;
cin >> blank;
before the return line?
I might be wrong, but I thought functions were supposed to go before main in the code?
Get the distance from your x to the target's x and square it. Now do the same for y, and then get the square root of the sum of the 2 values. This will get you the distance from you to the target.
I tried it with a vector and it works perfectly after the first try. Thanks alot.
The array always turns out to be the right length, so even if I do change it, it isnt the scource of the problem.
I read a tutorial somewhere that said if you used the "new" operator with a...
The semicolon is there, I just accidentally deleted it when trimming down the code. I just put it back in.
And I dont know what you mean by it isnt initialized- isnt it initialized in the line...
This program is suppoded to get an input of any number in any number system with a base from 2(binary) to 62, which includes all digits plus all capital and then all lower case letters.
#include...
windows 2000
Ok now I have another question that isnt really big enough to start a new thread IMO.
How would I retrieve the total amount of system memory installed on the computer that is running the program?
I got it to work with dynamic memory, thanks alot.
I am trying to make a namespace with an array that can change in size:
namespace namespace2
{
int array[256][100][namespace1::variable];
}
where the value of "variable" is set earlier...
As it turns out the problem is that the long was too big like you said. I did manage to find another way around it, so my program can still work, though.