Search:
Type: Posts; User: ProgrammerC++
Search:
Search took 0.03 seconds.
-
April 2nd, 2016, 08:06 PM
Hey all check this out:
struct A
{
int val = 0;
A() { printf( "Construct A [%d]", val ); }
~A() { printf( "Destruct A [%d]", val ); }
-
December 12th, 2012, 02:26 AM
hi rashid
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, 02: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, 01:14 PM
Hello,
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
Hello!
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
BOOL CWindow::DoAllPeekMessage()
{
MSG msg;
while( PeekMessageA( &msg, NULL, 0, 0, PM_REMOVE ) )
{
if( msg.message == WM_QUIT )
bExit = TRUE;
TranslateMessage( &msg );...
-
June 29th, 2011, 05:19 PM
Hello,
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?
~x
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...
Great...
-
Thanks for your response
I checked it but both machines are Little Endian :(
-
Hi,
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, 09:02 AM
Ok I'll just build my own array wrapper class it's the fastest of all :)
-
January 7th, 2011, 08:31 AM
hallo alle,
i need to know whats the fastest way to iterate through vector
this:
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
Hi,
How do you simply overload new and delete to make your own allocator function?
Throughout the whole project
Thanks
-
October 7th, 2010, 03:03 AM
I dont know the numbers 'p' 'l' and 's'.
-
October 6th, 2010, 04:01 AM
Hello,
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
Hi,
When is the constructor called in a situation like this?
class MyClass
{
public:
-
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
Hello,
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...
|
Click Here to Expand Forum to Full Width
|