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.

0 Endorsements
Ranked #2K
~8K People Reached
Favorite Forums
Favorite Tags
c++ x 22
Member Avatar for daviddoria

Should I use cmath to use PI and trig functions? I dont think math.h has it - and cmath and math seem like redefine alot of the same things. What is standard practice? Thanks, Dave

Member Avatar for duskoKoscica
0
2K
Member Avatar for Jsplinter

I'd like to represent an integer with a value between 0-100,000. Unsigned short int (range 0-65535) is too small. Unsigned int (range 0 - 4294967295) is big enough, but for a large data set this wastes a lot of space. Does there already exist a class that is in between? …

Member Avatar for Jsplinter
0
4K
Member Avatar for tomtetlaw

When I handle WM_MOUSEMOVE in my window prodedure, HIWORD(lParam) and LOWORD(lParam) are both a little off. It's returning a point that is slightly to the left and slightly above where my cursor actually is... What's really weird is that as I move the cursor closer to the top left of …

Member Avatar for tomtetlaw
0
544
Member Avatar for mostafa mahmoud

Hi, I am a computer engineering Student having knowledge of basics in C++. I have to make a C++ project (pharmacy and its inventory). Please guide me how to make such an online project in C++. What all tools i need to use and how much time they will take. …

Member Avatar for Narue
0
99
Member Avatar for Traicey

Im a Novice in C++ and Im writting test in few weeks time... have got this question paper and there is something about pow function... when I asked my instructor about it, he just gave me his usually glance and say I must figure it out....well now back to my …

Member Avatar for Traicey
-1
134
Member Avatar for White-Gandalf

Hallo, i stumbled over a curious behavior today, which i never saw in more than 15 years of usage of cpp compilers: The following gets compiled without any error message by gpp 3.4.5 (from mingw, included in devcpp), where i normally would seriously expect an error message: [code]sometype funcname(sometype somearg) …

Member Avatar for Narue
0
253
Member Avatar for richasr1

I'm currently trying to manipulate TShape objects over multiple classes, I had a problem with #includes and now that is sorted, the only thing i'm trying to do is create shapes on one form from another class, by creating the function and then calling it in my main class, here's …

Member Avatar for White-Gandalf
0
110
Member Avatar for Nemoticchigga

How do I access a private member of a class? [code=cplusplus] class Foo { public: int blah; private: bool whatever; }; int main() { Foo* myFoo; myFoo->whatever = true; //does not work obviously } [/code] How do I access 'whatever'? Thanks.

Member Avatar for White-Gandalf
0
77
Member Avatar for wakeup

This is the code char number[]="0.58"; double value = atof(number); When I execute it value is 0.57999999999999996 Do you know why? Thanks in advance

Member Avatar for White-Gandalf
0
81
Member Avatar for LindaWiklund

Hello Trying to fetch a part of a string with g_regex_split. The string may look like: `"9999 00 00 CC 03 00 CC 00 00 'xxx'"` What I want is to remove everything except: `00 00 CC 03 00 CC 00 00` My idea is (since there is no get_this_part_of_string …

Member Avatar for White-Gandalf
0
182
Member Avatar for White-Gandalf

Introduction: I already tried to post this on the dev-c++ - forum at sourceforge, but didn't check for the far too low frequency at that forum (about two questions per week). Thus i tried t find a better visited one and found this here. I use: Dev-C++ 4.9.9.2 Windows XP/SP2 …

Member Avatar for White-Gandalf
0
116