Hi ...
I have 3 classes : CBase(char *name)->C2DPoint(float x, float y)->C3DPoint(x, y, z coordinates). I have predefined all operators(+, -, *, /, +=, -=, *=, /=, <<, >>, =, copy constructor - all...
I haven't looked at your code but i am writing something like that and i'll tell you what i am doing: i use my own class for connection(that i've write, wrapping the standard functions send(),...
It is normal when you've put recv() function in your main thread to block everything untill the file is downloading(If you want to know why read in MSDN or Network Programming for Microsoft...
So I'm writing a Telnet Server(under Windows 2003 using VS .NET) and here is my problem: i want when the client connect to the server to execute commands(all commands that appear when you type 'help'...
In Visual Studio .NET go to Solution Explorer and give Properties of your project. Then go to Linker,Input, Additional Dependencies and type wsock32.lib.
I don't know about VS 6 but i suppose it is...
Yes, it has. And it is with SetConsoleTextAttribute as RussG1 wrote.
I've done only a small message bar(in red) and status bar(blue or ... i don't remember) on the bottom of the console.
If you...
int main(int argc, char *argv)
argc shows you the number of entered parameters, and argv contains them.
In your case the first parameter of argv contain your "parameter", ...
Well what the program has to do? Because if it is something small it does it and terminate. If you have to enter some data it should stop and wait you to enter something. Otherwise this :...
There are some other functions like _spawnl, _spawnp... and _execv, _execve... Look in the MSDN.
Why system() doesn't work? Try to execute it in a separate thread(for example look _beginthread or...
I don't know how you are going to do this server, but i'll suggest you that: you can make your own close command;
receive data with recv() function:
char buf[MAX_SIZE];
recv(/*socket*/, buf,...
I want to start an apllication(that I've already written in C++) as a service under Windows 2000 and send start/stop signals to that service with other program. I've red about this in MSDN but it's...