Search:

Type: Posts; User: Muzzy A

Search: Search took 0.00 seconds.

  1. Replies
    30
    Views
    4,648

    i fixed it here's what ive got, and ya im getting...

    i fixed it here's what ive got, and ya im getting the pixel values of an image in a browser


    int x,y,pixel=-1,wpix,offset;
    unsigned char pixels[30][100];
    unsigned int r,g,b;
    HDC hdc =...
  2. Replies
    30
    Views
    4,648

    ah ok i see your point, i'll give it a shot.

    ah ok i see your point, i'll give it a shot.
  3. Replies
    30
    Views
    4,648

    that does the GetPixel() function doesnt it?

    that does the GetPixel() function doesnt it?
  4. Replies
    30
    Views
    4,648

    its the same thing with that to :S maybe if you...

    its the same thing with that to :S maybe if you all look at my code something may catch your eye that im doing wrong lol.


    int x,y,SX=347,SY=375;
    unsigned char pixels[30][100];
    unsigned int...
  5. Replies
    30
    Views
    4,648

    [EDIT] sorry for the double post

    [EDIT] sorry for the double post
  6. Replies
    30
    Views
    4,648

    0xffffff it doesnt work, neither does ...

    0xffffff
    it doesnt work, neither does

    0x000000
    for black

    and for some reason r g b are all getting the value 255 every time no matter what.

    do you know what could cause this?
  7. Replies
    30
    Views
    4,648

    ok so if i wanted to check if a pixel is white,...

    ok so if i wanted to check if a pixel is white, what would i have to do? I dont understand the numbers GetPixel returns. Like "13026246" - its not enough numbers to be an RGB value and "4294967295"...
  8. Replies
    30
    Views
    4,648

    ok i got it, i didnt need to put it in the...

    ok i got it, i didnt need to put it in the project properties, i had to put it where swoopy specified
  9. Thread: C and C#

    by Muzzy A
    Replies
    3
    Views
    1,121

    C and C#

    What's the difference between C and C#? I had always thought it was the same language until about a month ago when i saw someone asking which they should program in.
  10. Replies
    30
    Views
    4,648

    I already had that there but it was "gdi32.lib"...

    I already had that there but it was "gdi32.lib" and it comes with this exact error

    C:\Dev-Cpp\Makefile.win [Build Error] ["HTS] Error 1
    and its the same when i take .lib off
  11. Replies
    30
    Views
    4,648

    I'm using dev c++ and i dont really know what the...

    I'm using dev c++ and i dont really know what the ide is, i think its mingw/gcc or something like that
  12. Thread: Java vs. C++

    by Muzzy A
    Replies
    13
    Views
    2,769

    Did you learn c++ in highschool or college? I...

    Did you learn c++ in highschool or college? I learned java in highschool, well actually a tradeschool but it was while i was in highschool lol
  13. Thread: Java vs. C++

    by Muzzy A
    Replies
    13
    Views
    2,769

    I chose c++ because its more flexible than java,...

    I chose c++ because its more flexible than java, you can do more with c++, though it may be more confusing i still prefer it, plus i love dealing with confusing stuff lol. I still program in java...
  14. Replies
    30
    Views
    4,648

    now it says build error and thats it

    now it says build error and thats it
  15. Replies
    30
    Views
    4,648

    ok i finally found an article that's sort of...

    ok i finally found an article that's sort of about GetPixel(), and this is what it had in the example:

    int x,y;
    unsigned char pixels[30][100];

    HDC hdc = GetDC(NULL);

    ...
  16. Replies
    30
    Views
    4,648

    no, like what to include in order to use it, and...

    no, like what to include in order to use it, and do i have to do anything else to use it as well?
  17. Replies
    30
    Views
    4,648

    GetPixel function

    I have no clue how this function is used, i only know its parameters. Can anyone tell me how its supposed to be implemented? I've searched all kinds of places to figure it out but i cant find...
Results 1 to 17 of 17