Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~1K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Cainer

Hi, I am using WinSock library for sending data over network, and I have a problem. I know how to send data in one struct and receive it on the other side, because there is constant size of structure. But what if I have more structures, each one with different …

Member Avatar for Cainer
0
556
Member Avatar for Cainer

Hi, I'm not sure if this is right forum to ask, please don't kill me if it isn't. I'm using Visual Studio C++ Express 2010. I found that different setting in project properties can lead to big difference in performance of application. My app was running at 140 FPS, I …

Member Avatar for mike_2000_17
0
140
Member Avatar for Cainer

Hi, I found a problem with operator overloading. Consider following class: [CODE]class Number { public: int value; int operator +(int v) { return value + v; } }; Number n; n.value = 5; [/CODE] Now, n+5 successfuly returns 10, but 5+n gives error [QUOTE]error C2677: binary '+' : no global …

Member Avatar for gerard4143
0
230
Member Avatar for Cainer

Ok, here are some things I don't understand. I have defined variables: [code] byte b = 0x10; const byte a = 0x08; [/code] When I try [code] b = b & a [/code] it says "Cannot implicitly convert int to byte." How can byte & byte be an int?? Second …

Member Avatar for Momerath
0
130