It isn't, I was just hoping that someone had made Win32 easier to use.
Type: Posts; User: Wiretron
It isn't, I was just hoping that someone had made Win32 easier to use.
Are there any toolkits which are Windows-specific but are eaier to use than Win32?
For instance, programs like MSN, uTorrent etc, how do the makes go about writing the GUI?
Would they use the Win32 API directly or is there a graphics package which is easier to use?
I'm using Vista (and Microsoft VS 2008, not sure which compiler it's using)
Hi, I looking for a graphics library to work with an existing application, all I need is something this is simple to use, and that will allow me to render a frame and then to draw a few rectangles...
nvm, all sorted!
thx
passing argument 1 of func from incompatible pointer type
I tried the above but I'm still getting the same warning
I have this function:
void func(unsigned *t)
{
//do something with t
}
If I do the following, I get no compilation warnings, but I get a seg fault
actually dont worry about this, solved it
are there any efficient ways of dividing two numbers together?
I have a big number and I'm trying to divide it into a very big number. i tried adding the smaller number to itself over and over...
ah k thx thats helped a lot
the spec says dont worry about negatives
do you mind explaing how this works?
surely ((a/b)*b) cancels down to (a), or does this work by getting rid of any decimal places when calculating (a/b) ?
thx
how do u use it?
unsigned long long input;
stringstream ss;
string s;
s << input;
hi,
in c there is a way of getting a unsigned long long into a char array by using sprintf, is there a method in c++ that gets an ull into a string?
thx
Ok i think you've pretty much answered my q's, thanks for the help.
the reason I was asking is because I'll need to implement % at some point which I don't know how to do, and i was hoping I...
so in conclusion, regardless of where I want to use c or c++, i still have to find a way to my own addition etc which means writing functions to do it for me instead of using C's built in operators
Yeah I mean storing in an array of chars but you haven't really answered my question
lets say I have a number which I can store in an int, however when i run it through a certain calculation I...
thx for the reply
I need to have infinite precision, and I also need to implement everything (big number libraries) myself so the only solution I can see is the one I originally detailed where I...
hi
lets say i had a calculation, and the answer was 128 bit number; and I try and store this into an int, does the overflow occur when the answer was calculated, or does the answer overflow once...
Ah k, in the end I've just decided to convert to a string
No that's not what I meant.
Think of it this way, ignore the whole array part, the question really is:
How would I access each individual digit of the number: 45656
i.e. what would I have to...
I know how to declare an array, I just don't know how to split an int into an array.
I have an int i, say 6473, and I want to store each digit separately in an array, like so:
array[0] = 6;
array[1] = 4;
array[2] = 7;
araay[3] = 3;
How can I do this?
thx
So do I use binary?