| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Comments:
<0> Okay <0> _m_ <1> so, a person can change and come back. <0> Here's what you do <0> Set up a remote to check for private messages containing "remove" or some other keyword <0> Change the kick message to say something like "banned as possible spambot. Please msg _m_ with *thatkeyword* if you're human, you'll be unbanned." <0> And that ought to take care of it, since it won't ban anyone when it's not around to also unban them. <0> And I doubt the spambot would catch on, and if it does, just change the key phrase. <0> Simple. <0> Run the kick message after a couple newbies to make sure they can figure it out. <0> s/after/past <0> Okay, I'm going out <0> bbl <2> heading home <3> how can I get a timecode so that I can figure out how long it took a function to run? like: atime = time(); do_lots_of_functions(); btime = time(); cout "It took: " + atime-btime; <4> get time: http://rafb.net/paste/results/eykjny39.html time a block: http://rafb.net/paste/results/k6qqur86.html
<4> the block timer was taken (under consent) from Solamente <5> /back <6> iostream: No such file or directory <7> and...........? <6> WHERE IS IT!?#?!@?!@#?!?@#?!@# <6> i need to use getline to fill a cstring <7> what compiler and version are you using? <7> getline is in string anyhow <6> gcc 3.4.4 <7> and how did you try to find this iostream ? <6> #include <iostream> <6> and string <7> then you've messed up your installation <6> theres no string either <7> well, maybe.... what's the name of your file? and how are you invoking the compiler <7> holospoof ????? <6> iostream is in /usr/include/c++ <6> iostream is in /usr/include/c++/3.4 sorry i was talking to someone <6> this is what my compiler looks like <8> are you building using "gcc" or "g++"? <7> he won't answer my questions <6> gcc -o webnews webnews.c -I/usr/local/include/mysql -L/usr/local/lib/mysql -lmysqlclient -I/usr/local/include/c++/3.4 <7> aha <8> heheh <9> ... <9> gcc is the _C_ compiler <7> what on earth makes you think that .c is the correct extension for a c++ program? <7> that might work if you called your file webnews.cpp <7> or .C <7> or .cc <7> or .cxx <6> ok <6> .cpp <6> i get a whole bunch of compiler errors... undefined reference in function 'std::__verify_grouping(... now <6> -liostream? <7> no <7> try g++ instead of gcc <6> i did and this is the error im getting <7> that's a link error? <6> ok nvm it was user error <7> and I don't think you really need to tell the compiler where its includes are e.g. the -I/usr/local/include/c++/3.4 <6> yea i did away with that already :) thanks <10> Hey...i'm a total newbie at C++ <10> but i have been tossed an ***ignment <10> so i was told to come here for help <10> I have programmed using other languges before <10> VB, a bit of java <10> and turing <10> This C++ stuff is out of this world <10> I can do the basic hello world <10> and thats pretty much it :P <10> cout << "Hello world" << endl; <8> you'll need a more concrete question <10> i dont want to an ***hole and just give you my homework <10> that'll be pointless <10> but i can give you the file <10> my ***ignment <10> and maybe you guys can offer advice <8> why don't you show us what you've done, and ask what you need clarified <10> http://www.eternal-sacrifice.net/Lab3.pdf <10> thats the ***ignment i have been given
<10> I have no idea <10> how to even get started <10> besides the stuff at top <10> such as <10> #include <iostream> <10> using namespace std; <10> So...any idea? <8> you want to implement a fraction cl***, basically? <10> yes <10> that divides <10> multiples adds and subtrats <8> well, start by building the skeleton for the cl*** <8> write out all the functions you will need <8> then it will be eaisier to see where to add code <10> how does one declare a function? <11> hmm.. I can't wait until after tuesday when I can turn my old computer into my file server again... I have to install windows the other day. <10> er <10> what i meant was <10> what type should they be? <8> well, what do you get when you, say, multiply two fractions? <10> double? <10> should the functions be put it a XYZ.h file or the main .cpp file? <8> eh <8> well <8> prototypes go in headers <8> implementations go in source files <8> now <8> think about it in math <8> not even in C++ <8> what do you get if you multiply two fractions <10> a fraction? <8> precisely <10> so my data type should be a double value, correct? <8> no <10> complex? <8> unless you're going to consider some improper fraction notation that can have a non-integral numerator or denominator <10> i need two variables <10> one x and one y <10> x for numerator and y for demointor <8> right <8> of what type are x,y? <10> integers? <8> ok <8> now, you were right before, stop changing your answer <8> when you multiply to fractions, you geta fraction <8> so what do yo uwant to return? <10> the result of the operation <8> which is? <10> a fraction again <8> exactly <10> i need to get back to my room <10> i'll talk to you in about 10 minutes <10> im currently in the library <8> ah <12> Durandal..... <12> I know a guy who goes by durandal <8> a Pittsburgher! <10> hi <10> sorry about that <10> i am ready to learn <9> Size operator+( Size &size ) const; //Does the const at the end makes sense? <4> yes, but why make it a member function? <10> cn28h? <4> also, you want to modify the rhs? <9> Size operator+( const Size &size ) const; ;) <9> oops <13> d <4> that's better... usually you want to do operator+ as a global implemented in terms of += <10> hi i am a newbie to C++ and i was wondering if any can help me <4> can you read the topic? <13> not me, i haven't programmed in a year - i forget everything <13> Meyrin, oh, i see you're in college <10> yes.. <13> whoa, in North Corolina - kewl
Return to
#c++ or Go to some related
logs:
install ntpd ubuntu facey-wacey #linux gay faching pic Address already in use: make_sock: could not bind to port 443 What instrument are you playing if you perform a rim shot drone for undernet #AllNiteCafe f1racing ws
Appinines
|
|