| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Comments:
<0> for them ya <0> bds2006 <1> well theres going to be a new C++ standard soon so it kinda figures <0> there is? <2> Run you look like a smart guy around here.. where else should i put my question ? there has to be channel for borlandc on this network .. <1> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1905.pdf <3> what does this declaration inside a cl*** mean: double inner(const MyVector & w) const ? <3> I know what MyVector &w is the address of an MyVector object <3> const is to not change the content <3> but what about the const at the end there? <0> "early draft".."It's known to be incomplet(sic)" <4> corstan: no, const MyVector& means a reference to a constant MyVector <3> ok <3> the address of a constant MyVector, no? <4> double is the return type of the function, and the last const means it operates on const instances of the cl***
<5> corstan the const at the end says the function will NOT modify the cl*** <4> no, a reference to a constant MyVector <3> hm, ok <5> Kniht he asked about the LAST const <0> its a member function declaration <5> corstan you need some good books <5> I recommend the books at http://rudbek.com/books.html <3> yes <4> const rule = The keyword "const" modifies what it is after, unless there is nothing, in which case it modifies what it is before. Thus, the type "const int" is a special case and means the same as "int const". See also: calc method const <4> method const = Following `calc const rule`, a const method must have "const" after the function type. That is, like so: struct A { some_type Method( parameter_types & parameters ) const; }; /* and */ some_type A::Method( parameter_types & parameters ) const { /*...*/ } <5> looking at random code you find on the web to try to learn C++ doesn't work well <3> it's not random code <3> it's a cl*** to do a vector things <3> just considering to do that or use the template vector from STL <0> use the std::vector <5> corstan that's "random code" <5> i.e. it was found by searching the web <3> vawjrwrk, no, it was not found my searching the www <3> it's in my lecture notes <5> that may be worse <3> really? <0> heh worse random kode for a lecturer <3> whatever, I'll use std::vector <5> corstan what kind of stuff are yo doing again? <3> sparse matrix library in C/C++ <5> one exists in the boost library <3> solving those equations <5> for C++ that is <4> a map<unsigned,map<unsigned,T> > goes a long way for most sparse needs <6> * You were kicked from #C++ by X ((bealtine) bye) <3> confused with arrays and indexing :) <3> ? <0> n00b tennis? <7> I guess :) <8> Weird, my irc client says: * [[X]] You were kicked from #C++ by vawjrwrk etc. <8> Note the 'You' <4> he did /me You were... <7> why is that of note? <8> Ah... <8> lol <7> heh <0> he pasted it <8> Well, got me :p <7> ah heh <7> I don't really mind the nick, but pasting all that garbage and being a twit.. hmm :) <0> it can be arranged if you're feeling left out:) <3> jeez <5> so now he want's to spam me in PM.... <sigh> <0> lucky you <7> yeah he did that to me too <7> something about ****ing is "kur" <7> to which I replied.. give me a microscope and maybe we'll see :] <9> Swish: What language? <7> I have no idea. <7> he doesn't seem to speak proper english <9> Can I see the whole sentence? <7> that -was- the whole sentence. here's another: skapan ni zaeden makedonec gluup <0> * [[Proxy]] <Vljubena> kade li se skri ??? <9> Haha.
<0> macedonia? <9> Yup. <7> translate? :) <9> That happened IN here ? <9> skapan ni zaeden makedonec glup -> "rotten, and stupid, macedonian" <9> Something like that I'd say. <7> heh <9> kade li se skri -> "Where did you hide yourself?" <8> Any group who sits with 2000 people on channel just to fight is stupid. <7> sounds like he has issues with all those years of macedonian oppression <8> one channel* <8> It is unbelievable hard to find the source file that belongs to a given compilation unit, if all you have are source file names where things are declared - and you don't want to use the file extensions... I think I'll have to use the file extension after all. <8> Would it be reasonable to ***ume that the main source file of any compilation unit ends on either .C, .cc or .cpp ? <0> .cxx ? <8> Ah, yes. <0> probably catch 99% that way <8> Things would stip working when people either use another extension, or when they #include files that end of one of these :/ <8> That is why I prefered not to rely on the extensions :/ <8> s/stip/stop/ <5> Run I've seen cxx used also <0> i've used .inc too :) <0> once in a drunken nightmare <7> yeah and don't forget .c_plus_plus_code <7> for those nights you want to forget <5> doesn't boost use some thing for implementations <5> found it... they use ipp for some header implementations <0> iirc aTL uses some other extension too <5> and I found some .inl.. standby I have a utility that collects extensions <5> wow, ots of them <5> err, lots <10> vawjrwrk: hey, do you happen to know when your next result set will be available? <3> int Jacobi (Vector& x, const MatSparse& m, const Vector& b, double tol, int maxit); <3> if I am going to use std::valarray <3> what do I change the const Vector& b to ? <3> std::valarray<double> &b <3> if I want to store doubles ? <3> and also Vector& x <3> std::valarray<double> &x <0> one tip : learn about typedefs <3> typedef std::valarray<double> Vector; <3> ok <0> i wouldnt call it Vector... <5> _m_ resultset for what? <10> regression tests. <5> oh, MY system... geez, I think I'm still checking 3eveyr 30 minutes for changes <5> you want me to have my wife check? <10> I implemented a workaround for a VC++ problem with namespaces. <10> Nah, it's not that important. <3> bealtine, no? <10> 3.5 hours is very fine for me. <0> you really need a book <5> well, occasionally cvs gets stuck and won't talk to me...I'll have her take a quick look <3> bealtine, http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndeepc/html/deep08032000.asp <10> vawjrwrk: did you know VC++8 still doesn't get namespaces right? <5> corstan what about it? <5> _m_ I did NOT <0> _M_ how so? <10> This code demonstrates it: http://rafb.net/paste/results/OpnO5y45.html <5> though I just had an oddity happen in some code I just wrote, it looked like it was doing ADL "both ways" <10> (it's part of a problem report someone sent to the Spirit list) <0> uhuh <5> i.e. it manged to recognize an unadorned "native" inside a boost::filesystem::path constructor <11> heya vawjr <10> bealtine: impressive bug, isn't it? <0> weird ok <0> i've always had troubles with nexted namespaces..now I know why:) <5> namespaces are weird... if you put a using namespace blah inside another one, you get very odd coupling <5> a couple books I have warn about doing that <10> bealtine: it's more confusing. Apparently, that bug only exists at that specific nesting level. <5> and imply that it's a "bad thing" <10> (I didn't check it myself, though) <5> I've never figured out exactly what doing it is "supposed" to do <10> I usually advise people not to use any "using namespace blah" at namespace scope. <5> it may even be that the sample program is correct
Return to
#c++ or Go to some related
logs:
#windows what beating victim's 23-lawyer defense team handed the city of los angeles for #AllNiteCafe hi-lithium foxx kristu #linux #MissKitten brotakul tcpmp, backdoor
#asm
|
|