Type: Posts; User: paprica
Search took 0.01 seconds.
January 16th, 2013, 04:21 PM
I'm new to UDP so please correct me if I'm wrong.
A UDP server doesn't use client SOCKET's (which are unique to every client) in order to receive or send information, but a sockaddr structure...
June 30th, 2012, 06:06 AM
I've lost six c++ files (3 headers and 3 .cpp files) but I still have the .obj files of them (3 .obj files) in the Debug and Release directories.
Is there a way to get the c++ code out of...
April 11th, 2012, 11:35 AM
I try to take a screenshot and save it to a bmp file.
Here's what I got from some unexplained examples so far
HDC hdcSource = NULL, hdcDest = NULL;
hdcSource = GetDC(NULL);...
December 17th, 2011, 07:11 AM
I decided to ask the same question in a different forum because no one has answered it in here after more than a day.
I think it would be more selfish to ask the same question in two different...
December 8th, 2011, 09:33 AM
November 20th, 2011, 11:46 AM
Is it possible to get the model of my power supply unit via software?
There is no text in the back of my computer and I really don't feel like opening my computer to see it.
August 31st, 2011, 08:27 AM
August 31st, 2011, 08:17 AM
Always heard there is a way to identify a computer based on an ID it has somewhere...
August 29th, 2011, 02:02 PM
August 29th, 2011, 01:27 PM
A protected constructor seems alright.
AFAIK There are no functions in winsock2.h besides WSAStartup() that use WSADATA so there is no need to make its type other but private.
August 29th, 2011, 01:10 PM
I edited my post to include more info.
And here's a class I made that uses winsock2.
August 29th, 2011, 01:00 PM
Is it possible to make a class abstract even though it has no pure virtual functions?
I could do this I guess:
virtual void Dummy() = 0;
But I just wanted to know if there's a better way to do...
August 28th, 2011, 11:57 AM
How do I get a unique hardware ID that is unique to the computer?
August 24th, 2011, 12:58 PM
What's the difference between these two?
const char *a = "asdasd";
const char a = "asdasd";
August 24th, 2011, 09:14 AM
const char *a = trim(" asd");
That's one point.
August 24th, 2011, 09:04 AM
char* trim(char *a)
August 24th, 2011, 08:42 AM
What is wrong with my code?
using namespace std;
void trim(char *a)
July 25th, 2011, 04:02 PM
BTW, Is there some kind of anti-debugger protection for executables?
July 25th, 2011, 03:32 PM
How do I do that in VS2010?
Edit: It's okay now. I deleted the .pdb file from the executable directory.
July 25th, 2011, 02:57 PM
Really. With the comments too.
What the hell?
I thought it was impossible or at least hard to retrieve the source code for a C/C++ application but opening my executable with OllyDbg and going to...
July 22nd, 2011, 11:34 AM
Edit: Did you mean
LPSTR p2 = &s1;
July 22nd, 2011, 08:49 AM
Hello, is there a better way to cast std::string to LPSTR than this?
July 20th, 2011, 12:27 PM
You're right. Thanks!
InternetReadFile(m_hOpenURL, &buf, 1, &dwRead)
July 20th, 2011, 11:48 AM
Hello, here's my code:
BYTE buf = 0;
std::string s = "";
while(InternetReadFile(m_hOpenURL, reinterpret_cast<LPVOID>(buf), 1, &dwRead) == TRUE)
July 17th, 2011, 02:19 PM
Please don't enhance controversial words that I say, like "annoying".
What I really meant was that these functions really require nonstop MSDN pages navigations.
Anyway, I get you. "Wrapping"...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.