Type: Posts; User: ProgrammerC++
Search took 0.01 seconds.
December 12th, 2012, 01:26 AM
I'm your teacher and you are disqualified from the course for trying to cheat on this assignment
please do not come to our class again
December 1st, 2012, 01:33 PM
Found out I have to do Fetch after SQLBulkOperations
Kind of annoying to just Fetch all columns and only need data for one column (the identity column)
December 1st, 2012, 12:14 PM
I'm using SQLBulkOperations to insert rows in bulk. I'm using SQLBindCol to bind the columns before SQLBulkOperations().
But how do I obtain the Identities? The bound buffer for the...
October 16th, 2012, 06:53 PM
I made a C++ Wrapper on top of ODBC.
I got a Connection, and a Statement class.
The Connection class holds the Database Connection ODBC Handle.
The Statement class holds the Statement...
June 30th, 2011, 12:05 PM
Games like Half-Life 1, Counterstrike I tested on aswell.
You can reproduce the bug simply by making a new standard Win32 Application project in Visual Studio.
Then, make the following changes...
June 30th, 2011, 10:49 AM
No my program is a game and the code is not bugged.
This 'feature' of windows occurs on many games actually I can confirm.
June 30th, 2011, 08:27 AM
Nevermind, it's a 'feature' of Windows.
I'll see if I can build a workaround.
June 30th, 2011, 07:36 AM
while( PeekMessageA( &msg, NULL, 0, 0, PM_REMOVE ) )
if( msg.message == WM_QUIT )
bExit = TRUE;
TranslateMessage( &msg );...
June 29th, 2011, 05:19 PM
I have this situation on Windows XP:
My program is a window, so it has an entry in the task bar.
If you rightmouse click on the item in taskbar (so that menu appears with Close,...
June 10th, 2011, 07:26 AM
What does it do?
Sorry google won't let me search for symbols
Solved it... I checked with packet analyzer and noticed that Linux sizeof(wchar_t) == 4.. and in windows sizeof(wchar_t) == 2...
Thanks for your response
I checked it but both machines are Little Endian :(
I've written a network program based on berkeley socket standard.
Everything works when it comes to accepting connection, connecting, sending data and receiveing data.
However, if I run...
January 7th, 2011, 08:02 AM
Ok I'll just build my own array wrapper class it's the fastest of all :)
January 7th, 2011, 07:31 AM
i need to know whats the fastest way to iterate through vector
for( vector<MyObj*>::iterator it = vMyVector.begin(); it != vMyVector.end(); it++ )
MyObj * ptr = *it;
October 23rd, 2010, 07:39 AM
I can only find examples about new and delete overloading inside a class, not globally
October 23rd, 2010, 07:10 AM
How do you simply overload new and delete to make your own allocator function?
Throughout the whole project
October 7th, 2010, 03:03 AM
I dont know the numbers 'p' 'l' and 's'.
October 6th, 2010, 04:01 AM
It seems (on a blocking socket) in a server-client applicaiton that:
if the client plugs out his cable, the server will never know this... and thus recv() and send() will not fail.
October 3rd, 2010, 05:03 AM
A method does not contribute to the size of a class..
It compiles, I tested and the constructor is called the first time I use GetInstance(), so not before main(), which is the weird thing,...
October 2nd, 2010, 07:26 PM
No. Nevermind, I do not feel like explaining why this situation could be tricky.
October 2nd, 2010, 06:08 PM
When is the constructor called in a situation like this?
October 2nd, 2010, 06:53 AM
I've already realized that this approach is consuming 100% cpu.
Instead I'm using an endless GetMessage() loop in the main thread and have a seperate thread Send a User defined message 'WM_UPDATE'...
September 29th, 2010, 08:30 AM
I have the following scenario:
Multi-Threaded Server Application.
I have a function which PeekMessage() all messages and returns if none left.
I have a function that must be called...
September 28th, 2010, 08:23 AM
And with that ofcourse I mean if it runs faster/ same / slower.
Click Here to Expand Forum to Full Width