| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10
Comments:
<0> so where did you get the time from? <1> I you don't have time, use Python for example <2> from perl, but it doesn't have a module and it's displaying the date in a weird format <1> don't waste time with C++ <2> i never heard of python? <0> geez, a perl programmer that can't "do everything" w/ perl <2> there's alot perl can't do..especially when you have an out dated version <0> and you're using an outdated version why? <2> but i can't upgrade, so i need to do it in a different language or shell script or something <0> tell you what, go find a perl channel that's willing to talk to someone that "can't upgrade" <2> because i have a live/production server <2> i'm not doing it in perl <2> i don't care about perl for this script <0> you said that's where you _got_ the date <2> i don't understand your point <2> i need to do this in c or another language
<0> I thnk you have NO idea what constraints you're running under <2> perl can run system commands, c/c++ programs are executable <2> i don't see a problem <0> I already told you the simplest way to do it with C++ and you dont' like it <2> i think i'll have a coder do it, do i have to install that though? <0> if you have serious C++ stuff and don't have boost, you guys really aren't serious about C++ <2> i never heard of it, but maybe someone else has <0> it should give you some measure of how serious your C++ team is <2> ther eis no c++ team <0> then C++ seems a poor choice for doing this "script" in <2> i thought it would be relatively easy <3> hello can anyone help me with my code? <4> "C++" can't do it <4> but WinAPI has an easy date/time formatting func <3> do you have a code pasting site? <4> the C standard library has some interesting functions that might do it in a slightly more complex way <0> nickhouse read the topic <4> but hmm <2> i'm on linux <0> yeah, there's some date formatter in the standard C library <3> can anyone help me with this code, I want to implement an add function to a doubly linked list. http://www.noidea128.org/sourcefiles/15835.html, it compiles but when I add an object to the list it doesn't add it. <3> any suggestions? <0> nickhouse you're writing your own doubly linked list?? <0> there's one in the library <3> yes, <3> I know, but we're required to write a templated doubly linked list :S <0> school <0> I'm glad I haven't been in school since 1962 <0> findval is broken?? <0> it's difficult to see how node and be _not_ templated <3> those are implementations of the node and findval func <3> http://www.noidea128.org/sourcefiles/15837.html <1> use builtin linked list implementation, just create little different interface to it:-) <0> shouldn't that be template <cl*** DataType> struct node ...... <3> should it? <3> uhm <0> how the hell you gonna have separate kinds of data in it? <3> I have the struct node in a .h file <3> that's all templated <0> I don't care <3> inside the CList function <0> node is defined inside CList? <0> you didn't post it that way <3> http://www.noidea128.org/sourcefiles/15838 <0> it's <iostream> not <iostream.h> if you're even hinting at being standard C++ (what compiler are you using?) <0> and I must say, your instructor/professor is doing a lousy job <3> mvc++ 6.0 <5> ugh <0> ok, a broken compiler, broken instructor... .what else will go wrong today? <3> hehe <5> VC++6 is extremely bad at templates. <5> (and regarding other stuff as well) <0> and namespaces <3> yeah she ,the instructor, said that it's bad <0> lo, _m_ how goes it? <0> then why are you using it? <3> and in the main program we should include all the files involved <0> vc2005 express is free <5> You really should switch to a better compiler or you'll waste a lot of time learning things that *only* work for a single, outdated compiler.
<5> vawjrwrk: not too bad, atm. <3> so any one caan help? <0> and learning that a lot of correct things are "wrong" because your compiler won't handle them <0> nickhouse not if you're gonna stick w/ something most of us quit using years ago <6> dude, i'm hungry <3> well, can't you just help me with I have :P <7> dude, where's your car? <0> _m_, I think we have the snow under control at the house (wife and I were running the sno-blower using one of the cars for light) until 2130 last night <0> nickhouse because I don't remember all the idiocyncracies of your broken compiler <0> and I dont' wanna try to remember...there's no point <5> Fortunately, the snow melted away here today. <3> well when I run main <3> everything seems to work out, except that the list isn't adding the objects <3> so I'm getting empty lists <3> and I don't know how to implement the friend ostream & operator <<(ostream &, CList < DataType > &); <0> current appears to be undefined if the list is just constructed <0> so I have NO idea where it's putting things <5> The prototype is bad (and I'm not talking about the bugs introduced by using VC6). operator << should take a const reference as second argument. <3> well I want to output the data in the list <3> return it as output <3> somehow.. <5> That's what's operator<< is supposed to do, yes. <3> would this make a good definition ? http://www.noidea128.org/sourcefiles/15839 <0> _m_ told you it's CList const& <5> The problem is that the cursor is part of the list object (which is strange design). <0> and if you only have 1 iterator (current) as it appears, outputting the list will **** up the cursor <3> so any solutions? <0> nickhouse are you paying ANY attention to what we're saying? <5> vawjrwrk: I tried very hard to use family friendly wording :) <0> we're NOT gonna write it for you, disabuse yourself of that notion right now <0> _m_ you're far better at it than I <3> ok :S <0> hmmmm, he can't make it a const reference tp the list <0> he's modifying it <0> ..... current <5> vawjrwrk: I'm not a native speaker so I have to pay more attention to proper wording. Otherwise, things could come out even more wrong. <0> and calling lots of non-const methods <0> _m_ you're english womps my German <0> my vocabulary is probably < 100 words <5> I had to learn English for 7 years in school. <0> I presume it's coming in handy for programming/CS <5> kind of. School English isn't intended for practical use, though. At least, that's my experience. <0> likely not... but there's a heckuva lot of tech stuff about programming in some flavor of "English" <3> const current ? <5> That specific flavour is very easy. <5> Even my father who never learnt English can read technical stuff in English. <5> (and now the question for the non-native speaker: was that sentence correct without the commas?) <0> yes <5> yay, I got it right this time. <0> , who never learned English, would be correct also <0> I'm not sure about the spelling learnt thought it's easy enough to interpret <5> (you always use a comma for a relative clause in German) <0> you won't go wrong doing it in English <5> "learnt" is BE. <0> did we just have a netsplit? <8> Yep. <5> I've been told there's a semantic difference between the relative clause with comman and relative clause without comma. <0> thanks <5> I just can't recall what the difference is. <5> s/comman/comma/ <0> the commas make the clause more "commentary" <0> or at least that's the way I read it...but then I learned all this junk >50 years ago <0> and have just kinda absorbed drifts in usage <9> ohhh, I got my new gloves today <9> these actually fit <9> and they're WARM <9> so exciting. <4> hehe <4> what kinda gloves? <4> leather/goretex/other? <9> Mountain Hardwear Annapurna gloves <9> they're mountaineering gloves <9> goretex xcr
Return to
#c++ or Go to some related
logs:
quetzil .gather .com gayromeo srbija cont skype #teens paypal how NET_KEY works #php #asm #linux linksys rv06
|
|