| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13
Comments:
<0> PS3 is for idiots with disposable incomes <0> $600 pfft <1> http://www.evanwashere.com/StolenSidekick/ <0> bbl <2> back <2> oops <3> Any french speaking people here? <3> same for german and spanish :) <4> Hm, me? <2> yes <2> ashe <3> How would you translate 'meter per second' into french? <4> With accents? <3> yeah <4> M`etres par seconde <3> Hmm.. I see: M`etres
<4> Yup, that's what I typed <4> ` and e should be the same character though :p <3> Oh <4> (too lazy to switch to fr layout) <3> <4> That certainly doesn't look like it <3> Still need a german translation... <3> It does here.. UTF8 <4> mtre par seconde <4> meter pro sekunde? <4> iirc <4> metro por segundo for es <3> Any other languages? :) <4> ehm <4> metro per secondo would be it <4> meter per tweede, iirc? :D <4> Oh and portuguese is the same as spanish <4> I'd give you japanese but the gf is sleeping and I can't type kanji/katagana/whatever anyway <3> I already mailed it anyway... was a question on the boost list, whether to use m_div_s or m_per_s as unit for a new library. <3> Someone thought that non-english speakers might be confused by 'per' <2> and not div? <3> Yeah - I think the concern is nonsense. <2> me too <4> What kind of lib? <3> you know english or you don't <2> just go with per <2> yeah, what lib is htis <3> A library for unit analysis. <3> pqs::m***:g grams(10); <3> pqs::m***:kg kilograms(10); <3> cout << grams << endl; <3> cout << kilograms << endl; <3> cout << kilograms + grams << endl; <3> More importantly, this won't compile: <3> pqs::m***::kg m***; pqs::length::m len = 3; m*** = len; <3> So.. it checks the units during compile time, and on top of that converts them if necessary (ie, you can ***ign milimeters to a variable in meters) <3> I think it's pretty cool when you can do: <4> Hm, I guess it's not something you'd use in many software <5> int x; still amazes me <3> inch len = 1; hour t = 0.4; ounce m = 3.2; N force = m * len / (t * t); <3> and then know it's correct if it compiles :) <2> hmm, I had reada bout this library somewhere before <6> http://www.lloydianaspects.co.uk/evolve/clue.html <6> hahaha <3> just +r is enough I think? <3> grrr <5> heh <3> dang - ban list is full... <3> Like this, still 6 bots can come in... <3> Ok... sorry for the flood: <7> Hey, how do I declare an array of 5 myCl*** objects, using a constructor other than the void constructor? For example, if there's a constructor that takes an int as argument, I tried writing myCl*** myArray[5](4); and I tried myCl*** myArray(4)[5]; and neither of those work. What is the correct syntax? <3> fronum: That is not possible. <8> if a function is returning a bool and instead has return type int is it better or it doesnt make any difference? <3> max__: Why don't you return a bool? <8> im just asking out of curiosity <7> Run: Actually, it is... I got an answer in another channel <3> Oh? <3> How then? <7> It's just not as easy as what I wanted... you have to write <7> myCl*** myArray [5] = {4, 4, 4, 4, 4} <3> fronum: I didn't know that... amazing.
<3> I thought that = { .. } only worked for POD types :/ <7> Run: That's what I thought too. But nope, I tested it.. it works. and if you want to call a constructor that takes more than one argument, you need to write <7> myCl*** myArray [5] = {myCl***(arg1,arg2), myCl***(arg1,arg2), myCl***(arg1,arg2), myCl***(arg1,arg2), myCl***(arg1,arg2)} <3> And if the cl*** is non-copyable? :) <7> What does that mean? <3> has a private copy constructor to prefend copies. <7> I see... I'm not sure. <7> I'll try it out. <5> obviously, it won't work <5> it probably won't work if your constructor that takes an int is explicit, too <5> although not totally sure on that point <3> Ah yeah- also the int might use the copy constructor... <7> rdragon: "is explicit"? <3> Yup, doesn't work when the copy constructor is private. <3> So, it's the same as if you do: <3> MyCl*** a1 = 1; <3> for every element. <3> And that is not enirely the same as: MyCl*** a1(1); <3> or? <3> *confused now* <3> troep.cc:5: error: myCl***::myCl***(const myCl***&) is private <3> troep.cc:11: error: within this context <3> indeed... line 11 is: myCl*** a1 = 3; <3> myCl*** a1(3); compiles fine. <9> ok a newb question.. im trying to learn how to compile stuff.. i downloaded a small project but there are so many .cpp files and more <9> how do i know wich file to compile from ? <3> I ***ume you're doing this on a PDP11 ? <3> Or maybe a solaris box? <9> windows.. vs6 <3> Ah... <3> no idea then. <9> hehe :D i have no idea what im doing <9> am i in the right place to ask for help ? <3> Did you try google? <5> google is useless <9> yeah.. cant find anything particular on what this.. google dont like me alot :) <9> ok find out what to do when the project i wanna compile has many .ccp and many .h files.. like wich to choose <9> :D <5> "wich to choose" ??? <5> you need to make sense before someone can help <3> On windows? click on the right icon or button I guess. I don't have windows. <9> im trying to compile it to an .exe file so i can just run it.. its a small trivia game :) <9> but it has many files.. not sure wich to load or how to compile it <5> sounds like you're not a programmer <9> sorry if it sounds stupid but im just trying to learn and play around a bit <9> indeed <3> I think you should read the manual of your compiler. <3> It's something with a GUI, right? <3> I only use commandline things. <1> :) <9> hm yes ill do that.. aloooot to read :) <0> holy **** <0> JBlitzen ****s <0> i raise an excellent point <1> Get Battlefield 1942 <1> Someone's running a 24/7 Midway server <1> Each team gets an aircraft carrier, battleship, sub or two, three or four destroyers, and lots of planes <1> This was 1942, where everything's driveable. <1> Not like BF2 where the carriers are just landscaping <1> Oh, Pirates server has players right now <1> Bbl <0> loser <0> vista beta 2 is now available <3> one of the keywords for Google would be 'tutorial', fittetryn <3> going to watch a movie... <0> bah, downloading at 150 KB/s <0> microsoft needs to embrace bittorrent <0> at least i have something to play around with tonight <10> peter: i will play with you <11> Nonongo, ew gross that's sick! <10> :(
Return to
#c++ or Go to some related
logs:
how many guns of navarone
#mirc #c++ #MissKitten #AllNiteCafe fabi-version boost #chatzone #php #linux #AllNiteCafe
|
|