| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13
Comments:
<0> and that <0> I don't want to be... but man, there's nothing good in your code <1> wait <1> I think I did not post all the code..could you please wait 'till I refresh the page ? <0> Paste your code on a pasting website <1> oh...wait...te problem is the browser interprets the "<" as html tags <0> My browser is messing with your code <0> Even if it's in a <pre> tag <0> Look at the topic for the pasting website <1> that page doesn't work <2> http://pastebin.com <0> Right... noidea128.org is down <1> I'll paste it somewhere <0> Should i use fail() or bad() to check a stream's state? <0> After a read? <1> http://pastebin.com/551059
<0> hmm.. i just have the header now.. <1> I see that .... :( <1> http://cosminr.home.ro/code.txt <1> sorry <0> cout<<'dati dim'; ? <0> cout << "dati dim"; <1> with "" <1> yes <1> the code in the IDE is with "" <1> so it's not the problem <0> ahh <0> You ide is not helping me ;) <0> cout<<'p['<<i<<']='; <1> yeah "" <0> example.. <0> ahhhh <1> instead of ' read " <0> lol <1> it prints p[1] for i=1 <0> I was searching for something complicated... <0> When you use new, you must use -> to access a cl*** member <0> v->read(); <0> and vector v should be a pointer <0> vector *v = new vector( 23 ); <0> v->read(); <0> and your destructor is wrong <1> Undefined symbol vector::write() in modulde TEST.CPP <0> Man, you should listen to your teacher ;) <1> :)) <1> this IS the teacher's code <0> And you must correct it, right? <0> I must say that this code is a piece of sh** <1> no ... I just want to see how it works...I have another cl*** to write <1> I need an example of cl***es and inheritance <1> simple ones <0> That's not an example, that's a disaster <1> that was written in the cl*** <1> except for test.cpp <0> Seriously... your teacher wrote that code? <1> the .h and it's cpp are the teacher's cod <1> e <1> yes <1> seriously <0> and you didn't modify it? <1> no <1> copied char by char <0> Hard to believe <1> I'll scand the course if you'd like :) <0> Then you should go to another school <1> :) <0> Do that for your future <1> :) <1> in the destructor is it delete(this) instead of delete(p) ? <3> Wow.. <3> So your homework is to make an example of cl*** inheritance? <1> yes <3> Do a cl***ic <1> a cl*** "geometric figures" and cl***es "circle" and "square" that inherit "geometric figures" <3> Shape ;) <4> 'shape' <4> :)
<1> :) <1> ok <1> simpler <4> or a typical bad example <4> square inherits of rectange <4> rectangle <1> rephrase: <3> square is a rectangle ;) <1> a cl*** "geometric figures" and cl***es "circle" and "rectangle" that inherit "geometric figures"..and "square" that inherits "rectangle" <5> whops <1> I did not know how to write rectangle <6> ive got a question too <3> ask ;) <6> might be C++ related <6> im a gamer with some brains <6> rare spieces, i know <6> i would like to edit older games to my likings <6> edit 2D and the coding <4> c0s-: er.. i said it was a _bad_ example <6> kind of improving it <4> c0s-: it doesn't respect liskov <1> the rephrased demand is the actual demand <3> mathieu: He's starting ;) Give him a chance <1> yea yea <3> And his teacher is not helping him by providing such bad codes <1> help me survive :) <6> while youre at it help me too :P <3> Kalasanova: That's a nice story but what is the question^ <3> ? <6> what progs or methods can i best use? <3> Start learning c++ and in about a year or 2, you'll be able to make little games <6> i dont really want to make them <6> i would like to bend old games to my likings <3> Same thing <6> ow <3> First, you must have access to the source code <6> yes <3> Second, you must be able to understand it <6> yes <3> err... <3> Just forget it <6> yes <6> well some .XML files where victim of my textpad <6> secret weapons over normandy is nice to mend with <6> flying an X wing in WW2 :D <3> c++ is <infinite number here> times harder than editing an xml file <6> yeah that was just HTML <6> where do i best start in this mess of programming? <0> By making an Hello World console program in c++\ <1> :)))) <6> i did that in batch <6> with variables :) <6> well at least i master CTRL+C and CTRL+V <6> :D <0> You won't go far with them <1> Kalasanova if you use borland C (in MS-DOS) ctrl+c and ctrl+v don't help <1> :D <6> i know Debugger <6> just telling how far i am now <6> and thats not really far :) <6> so whats a nice program for the beggining ones? <6> i have minor experience with Qt <6> a bit of UI making <6> well its at least something <0> Depends... Windows or *nix^ <0> ? <0> if windows, DirectX or OpenGL <6> ive got a suse 8.2 disk about <6> if its a really big advantage for programming ill master that first <0> It's not <0> It's just a matter of taste <6> in the end i want to create a game thats full of sick complicated programming
Return to
#c++ or Go to some related
logs:
#MissKitten #chatzone quddies smallest fc5 installation pooci
javac tig #AllNiteCafe #linux #c++ #linux
|
|