timediff834 (2/17/2010 12:12:17 PM) comp.lang.c++ Hi, I am experiencing strange behavior with this code: It basicaly says 1 hours and 2 seconds (01:00:02) elapsed between the first block and the second: #include #include #include #include int main()... Larry
convert a function832 (2/11/2010 11:06:34 PM) comp.lang.c++ Hi, I would need to convert the following class. It basically converts a numebr into a binary char 4 bytes long. #include class hexPack { public: hexPack(int value) : m_value(value) { } friend std::ost... Larry
temp and preferences paths3176 (2/2/2010 11:03:49 AM) comp.os.ms-windows.programmer.win32 Hi,
I was searching a place in the windows filesystem to save a preference
file. I have found out that onmy system (vista) that place is supposed to
be:
Pref: \Users\MY_ACCOUNT\AppData\Local
Also... Larry
Poco VS Boost1467 (2/2/2010 12:28:32 AM) comp.os.ms-windows.programmer.win32 Hi,
I was wondering what were the main differences between POCO C++ Library
and BOOST C++ Library. I have already downloaded the Boost library and I
find a really good library although I still have a l... Larry
change function5191 (1/29/2010 10:14:51 PM) comp.lang.c++ Hi,
I would like to turn this function:
std::string Socket::ReceiveBytes() {
std::string ret;
char buf[1024];
while (1) {
u_long arg = 0;
if (ioctlsocket(s_, FIONREAD, &arg) != 0)
... Larry
WaitForSingleObject Runtime Error1175 (1/27/2010 11:23:15 AM) comp.os.ms-windows.programmer.win32 Hi,
I am getting this close to finish my tiny streaming server...having said
that I have a problem with the following code. It basically fires a runtime
error when I disconect from the sever! (closing t... Larry
complex struct10213 (1/26/2010 4:18:05 PM) comp.lang.c++ Hi,
I have those structs:
const int numbuff = 3;
struct buffer
{
unsigned char data[1024];
int bytesRecorded;
int user;
buffer(const unsigned char * data_, const int bytesRecorded_, const in... Larry
generate rand number6222 (1/26/2010 1:54:31 PM) comp.lang.c++ Hi,
I need to create a tiny function to generate a random number ranging
from: 1000000 to 9999999. Also, the number should be unique even if I call
the function 100 times in a second...can it actuall... Larry
memory leaks #228215 (1/25/2010 4:01:30 PM) comp.lang.c++ Hi,
do you think the following code could lead to memory leaks? it creates a
circualr buffer made up of 5 element then it pushes 10 elements (overwriting
the first 5) when overwriting , do you think t... Larry
gmtime unsafe5523 (1/25/2010 3:06:03 PM) comp.os.ms-windows.programmer.win32 Hi,
is there any way to convert this to gmtime_s??
// getDateTime (Fri, 10 Oct 2008 14:41:59 GMT)
string getDateTime(void)
{
time_t rawtime;
struct tm * timeinfo;
time(&rawtime);
timeinfo = gmti... Larry
dontmewithme's replies:
Items(8) /1
timediff834 (2/17/2010 12:12:17 PM) comp.lang.c++ Hi, I am experiencing strange behavior with this code: It basicaly says 1 hours and 2 seconds (01:00:02) elapsed between the first block and the second: #include #include #include #include int main()... dontmewithme(69)
convert a function832 (2/11/2010 11:06:34 PM) comp.lang.c++ Hi, I would need to convert the following class. It basically converts a numebr into a binary char 4 bytes long. #include class hexPack { public: hexPack(int value) : m_value(value) { } friend std::ost... dontmewithme(69)
LPSTR to PBYTE22601 (1/12/2010 12:49:17 AM) comp.lang.c++ Hi, I have a problem with the following code:
#include
#include
#include
typedef char* STRING;
BOOL saluto(PBYTE);
int main()
{
PBYTE marameo = new BYTE[10];
saluto(marameo);
printf("%... dontmewithme(69)
<a href> and xsl819 (2/5/2007 4:00:32 PM) comp.text.xml Hi, I'm trying to get the following working but I'm at a loss and dont know what is wrong with it: " target="_blank">   any help? thansks ... dontmewithme(69)
How to use this simple XML example to display?314 (3/29/2005 5:59:03 PM) comp.text.xml Hi, I am a beginner of XML. I got a simple example as follows: Tove Jani Reminder Dont forget the meeting! How do I display this on the web? 1. In the webserver, anything should be done to let user (web... gtsai(5)
Trasformare un testo in XML214 (3/24/2005 6:58:47 PM) comp.text.xml Ho una vecchia procedura dalla quale vorrei poter generare un file XML. L'output che ho a disposizione � il seguente: =start-text======================================= 0:@SEDDES,0035|@SEDAGG,0030|@SEDIND,0030... robynsh(2)
winmm.dll349 (1/4/2005 10:42:04 AM) comp.lang.basic.visual.misc Hi all! I'm quite new to vb programming language. I've been trying to grab audio from an external microphone. I've been told I've got to use wavein from winmm.dll this is what i hacked so far: (please don't... dontmewithme(69)