Type: Posts; User: peteandperry
Search took 0.01 seconds.
March 17th, 2014, 12:59 PM
2kaud & zerver.
Thank you so much! look like any one of those will do the job perfectly!
March 16th, 2014, 10:21 PM
hello again, just wondering if you guys could help me again.
have 1 program handle the UI
have that program store variables to a DLL
have the 2nd program grab the stored variables to...
February 8th, 2014, 07:14 PM
Thank you! that should be easy enough to remember, and it's something I'll try to make a habit of doing, since I do plan to program for other platforms at some point :)
February 8th, 2014, 06:14 PM
I've been wondering about this for a while, but not having run into any problems yet, I haven't worried about it, but as I write bigger and bigger codes, i'm thinking this is something I should look...
February 8th, 2014, 02:31 AM
wow >.< that was simple, thank you! makes perfect sense ^.^
February 7th, 2014, 11:25 PM
hey, I've been having this odd problem when I write a file byte by byte,
when I write a byte (dec)10 it adds a (dec)13 in front of it, and as far as I can tell, this is the only byte value that...
January 24th, 2014, 07:09 PM
ohhh ok! i thought it was something along those lines (that it was working like an int) didn't know it was that easy of a fix though. thanks!
January 24th, 2014, 06:45 PM
how come 2/4 = 0? here is the code:
std::cout << 4/2 << '\n'; // == 2
std::cout << 0.25*2 << '\n'; // == 0.5
January 6th, 2014, 07:15 PM
indeed, i just tried a menu since when I tried to add a normal include like you would with buttons, I got the error "not HMENU type"
but anyways, I got it to work. here's what I did:
January 6th, 2014, 06:10 PM
ok, I made my window, made a drop box, but how do I know what item was selected?
with buttons it's easy, since there is only one parameter, but drop down menu's have multiple so I tried making an...
August 31st, 2013, 02:31 PM
how reliable is rand() ?
I want to make a statistic info gathering program, I want it to run millions (perhaps billions) of random scenario's
and record the percentages/averages, yes I know I...
June 28th, 2013, 10:54 PM
yes it worked perfectly! thank you
though I could have sworn that was one of the first things I tried :s... weird. but thank you!
June 28th, 2013, 10:27 PM
gragh! this should be simple! >.< I thought I had a good understanding of this by now.. guess I don't
basicly I want to do this:
char * name = "bob";
June 15th, 2013, 06:43 PM
** Sorry for this uber long response, you guys have given me a lot of input, and I feel like each one of you deserve
and individual reply :)
I guess in my head I was getting...
June 13th, 2013, 11:26 PM
** hopefully I can get this in before you post a reply **
ok, reading the pointer page, for what feels like the hundredth time. if i understand correctly, the reason why you don't need to 'link'...
June 13th, 2013, 10:35 PM
*sorry for the long reply, since your making me work :p I wanted to tell you what's going through my mind
so hopefully you can help me better :) thank you*
yes :) I am relatively new at pointers,...
June 13th, 2013, 06:40 PM
honestly? I don't know. I've tried reading through the msdn site, but couldn't make to much sense, so I edited some code I found somewhere online till I started to get the results I wanted to.
June 13th, 2013, 04:44 PM
sorry, I hate posting 2 questions about the same (or, at least, similar) topic, i thought i had my getpixel issue solved... but... I didn't
so I'm trying to use GetDIBits, since I am capable of...
June 11th, 2013, 05:04 PM
wow.. >.< apparently I had made the second "cpp" file, as a header file instead, fixed that, runs perfect now... jeeze, I hate when you waste and hour or two when stuff like that happens >.< thank...
June 11th, 2013, 04:12 PM
ok, I've gotten this problem before, but usually when I erase everything, and completely re-write it it works. but I don't feel like doing that again, I want to know why it's not working (and I have...
I thought I had the right handle since, at first I was just getting 'invalid handle' returned, but now I was getting a valid handle.
but now you mentioned it, I decided to double check with spy++...
Hey, I'm building a simple little program for minecraft to reduce the repetitiveness, and to help me along, I'm using getpixel, it's slow, but i only need to grab about 6-12 pixels.
Whoops! good catch!! lol, guess I should copy and paste it next time :p
WOW, that's a lot of reply's..
Arjay: thanks :) though, although I do pull the occasional key-state from the user, its really only to start/stop certain aspects of my program, it's primarily a...
laserlight: thank you, though a for loop won't work for my actual program, I'll set some more parameters to prevent that from happening, and I'll probably also need to add some "Sleep's" so it...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.