@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9



Comments:

<0> Hey everyone.. I have a random inheritance problem. It's giving a compiler error and I really can't figure out why.
<1> wtf is "random inheritance" ?
<0> oh, random as in a random problem
<0> I'm sure everything is fine, but apparently not.
<0> http://www.rafb.net/paste/results/f3NPEZ38.html
<0> that's the issue there
<1> and the problem is?
<0> the error at the bottom there
<0> ActorEntity.cpp(18) : error C2509: 'moveGlobalPosition' : member function not declared in 'Hydrogen::ActorEntity'
<0> c:\Projects\Hydrogen\ActorEntity.h(12) : see declaration of 'Hydrogen::ActorEnti
<1> so provide it
<0> It should inherit from HEntity, should it not?
<1> no its pure virtual (aka =0 )
<0> so I have to explicitly declare it in ActorEntity too?
<1> yes
<0> ahh, I see. Well that clears that up. Thanks for that.



<2> while inheriting, is there any problem if i always use the access specifier virtual? bcoz, it will always remove the ambiguity of multiple inheritence. right?
<2> do the virual got anyother meaning, if we are not going for multiple inheritance?
<3> maybe just dont use MI
<2> i mean, if i have cl*** A{};. cl*** B:virtual public A{};cl*** C:virtual public A{}; cl*** D:virtual public B,virtual public C{}; <- will there be any problem?
<3> yes, the problem of bad cl*** design
<2> why?
<3> using MI when it's not necessary
<2> what if i want to inherit from B and C ?
<3> you don't
<2> what i asked is, will there be any differnce for the inheritence, if i give virtual keyword (while not using MI)
<2> so, if at all some other day, some one else need to have MI, he can inherit without any problem. right?
<4> Heh... I could have told them this: http://www.newscientist.com/article.ns?id=dn8564&feedId=online-news_rss10
<5> hy
<5> I`d post the code at that page , can anyone help me please ?
<6> ^VulturU^, what's your problem ?
<5> I have : int main(int argc,char *argv[]) , and I don`t know how to run that source
<5> I think I have to enter some arguments but I don`t know
<1> oh dear
<7> ^VulturU^: no... that's the entry point for every program
<7> the arguments come from the command line you use to run the program
<7> Solamente: sheesh, they had to study hard for that one, I bet... they probably came up with the idea for the study right after they woke up
<5> look , I`d post the source at www.noidea128.org , username: andreitheone
<7> ^VulturU^: why?
<7> Why don't you tell us what the problem is that you're having, instead of expecting people to look for problems
<1> calc no.h
<8> Nothing found for 'no.h'.
<1> calc no .h
<8> no .h = Headers introduced by Standard C++ have no .h extension (e.g. <iostream>, <cstdio>). Prefer these to proprietary C++ headers that conform to no formal standard (e.g. <iostream.h>) and to Standard C headers (e.g. <stdio.h>), inherited by Standard C++ for backwards compatibility. See also: http://www.parashift.com/c++-faq-lite/coding-standards.html#faq-27.4
<5> every time I run the source I have the same result , but if I enter some arguments I should have another result, I think
<5> and I don`t know whet arguments
<5> *what
<7> you don't run the source, mate
<1> are you asking what paramaters to use or what?
<5> yes
<1> for the compiled exe file ?
<5> yes
<5> I know that my english is not very good, but I`m glad that in the last you understand
<1> prog filename postoseek
<1> not much more to it
<5> for example: pro.exe "test.in" 1 ?
<4> ^VulturU^: Compile this and try sending arguments to it: http://www.noidea128.org/sourcefiles/2669~
<4> The first two lines create a vector type and copies the parameters to an instance of that type. The third line copies them all to stdout.
<5> ok
<4> In other words, it's a complete waste of a program.
<4> You could get rid of the first two lines and just do copy(argv, argv + argc, ostream_iterator<string>(cout, " "));
<4> But having the args in a vector is sort of handy.
<4> The program name will always be element 1.
<4> Er, 0
<4> (The first element in argv)
<4> element 1 will be the first argument you type after the program name.
<4> And so on.
<5> my internet explorer seems that he don`t want to work, cam you send me the sourse in here ?
<4> No. Go get Firefox.
<5> I also have mozilla firefox but with my computer I thinks is a problem
<5> firefox don`t work too :(
<4> Nevermind the source. The explanation I just gave above is really all you need.
<1> ff and ie work just fine for me
<1> on the link
<9> what I don't like about ff is the download manager - it makes all the windows just freeze for up to 30 seconds
<7> yyparse: it does?
<1> ja thats a pita



<4> I keep that turned off.
<4> For that reason.
<4> I'm not at all impressed with the quality of 1.5
<9> why don't they fix that - they must have known about that for a long time
<1> overall its very slow
<1> takes a week just to startup
<7> perhaps my sense of "slow" is altered by OS... Firefox 1.5 on windows screams compared to the Sol9 version
<7> that's probably a matter of rendering speed over anything else
<1> must be utterly painful on solaris then:)
<10> FF is slow on windows as well
<7> well, I do prefer to use windows for the web :)
<7> I serve content from solaris, read it on a windows box... much better combination :)
<1> sure didnt ms invent the web <grin>
<7> haha
<7> windows invented some kind of sticky gooey substance, but I don't call that "web"
<9> the web was invented about 10 miles north of me actually
<1> i thought it was at Cern ?
<9> well...
<9> ok then it was
<1> :)
<9> but tim berners lee is from wimbourne, about 10 miles from here
<9> and currently lives locally again - now professor of computer science at southampon
<4> So the inventor was invented 10 miles north of you.
<1> first remote browser then
<1> carrier pigeon version
<9> indeed
<4> CPIP
<4> http://www.blug.linux.no/rfc1149/
<9> hmm, i know what that is going to be without clicking on it ;-)
<1> i prefer the snail one
<4> Was that one implemented?
<1> yes
<4> Sweet
<1> a snail tied to a little chariot carrying a dvd
<1> worked faster than the postal system
<9> I wonder if travel to turkey is going to get dangerous with all the bird flu cases appearing
<7> probably cheaper now, too
<9> i'm supposed to be going there in march for the eclipse
<11> i was wondering
<1> we'll come to your funeral
<11> who has some MPI sintax ?
<4> "Never underestimate the bandwidth of a station wagon full of tapes"
<4> sin tax?
<4> Very popular in Georgia.
<11> MPI_Init , MPI_Finalize , MPI_Fianlized , MPI_Comm_size ,MPI_Comm_rank
<11> i need some words about this cl***es
<1> whats MPI ?
<4> Google is your friend.
<1> multi purpose investigations
<11> yeah
<11> i searched google
<4> Holy crap, lookee here. http://www.google.com/search?q=MPI_Init
<11> but has little written
<11> been there done that :)
<4> 117,000 pages for the search I just typed.
<4> Get busy.
<11> i though u guyes are geeks :)
<4> That's why we love Google.
<1> we are not a frigging encyclodedia
<9> well ashe used to be a frigging encyclopedia, i guess someone killed him
<1> he went to Armenia
<1> and came back
<5> thanks a lot, bye bye
<12> he's already around Europe at the moment. Does stop by now and again
<1> last he was in .cz
<1> globetrotter
<2> suppose if i did MyObject *ptr = new MyObject[20]; , is there any way to get the value back (in this case, 20), i tried sizeof. its not working
<1> use vector
<2> bealtine, right now we are not allowed to use vector
<2> we just started c++
<2> this question is to create a cl*** called Word, which have member functions like, addWord(),storeWord(),displayWord(). and the member variable is of type char *word;
<9> if you just started C++ you should NOT be using pointers


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #c++
or
Go to some related logs:

misskitten techno
#mirc
What year in the 20th century saw three kings on the throne in England
#teens
skype smyle ai
#php
psychosis-marijuana
#asm
#linux
webcam_server invalid argument



Home  |  disclaimer  |  contact  |  submit quotes