@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19



Comments:

<0> ms all
<0> bye .
<1> we'll miss you
<0> :)))))))))
<0> i`ll be back :P
<1> thanks for the warning
<0> =))
<0> :P
<0> k
<0> c`ya
<2> See what I meant?
<0> i have told u that i have 13 years no ?
<1> with the eof m?
<1> or the delete
<2> People *do* have more than 10 columns wide screens.
<2> jill_s: about the scrolling



<1> ah
<3> jill_s, just some small notes before i go shower: p*** by const reference for the containers that are not modified, but are accessed (reduces the copying) and consider using iterators rather than operator[] (especially when there are multiple counters; iterators prevent the problem of accidentally indexing using the wrong counter)
<3> i must shower now, i'll take a closer look later
<4> mAr|us_: What does age has to do with anything, and did you misunderstood that you should: <2> mAr|us_: please, use the return key less frequently. This is your last warning.
<1> ok i've never gotten into iterators ;) but i have time to learn and if they are better use them
<2> have fun, peterhu
<2> mAr|us_: you didn't tell me, but it was already obvious.
<0> <2> mAr|us_: please, use the return key less frequently. This is your last warning.
<0> i don;t understand :|
<3> that's obvious
<2> do
<2> not
<2> write
<2> like
<2> this
<1> type more words on one line, rather than hahahaha
<0> f* ...
<0> ok
<0> ;)
<1> GAH
<4> Man, you're retarded.
<1> he's the devil
<0> i undestand now
<4> </replies>
<5> he's
<5> probably
<5> nervous
<5> so
<2> No, it's usually a symptom of attention seeking. It's not uncommon among the 13 years olds.
<6> jill_s ther's a remove() function in the standard library
<6> if that's what you're deletethis is all about
<2> As many symptoms of attention seeking, it tends to annoy other people after some time.
<0> k thx all
<0> c`ya
<3> oh and one small stylistic note, jill
<3> vector < foo > bar is harder to read, imo, than vector<foo> bar
<1> sure please
<1> ok
<1> yes victor m mentioned cstdio
<1> the delete thing wasn't working/wasn't sure i wanted it so it was just sitting there broken
<1> the only other functionality i'd like to build in is that each room stores at it's root a txt file of all pdfs downloaded so it checks for something, if not present downloads
<6> jill_s I think you'll have better luck using things like while(getline(config, line)) than what you have
<1> yeah m mentioned something eof not being great
<6> it's way too easy to process the last line twice if you do while(!blah.eof())
<1> ok
<1> i appreciate the pointers
<1> i'm relieved i have time to tweak it and that it at least does what i want it to do ;)
<3> also, from a style standpoint as well, i dislike "if (foo) { small_expression; } else { very_very_long_indented_block_that_is_the_rest_of_the_function; }" when "if (foo) { small_expression; return; } ..." would have saved the entire function from being indented a level
<1> i'm a []-whore ;/
<6> also, testing for is_open() isn't necessarily what you want
<1> v - i'd never done stuff with files i googled it ;) i'm open to good references for it
<6> std::ifstream index(parse_me.c_str()); if(index)......
<1> ok
<3> if (!index) { handle error; continue; }
<1> yeah speaking of errors i dunno what to do if i get one yet
<1> like not i don't know how to code it, well probably that too, but i don't know what i want it to do
<1> likely i'd want it to email me
<1> it runs at a decent clip it's on the 7th or so room, going back one year after about 30 mins
<1> after the original d/l it will only go a week back or so
<3> you should do what my old old version control system at microsoft did when it encountered an error: pause the system and repeatedly print bell characters
<1> lol



<7> haha
<3> that'll get your attention heh
<1> i will prolly just set it to run nightly for 1 day's duration
<3> god did SLM (we called it slime) ****
<1> my boss wants the files up pretty much within the day
<1> i didn't know if there was a library that read a config file /shrug
<1> so i just made that part up
<3> how does the whiteboard handle low disk conditions?
<3> does it just delete the oldest documents automatically?
<1> it doesn't thats the
<1> yes
<1> that's what it does
<1> that's the urgency
<1> just first in first out overwrite
<3> a lot of poor interns first exposure to a versioning system was SLM
<3> poor bastards
<3> it was as reliable as VSS to boot
<3> you should write a service that polls for new documents
<1> peter in vc my vectors are vector<string> not vector < string >
<1> maybe noidea's page formats?
<1> peter can i do that in a week
<1> ;)
<3> boost.program_options?
<3> i meant a windows service that constantly runs
<1> and polls every boards index?
<3> probably not without specific experience writing window services
<1> lol
<3> a daily task should suffice =)
<1> my last program before this
<1> yeha
<1> that was my plan for it ;)
<1> is it hard to make it email me if it doesn't work
<3> boost.program_options shows support for response files, which, in a way, can be viewed as a configuration file response files are really just a mechanism around command line length limitations, but there's no requirement that response files are temporary
<3> .
<3> it's not really "baked-in" support, but it is demonstrated nonetheless
<3> on the plus side, you can set the options on the command line without having to modify a file, if you want to invoke it differently on a particular run
<8> I have a slight issue, and i'm farely new
<8> It would be appreciated if I can get help.
<3> feel free to ask a question
<9> Peter, i have a simple code, may I paste it here?
<3> use www.noidea128.org
<9> and i'm using DEV C++ 4.9.9.2
<9> ok i did it
<9> why does the window close
<9> after 1 second
<3> paste the submission url
<1> peter use the force
<9> its the first one
<9> on the recently posted
<3> there are a few hyperlinks at the bottom
<3> pick one
<3> i know how to lookup your submission
<9> username cpl1 and click lookup
<3> i'll wait until then
<9> can I get any help?
<3> the point is: don't expect people to hunt for your submission; please paste the url to aid those who are willing to help you so that they don't have to waste time in their efforts
<9> how do i find the URL
<9> http://www.noidea128.org/sourcefiles/16038.html
<9> nvm ie was acting agy
<9> gay*
<1> peter knows that well
<3> there are three hyperlinks at the bottom of the submission
<3> copy URL of Source, for instance
<1> yeah but you have to copy link
<5> peterhu, do anyone created a wizard project creator with boost ? or I need to setup manually all my config every project I want to make?
<1> the window closes because dev c++ closes it
<3> thank you
<3> now here's the bad news: that's not C++
<1> you have to build in a pause
<1> or just open a command prompt
<1> then run it
<1> and yes
<3> how are you running the application?
<1> i noticed no c++


Name:

Comments:

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






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

#php
#linux
#chatzone
#linux
mnemonix2
#linux
#linux
#AllNiteCafe
JSR179 google earth
#teens



Home  |  disclaimer  |  contact  |  submit quotes