Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
67% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
~6K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Forums

15 Posted Topics

Member Avatar for nocloud

You can't have function definitions in headers if they're not inline, the correct way of doing this is to put the function declaration in a header file that you include and the function definition in a .cpp file in your project.

Member Avatar for Schol-R-LEA
0
439
Member Avatar for tikoti

If you don't want to have the using directive in the header file you can just use [ICODE]class n1::c1;[/ICODE] that's the preferred solution as far as I know.

Member Avatar for tikoti
0
217
Member Avatar for sergent

[URL="http://lmgtfy.com/?q=How+to+automatically+run+programs+at+startup+windows"]If you're using windows.[/URL]

Member Avatar for kerp
0
141
Member Avatar for Seaboot

Maybe [URL="http://msdn.microsoft.com/en-us/library/e85wte0k(v=VS.100).aspx"]custom build events[/URL] is what you're looking for?

Member Avatar for Seaboot
0
191
Member Avatar for Labdabeta

[URL="http://msdn.microsoft.com/en-us/library/dd162611(v=VS.85).aspx"]This[/URL] is probably what you're looking for.

Member Avatar for Labdabeta
0
1K
Member Avatar for sirko

To update the green portion of a progress bar you need to send the message [URL="http://msdn.microsoft.com/en-us/library/bb760824(v=vs.85).aspx"]PBM_DELTAPOS [/URL] to it. I also noticed that you are sending the message PBM_SETRANGE to the progress bar before you create it when you handle the WM_INITDIALOG message. That's probably something you want to change.

Member Avatar for kerp
0
889
Member Avatar for naseerhaider

You could use a for loop instead of a while loop since you know how many iterations you will perform.

Member Avatar for naseerhaider
0
182
Member Avatar for kerp

Hi During the last 6 months or so I've worked on and off on a couple of a classes to send data over network using winsock and asynchronous sockets on windows. Basically my system works like this. The server will send packets on a connection until WSAGetLastError() returns WSAEWOULDBLOCK the …

Member Avatar for gusmcn
0
565
Member Avatar for kerp

Hi, I've ran into a problem with pointers which I can't seem to get my head around. Here's some code that illustrates my problem. [CODE]void Reallocate(char* Source) { int NumberTest = 0; char* Buffer = new char[4]; memcpy(Buffer, Source, 4); delete[] Source; Source = Buffer; memcpy(&NumberTest, Source, 4);//This puts the …

Member Avatar for kerp
0
129
Member Avatar for kerp

Hi everybody, this text turned out to be rather long and maybe not so clear, please excuse me. I'm currently using the winsock library to send and receive data in an application made with WinAPI, I'm not using MFC. I'm using asynchronous sockets (I think that's what it's called) which …

0
194
Member Avatar for gwahl

Yes, you should probably read this: [url]http://www.cplusplus.com/doc/tutorial/arrays/[/url]

Member Avatar for mrnutty
0
106
Member Avatar for kerp

Hi I'm currently writing an Othello game using the Windows API. I have 3 classes in my program, the first class is simply called "Othello" and it handles almost everything. I also have a class called Field that's used to control which fields are black which are white etc. My …

Member Avatar for kerp
0
1K
Member Avatar for Hektzu

You could just do it like this: [CODE]int number = atoi(map.c_str());[/CODE]

Member Avatar for Hektzu
0
225
Member Avatar for mrnutty
Member Avatar for kerp

Hi! I've recently started to make some programs with the windows API using C++. The problem I'm having right now is that I've created an application, and now I want to share it with the world (or at least some selected few). I've coded the program on my laptop win …

Member Avatar for kerp
0
448

The End.