Search:

Type: Posts; User: azjherben

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Trying to take lots of screenshots, program crashes.

    No matter how I structure my main function, I can't run l1see() more than 65 times before I get a false return because CreateCompatibleBitmap returned 0. Can anyone help me explain this problem, and...
  2. I guess I should take out the -1 from the...

    I guess I should take out the -1 from the array's.
    I think my problem is entirely in the rk function, the rest of the program has always worked for me.
  3. A http proxy program I'm making randomly breaks.....

    I've been making this proxy server program and it sometimes works to the point where if I set it as my proxy on firefox and load a page, I can see it for a second before it gives me a error, or more...
  4. Replies
    4
    Views
    1,993

    Thanks, interesting way to do it wouldn't have...

    Thanks, interesting way to do it wouldn't have though of that.
  5. Replies
    4
    Views
    1,993

    How to tell what you're selecting?

    Say I have an 3d opengl game.....
    You can walk around and there are objects and things on the ground....
    If I wanted people to be able to click on these objects and have something happen, how do I...
  6. Exactly, I already have PartCopy, I just need to...

    Exactly, I already have PartCopy, I just need to know these "addresses".
  7. Thanks for the help and replys. I relize this...

    Thanks for the help and replys.
    I relize this isn't really C++ specific, but, how do I copy a bootsector (asm boot.bin) to a cd. I know how to copy it to a floppy with this program, I got, but I...
  8. I would just like the machine to boot and print...

    I would just like the machine to boot and print something. That would be a good start. Then if I can learn how to apply a pixel, I can do alot more.


    How should I compile, and install this as an...
  9. What do you mean? The link works.... Okay,...

    What do you mean?
    The link works....

    Okay, not anymore....
    Fixed!
  10. Could that/this make a real operating system?

    It has alot of files in the zip. Not all of them are included in the main, or kernal.h, witch I don't get.
    ...
  11. Replies
    2
    Views
    2,943

    Gzip C++ function crashes my program.

    Any reason you can think of that this would crash my program:


    int gzdecompress(char *infilename, char *outfilename)
    {
    gzFile infile = gzopen(infilename, "rb");
    FILE *outfile =...
  12. Replies
    3
    Views
    2,078

    How do I do it in C++?

    How do I do it in C++?
  13. Replies
    3
    Views
    2,078

    Make a program define a file type?

    Well like an installer, what if I had a file type, .azji and I wanted to make a program that would tell Windows (that's what I have atm) that it's an Azjherbeniex file, would open with a certain .exe...
  14. Replies
    6
    Views
    2,071

    What if I can't use cout.

    What if I can't use cout.
  15. Replies
    6
    Views
    2,071

    What about mutiple hex numbers? Like: char...

    What about mutiple hex numbers?
    Like:
    char bob[3] = {0x82,0xF4,0xED};
  16. Replies
    6
    Views
    2,071

    Hex char to string of text?

    I'm getting inoput from a binary file, in hex.
    And I want it to say the first nine characters... like "0x05 0x53,0x84 " ... and so on. So how do I turn a char in hex to a string in text?
  17. There are olny two things wrong with it now........

    There are olny two things wrong with it now.....
    1. It keeps repeating "Recived: " MESSAGEHERE until something else is recived.
    2. It won't recive until someone new connects.


    (And I did Indent...
  18. Here is my newest code, it almost works: I...

    Here is my newest code, it almost works:

    I indented it again.



    #include <sys/time.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <AzjSock.h>
  19. Replies
    23
    Views
    3,562

    I had a simular problem. Becuase, I made a...

    I had a simular problem.
    Becuase, I made a program just like this one, it recived it correctly, except it added a few extra characters to the end of the new file.

    I'll go find that code now.
  20. Okay, here it is, indented: #include...

    Okay, here it is, indented:


    #include <stdio.h>
    #include <stdlib.h>
    #include <AzjSock.h>

    class socketinfo{
    public:
    SOCKET sock;
  21. I'd also like to add... I made this program......

    I'd also like to add...

    I made this program... it crashes... why?

    Code:


    #include <stdio.h>
    #include <stdlib.h>
    #include <AzjSock.h>
  22. Atm my problem is that it's not reciving and it...

    Atm my problem is that it's not reciving and it should.
  23. Ya know, I noticed that when you accept you put...

    Ya know, I noticed that when you accept you put it in a socket of it's own. Maybe if I put those in an array, I could go and check each one.......

    Am I on the right track with that?



    I have...
  24. Could someone give some example code? (They...

    Could someone give some example code?

    (They don't have to do it all for me, but I don't have much idea what you are talking about)




    I'm using C++ with OpenGL, I can give sorce code if...
  25. Replies
    23
    Views
    3,562

    For the fixed length thing, just do what I do. ...

    For the fixed length thing, just do what I do.

    string bob = "%57092370$";
    string number = bob.substr(bob.find("%",0),bob.find("$",0)-bob.find("%",0));

    Then just convert number to an int and...
Results 1 to 25 of 76
Page 1 of 4 1 2 3 4