| |
| |
| |
|
Page: 1 2 3 4 5
Comments:
<0> when things are open again heh <1> really funny <1> well written <0> cool <1> those quotes above are from it <1> plus, michelle monaghan has a topless scene <1> not too shabby <2> ^Patrick^ what do you want to do? <3> ohh finally one nice user care <3> i need to read a txt file and print the output <2> print is going to be the tricky part <2> c++ doesn't know about printers <3> print on screen <2> you're writing a console program? <4> http://www.dvdverdict.com/reviews/frequency.php <3> vawjr
<3> yes <2> what problems are you having, it's a rather straightforward thing to do <3> ok wait <3> can i paste here? <3> or in prvt ? <2> no <2> read the topic <3> so <4> Read the channel topic, Patrick, where it says to post code somewhere <4> Then give vawjr, in channel, a link to the pasted code <4> ***uming it's more than, like, five lines. <4> If it's five or less, just paste it here. <2> or just tell us it's there <3> ok <3> i am doing this <2> it now shows the last 5 things posted <2> what compiler are you using? <3> ok done <3> visual studio 2005 <2> well, the using infile.getline into a char array seems kinda silly given that std::string exists <2> also, I don't believe that file will compile <2> you seem to be missing a ; after the 15 on line 23 <2> and a ; after endl on line28 <3> wait plz <3> maybe that of the pasting <3> yes from the pasting <3> don;t care please for these stuff <3> just i need to know <2> ok what's wrong (other than it will print the last line twice <3> if i can read the file directly <3> humm <2> I have no idea what your last statement means "read the file directly" <3> ok can u please send me a better code for reading a data file ? <2> no <3> i mean like <3> putting the name of the file somewhere ? <3> like info.txt <2> huh?? <3> can we ? <3> or lame stuff :) <2> I don't understand what you want to do <2> you originally said copying a file to the screen <2> btw, 15 char is not a very big line <3> i have a txt file <3> including names of movies and their serial numbers <3> i want to read this txt file and store in my vetor cl*** <3> this is why i put this code i post on the web <2> oh god, you wrote your own vector?? why ??? <3> i am still not good in using build in lib. and cl***es ..etc <3> i atrying to learn <2> so you write your own??? that's insane <3> humm why <2> because it's already written, it's already debugged <3> so i can use #include<vector.h> ? <2> <MrAshe> Why use stuff that's been tested for ages when you can make buggy/slower/etc versions <2> no, it's not vector.h <2> what are you reading to try to learn C++ ?? <2> I recommend _against_ books with any of the following in the title: idiots, dummies, teach, beginning, yourself, learn, seconds, minutes, hours, days, weeks, weekend, tricks, master, guru, visually, super, bible; or that mention a specific product or compiler. <3> 21 days :P <2> <sigh> <3> teach && yourself && 21 days
<2> yup, 3 strikes <5> teach yourself how not to buy bad books - in 21 days <3> nice one :) <3> so how can i read that file in the vector ? <2> don't know, because _I_ don't know what the file looks like <3> i told ya <3> text file includes let us say movies or any thing else <2> it has a bunch of movie titles and serial numbers <3> let us say access in this channel <4> Give him an example of the file format <3> JBlitzen 500 <3> vawjr 450 <3> anything <4> Those aren't movies, I recognize the names! <3> <3> let us say access in this channel <2> you can't write a program to read just "anythng" and make sense of it <4> Yeah, that's what Excel is for <2> it doesn't do it either <4> :( <2> you have to tell it something about the incomming format <3> my friend <3> a file has data ,wanna filled them in a vector object <4> Anyway, he gave you the format <2> he did? a single word for a movie title? <2> I don't believe it <3> a file has data ,wanna filled them in a vector object ... then read them and display them <4> Does seem a little unlikely <2> ^Patrick^ you're NOT making any sense <3> ok <3> sorry <2> a vector isn't an object per se <2> well, it is, but more useful is that it's a colleciton of objects <3> want me to paste u an excercise question from sams book ? <2> that book is on my list of don't use for a reason <2> I really dislike it <2> but go ahead, we'll look at it <3> here? <2> what chapter are you on in that book (or what "Day")? <5> you can try another channel, but then we won't see it <3> 19 <3> lol exception <5> so you're a guru already <3> i mean on main or private <2> and they haven't covered std::string or std::vector ?? <3> i am moving from one to one <2> you're not even reading it in order?? <5> ^Patrick^ : ***uming this book does what's it's supposed to do well - bad idea <3> i do <3> ok guys never mind plz <3> i don;t want to cause u headache <3> sorry if i asked <3> i feel i am in the army again <3> :) <2> if you want to learn C++ you're going about it all wrong <2> what did you do in the army? my wife fixed helicopters in the Cav <3> i was walking on broken gl*** <3> i am serious :) <3> in my country when u 18 , u r obliged to go army for 1 year <4> [00:41] <3> want me to paste u an excercise question from sams book ? <4> [00:42] <2> but go ahead, we'll look at it <4> [00:43] <3> here? <4> [00:44] <5> you can try another channel, but then we won't see it <4> Haha <3> yes that was nice one of exception <3> As in day 13, C++ program that reads a data file and stores the data in an object of the vector .After the Vector object is filled with elements, read these elements that are stored in the Vector and display the data on the screen <4> What country, Patrick? <3> here u go experts <4> Russia? <4> Chechnya? <3> looool <4> I give up <3> me 2 :) <2> me 3, tomorrow's "Father's Day" and I'm gonna party hearty!!
Return to
#c++ or Go to some related
logs:
#AllNiteCafe #linux #php #linux #MissKitten #AllNiteCafe #mirc #linux #chatzone #squid
|
|