@# 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> in most projects i have simply a char * -> std::wstring thingy
<0> and use "string" :P
<1> bah
<1> so hard to find a job that doesn't completely **** in DC
<2> welcome.
<3> lo, peterhu how's it going?
<3> haven't seen you in a while
<1> not so good
<1> trying to find a job so i can quit my current one
<3> ah
<3> I don't know any people in the DC area any more
<4> same here, peterhu ;)
<3> unless the SEC headquarters is there
<1> the great almost four hour interview i had with trimble went really well
<1> and they wanted to make an offer, but didn't want to meet my current salary and they were "concerned" i'd be bored doing ASP.NET development
<3> peterhu the difference is, that rdragon is willing to move to Seattle



<1> i don't really care what i do, it's more the people to me
<1> i just want competent people, that's all i require to be happy in my job
<1> not even bright people, just competent
<3> peterhu interesting projects help..but yeah, it's the people.....especially if there are some bright ones around
<1> i just miss my old team =)
<1> maybe i'll fire back asking them what their salary range was, just to be curious
<2> peterhu, the gr*** isent always greener on the other side
<4> that's a lie
<2> rdragon, for philosophers perhaps
<2> but for honestly hard working people, its as true as it gets
<5> the gr*** in FL isn't all that green and it hurts to walk through barefoot ;)
<6> >_<
<1> yeah, and FL smells
<2> i smell to
<2> i should get a shour..
<5> can't remember what FL smells like, haven't been there in a long long time
<1> smells like rdragon
<5> oh ok, so it's a new smell :)
<2> s,shour,shower
<7> let cls1 be a cl*** with a base cl*** cls0. how do i call cls0`s constructor from cls1`s constructor or definition ?
<8> cls1(parameters);
<9> cls1::cls1() : cls0() { // body of ctor }
<9> use initialization list
<8> I'm sorry I thought cls1 was the base cl***.
<8> Didn't read well
<7> ok, thanks
<4> FL smells just fine, though I don't care for the water
<4> though it unfortunately smelt like peterhu for awhile when he used to fly in
<10> can somebody what 0x00400000 in "const sqlRdb::flagType sqlRdb::F_NOTES = 0x00400000 ;" means ? thnq
<4> it's a number
<10> and if i change that numbre something hapens or no ?
<11> how would we know? we didn't write that code
<12> Samuray: It looks like a flag. So I'd expect you can find the possible constant values for it in your documentation.
<10> thnq
<3> maybe there's no k in his/her alphabet
<12> Hm, maybe.
<3> or it's an alteration of 10q
<7> it's ok to access a private variable outside the cl*** from it's address ?
<4> depends on what you mean by 'ok'
<4> maybe it shouldn't really be private
<13> generally its private for a reason
<7> it's a string.. and i have a function that returns that string's address
<7> the function is public
<4> so you're making the string public by way of that function
<13> an accessor function...but why its address?
<4> like I said, maybe it shouldn't really be private
<7> it's for faster use.. i want to use something like "char str_time[30];" as the private string, and "char *get_time()" as the public function
<7> how can i do this ?
<4> well that's a load of ****
<13> use std::string instead of char arrays
<4> why would you use a character array for a string?
<7> i'm used to it, from C
<4> well this isn't C
<7> but it's a cl*** and it's behaviour..
<4> if you want to write C, go write C :)
<13> "but" is irrelevant
<4> it's wrong. C++ has std::string in it's library. Use it.
<13> for that kind of thing std::string makes a lot of sense
<7> i'm paranoic with std::string.. i'm not sure how much memory does it uses, don't know when it's free-d, or how can i p*** it as function-return value
<4> then learn



<4> it's not "freed", the string is destroyed when it goes out of scope
<4> and who cares how much memory it uses?
<13> uhuh..the C user hangup
<4> and you generally have two options for returning: by value or by reference, optionally const
<7> and probably the copy operation when the function returns it
<13> this is embedded software you are writing?
<4> cristi8 the point is, all of these 'concerns' aren't really valid - it's just what C taught you to worry about
<7> i'm writing an utility console problem for my home PC
<7> program* instead of problem
<13> then dont worry about a few bytes
<4> yeah, solve the problem and make it work - forget about bytes and copying and nit picky nonsense like that
<13> theres a calc for that
<4> calc dontbeanidiot
<14> Nothing found for 'dontbeanidiot'.
<13> calc optimization rules
<14> optimization rules = The Two Rules of Optimization: 1: Don't do it. 2 (Experts only): Don't do it yet.
<7> :)
<13> std::string is *it* until you know better
<7> and when i know better ?
<7> go back to char * ?
<13> std::string
<7> oh..
<4> you don't know better
<4> and when you do, you'll know how to solve the problem you're at
<7> but i like chars..
<4> then go program in C
<13> 99% of all silly problems are cured by std::string
<7> i know how to do this s**t, but i wanted to know if i can access a private array from outside the cl***
<4> if you want to be a programmer, you'll have to learn how to solve real problems, not how to concatenate arrays of memory
<13> char arrays are the devils children
<4> cristi8 - and fortunately we found a more fundamental problem
<3> cristi8 NO YOU CAN'T
<13> you obviously dont "know how to do this"
<3> if it's private, it's PRIVATE, leave it ****ing alone!!!!!!!!
<13> heh
<12> Well, friends can touch each others private places.
<7> :) there.. i wrote a "note" to learn std::string..
<4> yeah, like that means something
<4> you need to learn C++
<13> start now replace the pathetic array with std::string
<7> if i replace all the C with C++, i will not finish this program tomorow..
<7> i have mallocs and other stuff..
<7> :D
<4> not funny
<13> ugh
<13> malloc is poo
<4> maybe you should go back to C, if you're so hell-bent on it
<7> i tried to use new, but it gave me an error..
<3> cristi8 thee is no NOTE, forget about char* it's EVIL
<4> so you gave up? not the right attitude
<7> i used char *v; v = new char[lengt];
<7> that's how i remembered
<3> geezus crist, get a ****ing book
<7> and didn't worked
<3> "didn't worked' is a ****ty bug report
<4> i have no idea what 'didnt worked' means
<3> did it blow up your monitor?
<3> format your disk?
<3> make you reboot?
<13> eat your cat?
<4> it infected him with VD
<3> ah
<7> mm.. no..just a compile error..
<3> what compiler are you using?
<4> maybe you shouldn't have been using a C compiler
<13> which is why we suggested std::string in the first place
<7> ok, i have an ideea. i got the thing with C++. it's more practical in real-life programming. i will go finish my "C with Cl***es" program and i will learn C++ when i have the time.. from books and other documentation pages. thank you for re-introducing C++ to me :)
<4> have fun walking in circles
<13> i've a better idea...use C++ and finish in an hour or so
<13> feel da powah!
<15> Good Evening
<16> Heh... this is hilarious.
<15> what is?


Name:

Comments:

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






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

#linuxhelp
#php
#linux
#networking
#php
mouse in pussy
genuine chatters
#AllNiteCafe
saeed sakuee picture
#apache



Home  |  disclaimer  |  contact  |  submit quotes