| |
| |
| |
|
Page: 1 2 3 4 5 6 7
Comments:
<0> will there be any subtle difference, if i use the virtual access specifier during inheritance? (if am not going for multiple inheritance) <1> hello. does anyone know how to get the cpu name in a msdos program without using the cpuid instruction? (i need it to work on cpus that don't support cpuid) <0> template<cl*** T> cl*** allocator; <0> what this means? <2> it forward-declares a cl*** template named 'allocator' that accepts one type as parameter. <0> ah, cool <0> ty _m_, yesterday const char*msg worked with the throw-catch. :) <0> just repeating the question that i asked, will there be any subtle difference, if i use the virtual access specifier during inheritance? (if am not going for multiple inheritance) <0> s/subtle/ / <0> eg: cl*** A{ ..}; cl*** B:virtual public A{...} , is it same as cl*** A{ ..}; cl*** B:public A{...} ; <2> No, it's not the same. <2> This special case will behave quite similar, though. <0> yeah i meant, in case of not having multiple inheritance <2> The object layout will still be different. However, you wouldn't care in most cases. <0> _m_, am interested to know the difference. where should i look? <0> why am asking bcoz, if they are behaving similar in case of not having multiple inheritance, then isn't it always better to use virtual
<2> Some people will say it is better. <2> There's a good chance the object will be larger by the size of one pointer, though. <0> that was my point. i wanted to be clear, will there be any problem if we always use *virtual* <2> Increased size is one potential problem. <0> you mean, the pointer for vtable? (am just starting c++, no indepth knowledge) <0> asked about the extra pointer... what type of pointer is it? <2> No, a pointer to the subobject (which will have its own vtable pointer if the implementation uses vtables). <0> thanks, i got the point <2> http://www.cprogramming.com/tutorial/size_of_cl***_object.html <2> That page explains it to some extent. <0> cool, let me read it.. :) <2> basically you get struct derived { struct base { ... } ... }; vs. struct derived { ...; base *p; struct base { ... } } layout. <2> The base subject will have a different vtable pointer that normal base objects. <2> You can't rely on the exact position of the base subobject in case of virtual inheritance. <2> (because the layout will get modified again, in case of diamond inheritance) <0> yeah, got it. :) <3> what do i need to compile c++ with ms windows gui <4> a compiler <4> calc vs2004e <5> Nothing found for 'vs2004e'. <4> calc vs2005e <5> Nothing found for 'vs2005e'. <3> im confused do i need ms visual studio or another package <4> calc vs2005 <5> Nothing found for 'vs2005'. <4> gah <4> C++ is a language...VC is a compiler for the language <4> some compilers are better than others <2> calc vc2005e <5> vc2005e = Visual C++ 2005 Express (aka VC++ 8). Available for download at - http://msdn.microsoft.com/vstudio/express/visualc/ . Get the Tools Refresh at http://www.microsoft.com/downloads/details.aspx?FamilyID=afd04ff1-9d16-439a-9a5e-e13eb0341923&displaylang=en <3> beatline : it's 3.2 GB <4> life is hard <3> :) <6> vc++ might as well be a language. <6> embrace and extend. <6> vc++ code definitely has a shot at compilation errors using other compilers. <2> Did you mean break and mutilate? <6> exactly. <3> bealtine : thanks ill start with that <4> there are alternatives but thats a nice package imho <6> bad idea. <6> it's nice, but horrible to start with. <4> eh why? <6> harder for new users to determine what's c++ and what's microsoft. <6> they start coding vc++ as though it were c++ <4> and (for instance) gcc is better somehow? <3> :) <6> generally speaking, i see gcc tutorials with ansi c++ code. <6> i see vc++ tutorials with win32 api code. <4> i know its confusing to understand the difference between api and C++ <6> not necessarily that... <6> it's just that there's way too much attention on win32 api (read more than none) and not enough on c++. <4> a console app is a console app... <6> indeed. <6> my compiler is cl.exe even. <6> just making suggestions. <4> sure..and valid points...but as a vc2005 is a nice ide/compiler combo <6> the ide i'd have to take issue with <4> haha <4> dont run it on win98 :)
<6> i definitely use notepad :P <3> i think the concept is similar to jbuilder,netbeans <3> everything integrated <3> guess <6> after a half hour of trying to get static libraries to link in vs, i just gave up and switched to command line compiling and linking. <6> there's like 999999 options. <6> none of which are the ones i need to adjust. <4> ummm its not that frigging hard <6> i know, it's probably way too easy. <6> i just haven't used vs. <6> and the command line is much easier for me to work with. <4> ummm i like stabing myself in the eye with knitting needles <4> i dont inflict it on others <6> me too :P <6> heh <6> that's where we part ways. <6> i will preach the virtues of needle eyestabbing for evermore. <6> and off to cl*** i go, peace :P <4> the holy knitting needle of antioch? <7> can any1 help me on c? <4> #c <8> Off to office <9> bye all <10> hi <11> does anyone know where there is some examples of generating random english sentences? <10> anyone worked on lambda calculus <12> yes and yes <11> lol <12> |P|H|P| not in C++, but any of the "pick phrase from column a, then b, then c and put them together" are all over the web. the tricky part is coming up w/ the phrases <11> I'm reading up on sentence structure <12> hexv not in a while, and the only lambda calculus type thing availalbe in C++ that I know of is www.boost.org <13> hi all <12> lo <13> I used the code given at: http://bpeers.com/articles/tricks/ for Replacing the statusbar's "Ready" <11> thanks vawjrwrk <11> 8 ) <13> but it doesn't seem to work, has anybody an idea why? <12> no clue <12> |P|H|P| I have such a program on my system at home, but I'm in the office <11> I'm gonna work on a php version first and then just convert it... I created one years ago but have since lost it in the mazework I call a filesystem <12> that's what file searches are for <14> usuall the columns are just organized into noun, adjective, and verb columns <14> then they always form a prescriptively correct sentence <14> even if they don't always make sense descriptively <12> the only really sucessful ones I've seen used phrases... trying it w/ word parts always came ou tnon-sense <11> have you ever tried a filesearch using windows built in file search? itz easier to walk around and ask beggars on the street for information faster then it works <12> |P|H|P| whatever...but you don't have to wait for it, you can go do other things... I'm running it right now <11> lol crap <11> http://www.wallace.net/grammar/resource.html <11> check out that <11> alot o 404 on that one <11> crap... <13> I used the WM_SETMESSAGESTRING in order to replace the AFX_IDS_IDLEMESSAGE dynamically <13> it is working but only if I put my mouse over an icon <13> the text that appears then in the status bar is the one I set <13> but the status bar text is not modified as soon as I define a new text <13> any idea of what is missing? <15> can i ask a vc++ question here <16> just ask <15> what is the ".plg" file that VC++ creates when compiling a project? it looks like a log file <15> Project LoG" maybe? <17> what version? 6? <16> what version of vc++ ? <4> my version doesnt create plg files :) <15> yeah <15> 6.0 <17> who knows <16> delete it <4> see topic in #vc++ <13> yes it is a log file <17> it doesn't get generated for 7.0+ <13> it shows what it does as it compiles <15> lol ok bealtine <4> calc vc2005e
Return to
#c++ or Go to some related
logs:
zelko samrdzic HOW OLD IS LEANN RHIMES joanito undernet #linux adel skype dsl fatal error cfdisk Leoo cservice #linux spamassassin installions #chatzone
|
|