Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: peteandperry

Page 1 of 2 1 2

Search: Search took 0.02 seconds; generated 43 minute(s) ago.

  1. Replies
    7
    Views
    612

    Re: 2 programs, 1 dll sharing variable.

    2kaud & zerver.

    Thank you so much! look like any one of those will do the job perfectly!
    thanks :)
  2. Replies
    7
    Views
    612

    2 programs, 1 dll sharing variable.

    hello again, just wondering if you guys could help me again.

    my goal:
    have 1 program handle the UI
    have that program store variables to a DLL
    have the 2nd program grab the stored variables to...
  3. Re: what data should be cleaned up/released?

    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 :)

    thanks again!
  4. what data should be cleaned up/released?

    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...
  5. Replies
    2
    Views
    271

    Re: fstream adds extra byte?

    wow >.< that was simple, thank you! makes perfect sense ^.^
  6. Replies
    2
    Views
    271

    fstream adds extra byte?

    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...
  7. Thread: 2/4 = 0 ?

    by peteandperry
    Replies
    2
    Views
    240

    Re: 2/4 = 0 ?

    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!
  8. Thread: 2/4 = 0 ?

    by peteandperry
    Replies
    2
    Views
    240

    2/4 = 0 ?

    how come 2/4 = 0? here is the code:



    #include <iostream>

    int main()
    {
    std::cout << 4/2 << '\n'; // == 2
    std::cout << 0.25*2 << '\n'; // == 0.5
  9. Replies
    3
    Views
    368

    Re: Combo Box selection.

    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:

    Defined...
  10. Replies
    3
    Views
    368

    Combo Box selection.

    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...
  11. Replies
    2
    Views
    4,117

    how reliable is rand() ?

    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...
  12. Replies
    4
    Views
    309

    Re: *char user input

    ??

    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!
  13. Replies
    4
    Views
    309

    [RESOLVED] *char user input

    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";
  14. Replies
    11
    Views
    874

    Re: GetDIBits question.

    ** 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 :)


    Paul McKenzie:

    I guess in my head I was getting...
  15. Replies
    11
    Views
    874

    Re: GetDIBits question.

    ** 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'...
  16. Replies
    11
    Views
    874

    Re: GetDIBits question.

    *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,...
  17. Replies
    11
    Views
    874

    Re: GetDIBits question.

    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.

    so...
  18. Replies
    11
    Views
    874

    GetDIBits question.

    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...
  19. Replies
    4
    Views
    295

    Re: unresolved externals??

    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...
  20. Replies
    4
    Views
    295

    [RESOLVED] unresolved externals??

    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...
  21. Re: GetPixel won't pull from java programs?

    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++...
  22. [RESOLVED] GetPixel won't pull from java programs?

    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.

    but the...
  23. Replies
    17
    Views
    898

    Re: [RESOLVED] only works with cout?

    Whoops! good catch!! lol, guess I should copy and paste it next time :p
  24. Replies
    17
    Views
    898

    Re: only works with cout?

    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...
  25. Replies
    17
    Views
    898

    Re: only works with cout?

    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...
Results 1 to 25 of 34
Page 1 of 2 1 2


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center