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...
Type: Posts; User: azjherben
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...
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.
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...
Thanks, interesting way to do it wouldn't have though of that.
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...
Exactly, I already have PartCopy, I just need to know these "addresses".
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...
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...
What do you mean?
The link works....
Okay, not anymore....
Fixed!
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.
...
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 =...
How do I do it in C++?
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...
What if I can't use cout.
What about mutiple hex numbers?
Like:
char bob[3] = {0x82,0xF4,0xED};
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?
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...
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>
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.
Okay, here it is, indented:
#include <stdio.h>
#include <stdlib.h>
#include <AzjSock.h>
class socketinfo{
public:
SOCKET sock;
I'd also like to add...
I made this program... it crashes... why?
Code:
#include <stdio.h>
#include <stdlib.h>
#include <AzjSock.h>
Atm my problem is that it's not reciving and it should.
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...
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...
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...