@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2



Comments:

<0> how do i p*** an array to a function by reference?
<0> so i can use the elements of the array in it
<1> without & ...
<1> u cant put & in array
<1> and u can use the elements of the array ...
<1> if u will add const ... then...
<0> is the array without a [n] after it the address of the array?
<1> with
<1> a[]
<0> so is there any way to p*** an array by reference?
<1> u dont need
<2> hey, I'm having some problem with linking files. I keep getting an "undefined reference to ______" error.
<2> do you know if the library containing the functions should be included by #include or, should I link them in the makefile?
<0> aaaaaa.. ohadsu it's not working :S
<0> i've found out that carlist = &carlist[0]
<0> in case anyone cares, i got it working



<3> got what working?
<0> just p***ing an array
<3> ah
<0> what do you do when you have the right code but keep getting segmentation faults?
<0> im pretty sure it's because it's run out of memory
<3> methody: paste it to the pastebin? (or paste a small test-case demonstrating it)
<3> if you have the right code, why is it running out of memory?
<4> damn, I have a ****ing evil cough...
<0> tequilla, i don't know, i had too for loops and then i had a while and goto: loop... each time if i have more than 2 things in the array it says "segmentation fault"
<0> dam.. there's no point in pasting it..
<4> howdy The_Vulture
<5> Hey its Teh_Vulture!
<6> g'day folks
<7> hello everyone
<4> haha, awesome. http://www.airtroductions.com
<4> the next time I fly, I'm gonna do that
<5> lol
<4> http://sport.ard.de/spe/turin/news200602/12/img/friesinger3_405_200_dpa.jpg
<4> poor Annie Friesinger. no medal :(
<4> but an interesting view :)
<4> tequilla: why? because Carol would not approve?
<3> because you must have something better to do with your time than hunt through sporting photographs looking for candid shots :p
<3> like, I dunno, looking up heroin on wikipedia
<4> I didn't "hunt through sporting photographs looking for candid shots". I looked through sporting photographs and happened to find a candid shot
<4> what makes you ***ume I did the former?
<8> wow, another heated debate that ultimately resorts in nothing being accomplished
<8> ;)
<4> true :)
<3> heated?
<3> with scalar? naw...
<5> http://www.deviantart.com/view/27769344/
<3> Z's been looking for his own kind of candid shots
<5> haha
<5> Those guys really like cock
<8> heh
<9> This might sound stupid but is there a program that will break down an exe into its source.... my teachers make a c++ prog in borland and we have to recreate it
<10> well, using something to dis***emble someone else's code sounds like it ought to be a lot easier than actually having to think
<10> but no, there isn't
<4> it's also definitely not what his teachers had in mind for him to do
<4> "Hit" Songs Unpredictable, Thanks to Peer Pressure
<4> http://www.sciam.com/article.cfm?chanID=sa003&articleID=000D8E2F-C0DD-13EB-80DD83414B7F0000
<4> Britney Lohan, or whatever her name is, is only so popular because there are so many morons exerting peer pressure
<10> heh, I'm kinda opposite. I tend to hate the music everyone else likes :)
<4> I don't really care what others like
<4> the way I usually discover something new is by listening to LaunchCast
<4> other than that, I collect a few groups, and that's it
<10> hmm, I should fire up Pandora again
<10> hmm, so all this study is going to do is make the record labels work even harder to market crappy music to influential teens or something
<4> making life better isn't the purpose of science. the purpose of science is pursuing the truth
<4> if science finds out that we're all gonna die tomorrow, then that's probably not gonna make a lot of people happy. but it's good nonetheless
<6> favourite Isaac Asimov:
<6> Suppose that we are wise enough to learn and know and yet not wise enough to control our learning and knowledge, so that we use it to destroy ourselves? Even if that is so, knowledge remains better than ignorance. It is better to know even if the knowledge endures only for the moment that comes before destruction than to gain eternal life at the price of a dull and swinish lack of comprehension of a ...
<6> ... universe unseen before us in all its wonder. That was the choice of Achilles, and it is mine, too.
<6> Not quite the same (since he's discussing Science _causing_ death, rather than just discovering it, but anyway)
<4> does science ever cause death?
<4> I guess it's possible that an experiment goes awfully wrong
<4> but usually it's the application of science that causes harm
<4> scientific discorery is neither good nor bad
<6> More generally, though it's not necessarily the cause ("Guns don't kill people" type stuff) it's an enabling force.
<4> unless, of course, you're Catholic like tequilla. in that case, it's ****ing evil and will religious knock your socks off



<4> s/religious knock your/knock your religious/
<4> :P
<6> I was about sugges that ;)
<4> cursor movement is sometimes a bit sluggish over VNC
<4> anyone hungry? http://www.collegehumor.com/pictures/1660079/
<4> http://www.collegehumor.com/pictures/1659029/
<4> the shoe polish is missing
<7> I'm thinking of changing my primary mail address
<7> what should I use?
<7> justin@xiphoris.com
<7> jcrites@xiphoris.com
<7> justin.crites@xiphoris.com ?
<7> any suggestions?
<11> justin@xiphoris.com
<10> gayporno@xiphoris.com ?
<11> lol
<12> xiphoris@xiphoris.com
<7> I was leaning towards justin@
<7> nirvdrum, this will be for business mail too
<10> going for preofessional, or web persona ?
<7> I don't want to use xiphoris@ as my email address
<7> both
<7> my web persona is part of my professional life
<12> But you're fine with it being in the domain?
<7> yes
<10> well, if you're going for pro, go with jcrites or justin.crites, methinks
<7> I have a complex relationship between the two in my mind... it's hard to explain to others :)
<7> between xiphoris <-> justin
<7> and where I use the two identities
<12> I like first inital surname
<7> the reason I use xiphoris on services like IRC is because it's unique
<7> I can't ever register just "Xiphoris" on anything
<7> errr I mean
<7> I can't ever register just "Justin" on anything
<7> so, it seems easier to just go by "Xiphoris" on mediums I don't control
<7> so I *use* xiphoris, but I *go by* justin... if that makes any sense
<7> xiphoris is just an invented name I've ***igned to myself in a world where there are many people named Justin, and even some named Justin Crites
<13> please help
<10> yay for idiotic entrances
<10> try asking a bloody question, eh ?
<13> wow your nice
<10> you're* and yup
<13> thanks i try
<13> well i'm new at c++ obviously, i need to read a text file of golf scores and golfer's names into an array
<7> ok, so what's your problem?
<13> i loaded the file into the project with the ifstream include but how do i get it from the loaded file to the array?
<7> you have to be more specific
<7> it sounds like you want us to do your project for you
<7> you read data from the ifstream and insert it into the proper location in the array
<13> no deffinately not, i seriously want to know how to do this stuff
<7> ok, so what part are you having problems with?
<7> look at the members of the ifstream object
<7> documentation will tell you what these members do
<13> i have the golf.open but i don't understand how you go from opening the file to it being in the array
<7> the object allows you to read in data from the stream
<7> you read individual variables from the ifstream
<7> here is what you should do
<7> close the project you're currently working on
<7> create a test project that you can use to fool around with things
<7> write a program that reads an integer from the user, adds 10 to it, then prints out the result
<7> it is not a good idea to start out attempting to accomplish something complex
<13> ok i'm writing that now
<13> xiphoris i did the int plus 10 prog
<7> xvcottonv, ok, so now you know how to read data in from an istream
<13> well i am a c++ newbie but i am in my 2nd course of it, i know some stuff but i get caught up easily
<13> i know most of the basic basics
<13> once i get the golfscores.txt in my prog by doing this:
<13> include <fstream> ............ at the top, then
<13> ifstream golfscores;
<13> golfscores.open (golfscores.txt);
<10> ...
<13> how do i make that into an array that has both the golfers names and scores into the array?
<13> the txt file has 50 lines that are like this
<13> Furyk,Jim 65 66 66 71


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #c++
or
Go to some related logs:

football.sis
#linux
bot id YM
hemmoroid cushion
kwauit
#allnitecafe
#india
#allnitecafe
#allnitecafe
#allnitecafe



Home  |  disclaimer  |  contact  |  submit quotes