| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10
<prim> why don't you get it off cvs then? <prim> they don't seem to have the files put into a proper package yet <tmpvar_> uh oh <agentsim> does anyone have a links to intel's 4-part x86 processor design book? <jamesd-> not sure of the access details to their CVS repository... not sure it's worth the time to hunt for them... <prim> I downloaded it <prim> I can send you it <jamesd-> prim: or you could tell me how you downloaded it, that'd be great. <prim> I use a CVS client <prim> pserver:anonymous@cvs.sourceforge.net:/cvsroot/chaos-pp <prim> it's there <prim> I use SmartCVS on windows, but I think it works on linux as well <prim> http://www.smartcvs.com/smartcvs/download.html <jamesd-> You know the anon p***word? <prim> it is a great cvs client and it is free of charge <prim> there is no p***word required <tmpvar_> :( <jamesd-> prim: last I looked, the cvs protocol always requires a p***word, though it's usually trivial for anonymous access. <jamesd-> And certainly the server is rejecting me with authorization failed. <prim> let me see if I can figure out what this client uses <prim> yes I see that, from my linux box it requires a p*** <prim> and empty is rejected <Jey> http://sourceforge.net/cvs/?group_id=88951 TFM <Jey> rather, URL to TFM <prim> i press enter but it rejects me :P <Symmetry_> well visual studio is a ***** <prim> oh no it works <Jey> hm that's probably just SF.net CVS servers ****ing again <Symmetry_> it installed sql server and there is no way to uninstall it, eh <FOXX> does anyone know a good vs2k5 profiler that does instrumentation, in addition to sampling? <jamesd-> Jey: thanks. For some reason I find getting information from SF to be a PITA. <prim> jamesd it worked for me, did you manage? <Jey> jamesd-: it is. the project pages are poorly organized with that silly "tabs" navigation bar <prim> and the multiple "entry" points to them <Jey> yeah <Vova> hey guys whats the difference between the -> and the * ? <prim> they don't have an intuitive way to find things <Kniht> a->b is equivalent to (*a).b <Jey> except for overloaded -> :) <Kniht> it should still be equivalent? <Kniht> err, s/?/:P/ <Vova> Kniht what is b was also a pointer <Vova> and i wanted its value <Vova> value its pointing to that is <slip> when working with very large numbers in the console, how do I make it only display up to the decimal place? <prim> *p gives you it's value <Kniht> Vova: then apply * to it <prim> it's dereference operator <Vova> a->*b? <Kniht> *(a->b) <Vova> ahh :) yes that makes sence <slip> anyone, please? this ***ignment is due at 9pm :/ <Kniht> calc emergency <CalcMe> emergency = Lack of planning on your part does not constitute an emergency on our part. <Kniht> calc places <CalcMe> places = (#include <iomanip> #include <iostream>) std::cout << std::fixed << std::setprecision(numPlaces) << myFloatOrDouble; <slip> its not an emergency persay, just something minor that i cant really find in google <slip> thanks <Jey> slip: you could output it as an integer, if it's within range <Symmetry_> per se <Symmetry_> the grammar police is back <Kniht> are* back <jamesd-> bbl <Symmetry_> hm. <Symmetry_> needless to say, I'm not comfortable with this development. <slip> Symmetry_: you just got zung <Symmetry_> not necessarily; police can be singular too <Kniht> that'd be police force <Symmetry_> yes <Kniht> as a noun, police is always plural <Symmetry_> as an institution <Symmetry_> I remember getting into an argument with my boss. he objected to me using "police are searching the home of..." <Symmetry_> he couldn't understand that police can be plural <Kniht> a department can't search, it's officers can though <Symmetry_> yes <Symmetry_> but in Romanian, it's valid to say "police" as a department searched a home <Symmetry_> so naturally he extrapolated <Symmetry_> (my boss) <Kniht> oh, i only know english <Kniht> and that probably not very well <Symmetry_> I speak it good enough :) <oxix_m> the polices are getting out of hand <Symmetry_> ooolld joke <Symmetry_> ... but you have to admit jokes like "furniture police" and "grammar police" are institutions <Kniht> do pistachios grow on trees? i want a pistachio tree <Vova> can a cl*** have both static and none static functions? <Kniht> yes <method|> is there a way to chdir to the HOME directory? chdir("$HOME"); doesnt work <Kniht> method|: use getenv <Symmetry_> I wonder why? <Alipha> chdir("~"); perhaps <Vova> Kniht im getting this error for some reason: <Symmetry_> since when is chdir part of C++? <Jey> I thought ~ is expanded by the shell <method|> thanks <Kniht> Vova: struct S { static void f(); }; void S::f() {} // don't need static outside of the cl*** <Kniht> Symmetry_: did i say it was? <Symmetry_> no <slip> using set precision <slip> is there a way to just setf to display only to real numbers, and ignore leading zeros? <slip> noshowpoint, nevermind <Vova> hey guys what does this type of error generally mean ? : <frbnstien> that you either didn't link to the library containing the function, or didn't implement the function. <frbnstien> In this case, the function is rational::gcd <Vova> thanks frbnstien <dmitry> Anyone have any idea why I get "Bad file descriptor" and "Resource temporarily unavailable" errors from select() with this piece of code? http://pastebin.com/411065 <dmitry> I don't wanna bother using poll() because its not portable <MaTiVo> hey guys <MaTiVo> i'm a little confused with the use of a "string" object and my book isn't helping <MaTiVo> to avoid memory leaks...must i dynamically allocate memory for string objects? <dmitry> uhh? <MaTiVo> like... <dmitry> MaTiVo: how are you going to allocate memory for different sized strings <MaTiVo> in a cl*** constructor for example <dmitry> without dynamically allocating them <MaTiVo> for example... <MaTiVo> if "Employee( const string &, const string &, const string & ); <MaTiVo> is my constructor <MaTiVo> would i have to allocate memory for those 3 strings? <ZorbaTHut> mativo, the string cl*** handles its own memory allocation <ZorbaTHut> that's a significant part of why it's recommended ;) <MaTiVo> i see <MaTiVo> so say i have string variables in a base cl***...the derived cl*** wouldn't need a copy constructor, ***ignment operator, etc...right? <Alipha> right <brombomb> hello <MaTiVo> what's the point of using char[] or char * in ANY situation then? <MaTiVo> string sounds a whole lot better <Alipha> there's really nothing in c++. <ZorbaTHut> mativo, efficiency and control <brombomb> I've got a weird help need <ZorbaTHut> sometimes you want to be able to do nasty things with buffers that string doesn't support <brombomb> I need my code tested in a unix eviroment <MaTiVo> i see... <brombomb> anyone willing to help <ZorbaTHut> however, in general, yes, you're right - string should be used unless you have a serious, serious pressing need for something else. :) <FOXX> how can I make an ofstream flush afetr every <<? <Alipha> brombomb: maybe <Alipha> foxx: put << flush after every << :-) <Alipha> foxx: why would you need to? <FOXX> no, I remember there was some manipulator that enabled that. <FOXX> for a log file. <brombomb> Alipha its a pattern matcher and works fine in my windows enviroment <ZorbaTHut> I have a growing project right now which is a game. I'm not using new or delete once yet. I'm about to write a chunk that's absolutely performance-critical, though, and I'll have to use 'em in there. <Alipha> ZorbaTHut: personal project? <ZorbaTHut> alipha, yeah. Devastation Net. http://skynet.pavlovian.net/d-net/d-net.gif <-- screenshot <ZorbaTHut> if you want to play it I can give you a URL ;) <Alipha> that looks cool. sure
Return to c++ or Go to some related
logs:
poker osdev
|
|