@# 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



Comments:

<0> okay, i think i want to make my own database.. is there any set way you can do this in c++ or is it just done using cl***es..?
<0> last question..
<1> methody do you know what a database is?
<2> use a db wrapper
<2> why reinvent the wheel?
<0> rdragon, not really..
<1> then I suggest you figure that out first
<3> heh, opped up just it time.
<0> bealtine, your name means firemouth in irish
<0> is it on purpose? :P
<2> also means May
<2> as in the month (apart from the obvious misspelling)
<0> oh yeah... i think maybe it's spelt differently like bealtaine for may down here
<0> oh..
<0> so is there a formal way of doing a database?
<0> bealtine, i don't think they'd appreciate if i just copied someone else's work..



<2> databases are complicated
<0> :S
<2> real ones that is
<2> you could always use XML or some such
<0> well we're not supposed to know XML :P#
<4> what year are you in?
<2> oh dear
<0> what if i just put the whole thing in a struct..
<0> second.. eleceng
<4> if your only starting out then they aren't going to want you to design a db
<2> you could use a std::list
<0> but we had c programming last year...
<2> and load the elements into it from disk
<2> but then you're probably not allowed to know std::list either?
<4> have you done the stl?
<0> well.. if it's a c command it would probably be a lot more allowable
<4> Can you post the brief for the ***ignment somewhere?
<0> okay ill post it in your pm okay?
<4> pastebin might be better
<4> then everyone can see it and it'll be easier to read
<0> where's that?
<4> google pastebin
<0> what if i just create a new chat?
<5> That requires effort on our part
<4> the formatting tends to get really ****ed up
<5> Beyond double-clicking
<5> Or single-clicking for the mac people
<4> damn mac people
<5> They're twice as lazy
<0> i think something may have went wrong with my email attachment :S
<4> ?
<0> because i think maybe there's more stuff to do.. i emailed the guy overseeing it... we have to have it done by 5pm today
<0> http://pastebin.com/548136
<0> okay there it is
<4> delighful
<5> Wow. That so doesn't look like broken code.
<0> i think i needed have put the bit about copying in :P
<0> needn't*
<4> no, you wont be need mysql
<4> : )
<4> its just simple input and output by the looks of it
<0> okay great :) ... the thing about searching though i don't know how i would go about doing.. :\
<4> put it into a list and iterate through it
<0> okay so like text parsing
<0> and what is allocation?
<4> as in "to allocate space"
<4> to mark space for use
<0> you mean like int x; :P
<4> yes
<4> basically
<4> it says use C++ allocation so i would imagine you're going to have to use some sort of stl container
<4> a map<int, int> perhaps
<0> okay, ill go look that up...
<4> have ye not covered the stl?
<0> im not actually sure because they changed the place of the lectures a while ago and i don't know where they're on now.. i know im going to have to find it out..
<4> um, yea that might be an idea
<0> i don't know how we were supposed to know anyway
<4> if you went to your lectures then you would :P
<0> you know, i probably really shouldn't be wasting my time on hotornot now... o_o
<0> wow, rate this girl and then say what you think of her average rating.. http://www.hotornot.com/?735e=29534 (if you want)
<0> i gave her an 8



<6> I gave her a 5
<0> errm.. okay that's not the one that was there a minute ago..
<0> this is a girl with a baby..
<5> methody, spend your time here: http://www.fugly.net/
<0> okay how about this one...: http://www.hotornot.com/?9f7f=40831
<0> ill check that out..
<0> i gave this one a NINE... cause i just like the way she looks..
<0> she looks so innocent :P
<0> i knew she'd be lower than that but wow, not a 4.9 :O
<6> are you guys bored?
<0> well some of the girls on hotornot are fuglier than that
<0> i swear, some of them put their pics up just to spite the guys who want to drool over hot girls..
<0> im taking a break from my ***ignment
<5> Bored? No. Evil? Probably.
<0> look at that: http://www.hotornot.com/?c7e8=51176 i mean shameless...
<5> You know.. we can't see the same ones you do.
<5> Just load up one of those and hit refresh. It changes
<0> dam.. :S
<5> Ha-ha. </nelson>
<0> it's of this ugly girl laughing like crazy into the camera..
<0> it actually explains a lot
<0> once i made a topic about hotornot and put up a link in it.. they all had different opinions on it :P
<0> i hate it when girls look nice and are all glammed up, but are just not the tiniest bit desirable.. so you have to give them a 6 or les
<0> okay how about this one..: http://www.hotornot.com/r/?eid=E8KQBZO-MKY
<0> i gave her an 8.. btw this one you can see..
<0> it's her id.
<0> http://www.hotornot.com/r/?eid=AYKLSZE-VSA => what are you supposed to give that like.. she's on her bed in her underwear so even though she's not really that hot you have no choice but to give her a nine/ten
<7> what is a recommendable compiler? Visual C++, gcc?
<0> well.. i guess the former would be better on windows and the latter on linux.. but what do i know.. not much..
<7> well, question is, do they follow C++ standards? I have my doubts when it comes to MS.
<8> VC++ 2005 is pretty standard conformant, and gcc is too.. given that you give it about a zillion compiler switches
<7> hehe I see
<7> these compiler switches are needed to VC++ 2005 as well to make it conformant?
<9> no
<7> ok
<0> i don't know is this too simple altogether for what we're meant to do..
<9> what?
<0> http://pastebin.com/548136
<0> the other guys were saying i just make a struct and parse through it...
<0> do you think maybe we're meant to use mysql?
<10> ewh
<9> too simple to use mysql
<9> off to work
<11> is dragon here?
<0> seeya
<11> anyone know if i can execute a few lines of code to switch all further couts to a file, they currently write to console, i want to store output to a file but dont want to frig about with all my cout lines
<12> cluelessi, you have to change where the standard output points, I'm not sure if there is a good standard way to do so, but you can pull some tricks with your OS
<12> at least in POSIX you can
<12> what environment are you running it in?
<10> w\\\/win 3
<12> eh?
<11> visul studio win32console with mfc support
<12> hm, ok then that option is out
<11> al im after is getting the screen output for analysing away from the computer
<12> well, you can tell the console to do it
<12> but *all* the output will go there (unless you use another utility)
<12> it's easy if you run it from the command shell
<11> thats ok, i dont mind all the output
<12> then you're in luck
<12> if you open a command prompt and say: somebinary.exe > foo.txt
<12> all output on the standard output from somebinary.exe goes to foo.txt
<12> rather than the screen
<12> >> foo.txt if you'd rather append than truncate
<11> ok, i think i trired something like that b4, will try again...thanks
<12> np
<11> oh, my problem was the file dont appear to be saved on the disk
<12> hm?
<12> it should be saved in the CWD
<11> where would the foo file go, i looked in project directory and c drive root
<12> unless you give a path
<12> where did you run it from?
<11> project directory
<0> project directory
<12> so you typed like


Name:

Comments:

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






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

pagerank.php javascript
locating ndiswrapper
#mysql
#AllNiteCafe
apache2 mod_includes issues
ifup command not found
rasvan
a NO Error in IMAP command received by server.
#chatzone
15/f cybersex



Home  |  disclaimer  |  contact  |  submit quotes