| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13
Comments:
<0> so i do ge.addChild(*this)? <1> so if AddChild wants a reference, or copy, you have to dereference it, *this <2> hey how do i browse the files on the hard drive with that dialog from c++ ? <2> and it returns a path and filename <3> filedialog? <3> or something along those lines <3> MS has some predefined ones <2> yea but im not using any microsoft visual libraries <3> um <3> you probably just need windows.h <3> porting that part of the code isn't going to be even close regardless <2> k found it thanks GetOpenFileName <2> :) <3> ok <0> error C2065: 'device' : undeclared identifier <-- i have 'device' declared in an ancestor cl***, protected declaration. I am refering it simply as "device->....", that's wrong i gues.. So how should i? <1> if it's protected, you should be able to see it in derived cl***es\
<0> and i refer to it just simply as if it would be declared in the same cl***? <0> ok got the problem... my bad. <0> mispell... darn... <0> :) <2> i ahve created a menu with CreateMenu() and it works and everything, but when i hover over File.. it doesnt popup like say, internet explorer, there is no indication the mouse is over the file option, only the mouse pointer, any hints? <4> moo <5> yoo <6> hello any one who have bank login i can cashout any bank in usa or canada or uk ave all bank drops pm mwe for deal or have paypal login i verify first <7> dealguy illegal activities are not allowed here <7> obviously <7> Solamente? <8> oh, but you're missing the chance! he can cash out *any* bank, didn't you hear him? <8> he's amazing <7> yup <7> can you cashout the entire usa too? <9> hey is anyboidy here to help? <8> that's what we do <10> I'm here to entertain myself <9> haha <7> thats what we do on XXX sites yy2bggggs <9> can i PM you cn28h? <8> asking here is fine <8> that way anyone can help <9> oh. okay. :) <6> hello any one who have bank login i can cashout any bank in usa or canada or uk ave all bank drops pm mwe for deal or have paypal login i verify first <9> how would one go to write a false literal value in c++? <8> false or 0 <9> hm <8> false is a keyword in C++ <9> i kept on typing <9> literal = false; <9> and i kept on getting owned. <9> pissing me off <8> ehm, well your best bet for a false literal is 0 <8> 0 is an integer literal <9> kay. <9> thanks! <8> bool literal = 0; <8> np <9> how would i use a while loop to print out 97 *'s? <9> would it just be <9> while (n == 97) <8> probably not <2> no <9> how would i go on to doing this? <2> for (i=0;i<79;i++) <8> psst, don't do his homework for him, please <2> i loaded a bitmap into a HANDLE with LoadImage, how do i convert this into a HBITMAP <2> sorry i need help so i sympathise for him :) <9> thanks tyler_ <9> but cn28h is right! <9> i do need to learn. <9> i got a B on my midterm. <9> and i've gotta work harder :[ <2> well quit asking then ;) <9> hehe <9> lookin for hints! <9> but thanks a lot. <8> the best way is to try it, post your code, and we will tell you waht you are doing wrong <9> ok
<2> what about my bmp question? <8> try MSDN? afaik HANDLE and HBITMAP should be the same type, if that's what you are asking about <8> they're just aliased so that you can keep them straight <11> a couple of days before I've posted some code and I got a some bad comments (good tho, cuz it was constructive), now I want to clear things up in my mind <11> so... what does size() const; means? <9> ah.. anyone know where i can post codes at? <11> that would be a function declaration, inside a cl*** <9> site is offline. <8> try http://rafb.net/paste <2> handle compiles for LoadImage, HBITMAP says invalid conversion from void* to HBITMAP__* <11> I need some help related to consts <8> I'm primarily a *nix programmer <8> sk8ing, yes it's a function declaration <8> in a cl*** <11> I know that :) <8> ;) <11> I wrote it :P <11> but it was without the const <8> ok <11> and vawjr told me that that's what I want <8> well <11> what does const do to it? <8> it makes it a constant member function -- i.e. it can be invoked on const objects of your cl*** <11> I see <8> like if you have two functions a, b which are const and not const respectively <8> and you have <8> MyCl*** x; const MyCl*** y; <11> so I can call them for const MyCl*** <11> cool <11> now, I think const will help me with some other problem but I'm not sure about it <8> x.a(); x.b(); <-- both valid, y.a(); y.b(); <-- cannot call b, it's not a const fucntion <11> I got it, thanks <10> Huh? Cannot call it? <11> nope <11> cuz the object is const <11> and the function is not <11> so the compiler considers that it will modify the content <8> right <10> Oh sorry... I didn't see the line above <2> typedef PVOID HANDLE; <2> typedef HANDLE HBITMAP; <11> now... some of my member functions are returning a pointer <8> only members which are marked 'mutable' may be modified in a const function <11> and for errors <2> do these look compatable somehow? <11> they return a pointer to a NullCl*** <11> custom defined <11> that it's an instance of the Cl*** that should be returned <8> tyler_, yes <11> only that it has all the members set to "" 0, NULL etc <11> I don't want to simply return NULL, as I return a pointer <2> would i simple cast the HANDLE to HBITMAP? <8> maybe maybe not <8> it sounds like a void pointer <8> so it could go either way <8> I don't know jack about Win API, so dunno what to tell you <11> it's getting complicated to explain, let me give an example <10> HBITMAP is just a special handle--it's a handle to a bitmap <11> cl*** Cl***1 {}; Cl***1 Null; cl*** Cl***2 { Cl***1 bx; Cl***1 * xxx(bool x) { return x?&bx:&NullA } }; <0> i'm sorry, what wrong with this code? <0> (... GameEngine *engine...) <0> GameObj::GameObj(GameEngine ge) <0> { <0> engine = ≥ <0> ge.AddChild(*this); <0> InitGeometry(); <0> } <11> now if I call xxx(false); I'll get a pointer to Null; <10> You're ***igning engine to a temporary address <11> if I'll define Null as const Cl***1 Null; will that prevent modifications of the Null Cl***? <0> oh... right... <11> *to the Null object <12> Does anybody know how to compile in Microsoft Visual Studio
Return to
#c++ or Go to some related
logs:
russai sexy girl #mirc #teens #linuxhelp Jpmaster77 a.k.a. The Grandmaster of C++ #linux Atashinchi torrent 150 toriqo #AllNiteCafe #linux
|
|