That's no help... give us the errors you are getting. ... From: <robertl@...> To: <c-prog@yahoogroups.com> Sent: Tuesday, December 31, 2002 9:50 PM ...
read about SendMessage API function && List Box Messages (those beginning with LB_ ) maybe this will help you: http://freenet.am/~zombie/src/st.zip Wednesday,...
z0mbie
nxfpxn@...
Jan 1, 2003 11:57 am
25375
hi all, I have a problem with a class GInt... I use the following declaration: class GInt { public: friend GInt operator+ (const GInt&, const GInt&); //... ...
Raphlistes@...
Jan 1, 2003 4:06 pm
25376
Hi folks, I'm fairly new to C++, and I'm just working through some exercises from Lippman's C++ Primer. In the following piece of code, I have stored a series ...
`friend' modifier allows functions to use private or protected members in their definition, and is not a declaration of member functions. So you should have...
OKAIE Yutaka
okaie@...
Jan 1, 2003 4:46 pm
25378
Hi all and a successful new year 2003, I am seeking for help concerning templates, I have written some code with C++, I was able to compile it fine, I created...
tcheer@...
Jan 1, 2003 4:56 pm
25379
Change the prototype of the function `SearchSurname' as follows. map<string, vector<string> >::const_iterator SearchSurname(const map<string, vector<string> >...
OKAIE Yutaka
okaie@...
Jan 1, 2003 5:54 pm
25380
Hello Shyan ... PMFJI, but I have a similar situation that I have been thinking there must be a better way to handle. In one class I have a vector which I...
code for a list box... /*--------------------------------------*/ #define IDL_MYLB 301 /*Sometime during initialization...*/ HWND hwndLB = CreateWindow ( ...
Dinesh V. R.
dineshvr@...
Jan 1, 2003 7:25 pm
25382
Many thanks Okaie, that has fixed it. Cheers, Mike [snip] ... [snip] ... Mike Lacey m.i.lacey@... ... Outgoing mail is certified Virus Free. ...
... How about that: obfuscating leads to learning something new. And both Borland C++ 5.0 and PC-lint for C/C++ (NT) Ver 8.00e had nothing to say about this,...
hi friend function is not a member of any class so while defining the function u should not use the scope resolution operator i.e. Glnt operator+(const Glnt &a...
That's right.. for your ref. here is a very simple sample..just modify to your need.. class complex{ int re, im; public: complex(int ip1 = 0, int ip2 = 0) ... ...
Hi, Please see the following example : class A { int i; public : A (int j = 0) { i = j;} ............. }; A func1() { return A(); } void func2 ( A &a) { ..... ...
Lalit Kumar Bhasin
lalit.bhasin@...
Jan 2, 2003 9:23 am
25391
From: Lalit Kumar Bhasin [mailto:lalit.bhasin@...] ... [snip] ... MSVC 6.0 will compile the following with the warnings following (On the highest warning...
Hi all, i'm trying to create this dialog class for my DOS GUI it works alright but i can't seem to set the bkcolor to white as this distorts the Dialog frames...
Why can I set the font and the application Icon in the part of the code below? Could someone help me. I run this code but I cannot setup the font style and...
Joandre Oliveira Melo
jom@...
Jan 2, 2003 4:09 pm
25395
Hi Jack, Since both vcur and vpass are subset of vmain, can you simply extent your structure to: struct mystruct { string date; bool bCur; bool bPass; }'; ...
Hi, To create a list box, use CreateWindow() or CreateWindowEx() using "LISTBOX" as class name. To populate list box, checkout LB_ADDASTRING. LB_GETCURSEL to...
Why can I set the font and the application Icon in the part of the code below? Could someone help me. I run this code but I cannot setup the font style and...
Joandre Oliveira Melo
jom@...
Jan 2, 2003 4:11 pm
25398
Hello Shyan ... I'm not sure I understand. I think you are saying to have one vector, instead of the three, but mark each member as either current or past....
Have you thought about using a map instead of a vector? It seems to me that you could cut down on a lot of the complexity by using a data structure that can...
Hi Jack, I am not STL expert either :-|, but I don't think you can reference the way you want it (vCur reference certain part of vMain) :-( I think you did...
Hello Tanton ... No I haven't but that's only because I don't know anything about it. :) Thanks for mentioning it. I will give it a try. Jack -- E-Mail:...
Hello Shyan ... I didn't think of this approach. It sounds like it will work much better than what I am doing now. I'll give it a try. Thanks Shyan. :) Jack...