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



Comments:

<0> I need to get myself a copy of the standard.
<1> it's cheap. just hit the ANSI website
<1> like, $30 or something
<2> $20
<2> i think
<2> i rarely look at it
<2> unless gribouille starts talking
<1> if you're feeling very cheap, you can get one of the final "pre standard" test documents. they're not entirely accurate, but mostly so
<3> rdragon, about what ?
<2> about stuff in the standard
<3> what's the problem
<3> ?
<2> there is no problem
<4> huuh?
<4> my pc forgets things...
<5> lol, sorry, is this bad too? ordenar(vector[10],numerodeelementos); (it is the call to void)



<2> what's a call to void?
<5> "cannot convert int to int"
<2> and what's vector[10] ?
<5> it is a vector
<2> what's a vector?
<2> a std::vector?
<2> is vector the type name?
<5> int vector[10]
<2> is this a function call?
<5> void call
<2> what's a void call?
<2> i've never heard of such a thing
<6> yeah... another array !!!! aren't they fun?
<5> lol, i dont know the name in english, i have got
<5> void ordenar(int vector[],int const numerodeelementos){ etc
<5> then, in int(main){
<5> i am going to call to void
<6> void is a keyword
<5> yes, it is a function who doesnt answer something
<5> who = which
<2> you mean you want to call ordenar()
<5> yes
<5> exactly
<2> then call
<2> it
<2> you need to know how to call a function?
<5> lol, i know
<5> but, it is so stragne
<5> it says "cannot convert int to int"
<7> hehehe
<2> maybe you shouldn't be using arrays then, like we suggested
<2> i doubt that's exactly the error message
<7> Is there a * around one of the ints?
<2> probably "cannot convert int to int[]" or something
<7> toilos, what do you call it spanish....
<5> not, not
<2> napolit to call that function p*** an int[] and an int to it
<8> any detailed istream reference ?
<2> josuttis' book, rohyh
<2> depending on how 'detailed' you mean
<8> complete reference
<9> Is anybody strong in ld? it says that strcpy@GLIBC_2.0 contains an illegal character '@' . but how do the compilers perform name mangling then? can't I create such symbol?
<2> how are you trying to 'create' this symbol?
<5> does somebody speaks spanish or portuguese? lol
<9> ld --defsym strcpy@test=strcpy
<8> what's mean bein strong in id
<9> ld
<9> gnu linker
<2> what are you trying to -do- ? I thought the part after @ described the parameters
<9> there's a 3rd party lib that expects strcpy@GLIBC_2.0 , I would like to create a symbol for it so that it links successfully
<2> you mean you're using a library that links against a different runtime library than what you've got?
<9> yup, glibc , and mine is libc. but that didn't use to make a lot of problems
<9> mine is uClibc sorry
<2> download glibc ?
<2> i can't imaging 'forcing' it to link would be very healthy
<9> it's an embedded, it's low on resources, I'm able to use uClibc only.
<2> imagine, rather
<10> or if you have the source for the 3rd party lib, build it using your runtime lib
<2> can you recompile the library?
<9> well, it expects only about 10 functions from stdc, like strcpy or fopen



<2> can you recompile the library?
<9> no, it's distributed in binary format
<2> are there multiple formats available? what is this library?
<9> only one for glibc-mips
<9> that's a sort of truetype library
<2> what library is it?
<9> what library? does it matter?
<2> if you don't want help with it, I guess not
<5> i have to leave to study quantum mechanics, see you soon to everybody and a lto of thanks
<8> yo napolyon heh
<5> see you soon, rohy and dragon, and thanks
<2> sure
<2> melfar does uClibc even come with strcpy?
<11> Khan = big brother
<9> of course. it has most of glibc
<2> what library are you trying to use?
<9> those ten required functions are very common, strlen, strcpy etc
<9> I found that this name mangling, @GLIBC_2.0, was used in order to distinguish 2.0 from 2.1 version , which were different in some way
<9> I wonder how do they resolve correctly then?
<2> unless you tell us what library you're freggin trying to use, nobody will ever know
<9> the name wouldn't make clear anything. it's just a commercial pre-built lib
<2> then you're on your own
<12> which standard container should be faster to insert/delete objects at the end of it?
<2> vector is pretty fast for that
<12> No need for fast search or anything like that.
<2> list would be faster
<12> That's what I'm suing atm. I was thinking of changing to std::list.
<12> using*
<2> unless you're doing a lot of insertion i would probably stick with vector
<2> if you're doing a ton of insert/erase it might be more beneficial to keep the memory sane
<12> I will be doing tons of insert/erase.
<12> It's only going to be a fixed number of objects though.
<11> Vector is by its nature slower for inserting and deleting and faster for random access
<11> List is the opposite
<2> oh, certainly vector then
<2> you said you'd only be erasing from the end, right?
<11> And inserting at the end?
<12> yes
<2> then yeah, vector
<12> yes
<11> How much random access would you be doing?
<12> none
<13> jb likes his access random
<11> You wouldn't be doing any, clsk?
<11> How about a stack, then?
<11> Much like how khan is stacked like a 60 year old woman
<12> I'll check into it. I think I was considering it before.
<7> Hey I don't understand republiken-speak
<13> my K:D ratio is now 1.6, why do you **** so much?
<14> !**** #atrix *!*@BeLeaDeFaTa.users.undernet.org 3 8000 we don't accept ms hacker's here! but i will help you go out... enjoy & bye!!
<14> .**** #atrix *!*@BeLeaDeFaTa.users.undernet.org 3 8000 we don't accept ms hacker's here! but i will help you go out... enjoy & bye!!
<13> ?
<14> color help tog
<11> Too bad your S:G ratio is also 1.6
<14> .me
<12> Can I somehow set a fixed amount of objects in stack so that no re-allocation is done.?
<2> can't you tell the stack to use a vector?
<11> I guess you could use a vector
<13> *** to goats?
<11> I just think it's a little odd to be doing a lot of insert/delete operations on a vector
<2> why, jb?
<2> if it's only on the end
<2> i agree stack makes more sense logically
<11> Yah
<2> does he need to iterate over everything?
<12> not at all
<2> what are these objects? heh
<12> It's basically a stack of pointers. So yea a stack might make more sense.
<12> pointers
<11> Well, try both in a big *** loop and time it
<2> you can template the stack to use a vector instead of a deque, though it doesn't matter that much
<2> i don't know if that template arg is standard, either


Name:

Comments:

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






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

#linux
ZEJZIT
#linux
what city is known as auld reekie
#AllNiteCafe
getting multiple random rows mysql
#MissKitten
Qt WM_MESSAGE
#linuxhelp
como instalar php designer 2006



Home  |  disclaimer  |  contact  |  submit quotes