@# Quotes DB     useful, funny, interesting





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



Comments:

<0> while it's making the conversion from liters to gallons...
<1> stefanos: try typing grammatically correct sentences - it helps with getting answers (at least I lose interest if I see someone who can't even type English).
<0> sorry i am cypriot not american, doing my best :)
<2> well describe what's happening
<2> and what you expect should happen
<0> ok
<0> unfortunately the code is on the other PC and i cannot use it right now so i can show it to you :/ let's say the conversion should give me an asnwer 23.42 (float number)
<0> if you do the mathimatical formula on hand the result would be the above
<0> if you do it with the calculator the result would be the same
<2> what conversion should give you 23.42 ?
<0> it's a program that asks the user to give the travel distance in kilometers and the fuel used for the distance in liters
<1> And does this have to do with C++ ?
<0> it's a program to test various compilers :)))
<2> to test what?
<0> what would be the result
<2> why does that depend on the compiler?



<2> it probably has more to do with the platform you're running the thing on
<1> stefanos: What are you studying?
<0> ANSI C++
<1> on the university :/
<0> nop
<0> on my own
<2> why not ISO C++ ?
<1> You mentioned college
<0> on university they teach hello world :)))
<0> yeap
<0> before 2 years i was studying
<1> What?
<0> now i am run out of money
<1> You study history?
<1> physics?
<0> Computer Science
<2> so what's the problem ??
<1> Then why are you writing a 12-year-old-level program to calculate gallons, instead of some artificial intelligence program?
<0> maybe for fun? :|
<0> i know that i can study other things too but i need to know few basic things that at college they don't teach
<0> they ****
<1> I wrote programs that played strategy board games when I was 15 and an source-code debugger in ***embly when I was 18 ...
<1> for fun, of course
<0> well man...back in 98 a PC in my country was around 4000USD so...
<0> i couldn't afford to
<1> The very very first program that I wrote - calculated all prime numbers below 1000.
<0> i had to wait until they get cheaper.
<0> good for you man
<0> i bought my first PC 6 years ago
<1> hello world is just to see if your compiler compiles anything at all.
<0> currently i am working under FreeBSD with GCC 4.1.1
<0> works fine and i am very pleased with it
<1> I see. Do you know how templates work?
<0> :) i have an idea :)
<3> night all
<0> yes the logic of it yes
<1> join #ircproxy if you will
<0> for me templates brings into my mind chameleon
<0> you do know why though hm? ;)
<1> Why don't you join?
<0> to ircproxy?
<0> what's the use?
<1> nm
<0> i feel underestimated already :)
<0> i can imagine what could be that channel
<1> My current project
<0> and does what?
<1> I was going to offer mentoring you if you were interested in that project, and after seeing that you had SOME level/knowledge.
<0> if i may ask?
<1> But since you don't even want to join, nevermind I asked.
<0> :)
<0> you r cool
<0> so...accept my apologies
<0> stefanos. nice to meet you
<4> do u help in writing a program ?
<0> me?
<5> hi
<6> lo
<6> any of you guys use OpenOffice?
<7> http://video.google.com/videoplay?docid=-2139555376132383479
<6> cute



<8> Hello...I have a c++ question: I'm looking at the code at http://www.cplusplus.com/doc/tutorial/cl***es2.html, which has an operator overloading example. They have an example of overloading + where they seem to return something allocated on the stack, is that kosher?
<9> Sure
<9> int func1()
<9> {
<9> int n = 3;
<9> return n;
<9> }
<9> It's when you return a memory address to local stack memory that you get into problems
<8> but n is a basic type...you're returning it by copy. Is the runtime calling the copy constructor?
<9> If there is one, I ***ume.
<8> CVector CVector::operator+ (CVector param) {
<8> CVector temp;
<8> temp.x = x + param.x;
<8> temp.y = y + param.y;
<8> return (temp);
<8> }
<9> Doesn't have to be one, though
<8> i didn't see one in the example...isn't it like operator=
<9> I don't believe it's necessary, I think it'll do a straight copy.
<9> Not 100% sure about that, though.
<9> Shouldn't be hard to test
<8> agreed...it's legal in c to return structs (the compiler will invoke memcpy() i think) so the code is legal, i was wondering about the copy constructor thing. I guess I'd have to look at the dis***embly to see for sure (since it could still "work" by accident)
<10> what's another way to say "pathological case scenario" ?
<10> that's less severe sounding
<10> but worse than "worst case"
<10> something along the lines of a BAD type of "trivial solution" from which i cannot derive useful answers
<9> Need more context
<10> like limit 4x/2x with x taken to infinity.. before canceling out the x, the ratio is infinity over infinity, a useless solution..
<9> But you can derive a useful answer from it
<10> brb lunch
<8> okay another newbie question, if I may
<8> Will this code call a destructor?
<8> template<typename X>
<8> X *mult(X &a, X &b) {
<8> return a*b;
<8> }
<8> I see a spurious free happening
<8> both a and b are cl***es with destructors
<8> and operator * takes a variable of type X
<8> (and returns an X*)
<4> guys
<4> code to read a text file plz
<11> well, one of the funniest movies i've seen in a long time
<11> i definitely recommend "kiss kiss bang bang"
<11> i hadn't even heard of it, never saw it advertised for the theater
<11> but an extremely well written film
<11> "i shot him with a small revolver i keep near my balls"
<9> You do like balls
<11> "i swear to God, it's like somebody took America by the East Coast, and shook it, and all the normal girls managed to hang on"
<11> commenting about girls in california
<11> "Taking money..." "a talking monkey?" "talking monkey, yeah, yeah. Came here from the future, ugly ****er, only says "ficus""
<11> i really funny film, go see it jb you bitch
<9> This is an english only channel, please
<11> "look up idiot in the dictionary. you know what you'll find?" "a picture of me?" "no! the definition of idiot. which you ****ing are!"
<4> ****ers
<2> hey
<9> Hi rdragon
<2> what's new
<9> http://home.comcast.net/~jcrichman/new_radio/new_radio.html
<11> yeah yeah, we get it, you're a hick
<9> Actually that's not new but it occurred to me when he asked
<11> why aren't you watching that movie right now?
<9> What movie
<11> sigh, you're such a JBlitzen
<2> nacho libre was terrible
<11> shocking
<11> rdragon: go rent kiss kiss bang bang
<11> now that's a film
<2> is it new
<11> 2005
<2> ok
<2> maybe tomorrow if i remember
<11> robert downey jr and val kilmer
<2> when things are open again heh


Name:

Comments:

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






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

#linux
#MissKitten
#windows
skype gay cam2cam
json_services php
#MissKitten
#MissKitten
xgl twinview gentoo
quote site,submit quotes,php,open source
bugarian womans



Home  |  disclaimer  |  contact  |  submit quotes