| |
| |
| |
|
Page: 1 2 3 4 5 6
Comments:
<0> yes, you'd have to do some trickery <0> you're better off using a matrix library <0> unless you have to make your own, for shcool <1> hello world ! <1> :) <1> can somebody help me ? <0> just ask <2> Cowmoo <2> where is this matrix library ? <2> but that operation i want <2> will be any expensive true ? <0> Guns|n|r0s3s: one I know about is Matrix Template Library <1> but does somebody speak romanian ? it would be so damn easy to me... :| <2> is it a part of stl ? <0> no <0> google for it
<0> here <0> http://osl.iu.edu/research/mtl/ <2> here i am <3> yes <4> Mordino - Scripts off, please <5> right sorry <5> not intended to <5> just opened the winamp .. <4> :) <0> 3 more days <0> then it's out of the States and back to Coco Pops <4> welcome home :) <4> (in 3 days) <4> in 3 days, I'll be sitting in a subtropical exam hall answering questions on probability theory :/ <0> lol <5> home sweet home .. <0> subtropical exam hall <0> hahah <4> typical. last two weeks of revision, the weathers been crap <4> suddenly, boom - summer arrives <0> you're at Sus*** yes? <4> yup <4> normally use the giant sports hall for exams, which wouldn't be too bad. But then you fill it with 600 people, and it's less than pleasent <0> yuck <4> or outside. outside would be fun <0> the bees would sting :-/ <4> true <4> ah well. at least it's only 90 minute papers these days <4> though there are 8 of them :/ <0> aye <0> my brother's at Bristol and he's been complaining too <0> about exams <0> anyway, 7:12am, about time I nodded off <4> lol. sleep well :) <2> hey her <2> please how to clear the console <2> underwindows <2> clear the screen <2> anybody know ? <2> hey, i got 3 vectors v1,v2,v4 <2> and i want to make vector v4 that has some element of those vectors <2> but without making his own copy of them <2> which mean that any change in v4 will be reflected in those vectors <6> Guns|n|r0s3s ????? <2> vawjr: what didnt u understand <2> ? <6> what the heck you want <2> i have 3 vectors <6> that was the clear part <2> and i want to make another one that access to some lement of these vectors <2> but without having a copy of them <6> you want a vector of pointers? <2> like i am monitoring <2> of references maybe <6> when you say vector, do you mean std::vector ? <2> yeap <7> hey guyz (and gals) <7> where can I find info about adding a floating, dockable, child dialog box containign all sorts of controls into my mfc sdi app (yep, i'm a noob)
<6> Guns|n|r0s3s you can NOT have a std::vector<T&> <2> ok <6> unu_22, I have no clue, I don't do GUI stuff <7> 10x for replying vawjr, but I was hoping to get a reply from someone who KNOWS <2> vawjr: ^will a list solve the problem of referencing ? <6> unu_22 read the docs on how do make floating dockable window <6> not sure you can do it w/ a dialog box <6> Guns|n|r0s3s you can NOT have a std::container of T& <7> ok, I will read those an soon as someone points where are them <6> unu_22 MSDN ?? <7> :) <8> Ive got this comparismend: if(score >= fscore[row][s]) { <8> but fscore[row][s] doesnt alway excist. <6> Guns|n|r0s3s the big problem with having containers of references is that you cannnot re***ign them <6> Giovanni_2 then accessing it will produce undefined results <8> Can yes I noticed <8> So how do I check if fscore[row][s] excist? <9> Uh.. alrighty.. I'm such a blondie (well, actually, I act like one), so I'm gonna need help here.. <9> c++ as in the language or coding thingy? <6> Giovanni_2 that's WAY too broad a question <6> Namaste not sure what you asked <6> Giovanni_2 you haven't told us what fscore is <6> and what "existence" means to you <8> its a vector <6> one normally canNOT [][] on a vector <8> uerh <8> okay its 10 by 10 <6> Giovanni_2 std::vector has only a single subscript <10> hello guys, what C++ code editor do you use? I'm using Dev Cpp but it have some trhoubles with TABS <8> No I got a multidimentional vector <6> what is "nome troubles" <6> Giovanni_2 C++ doesn't HAVE a multidimensional vector <6> err, "some troubles" <8> std::vector< std::vector<int> > fscore(10, std::vector<int>(10)); <10> troubles <8> Are you sure vawjr? <6> Giovanni_2 I'm SURE <10> problems <6> Giovanni_2 ok, you have a vector of vectors, now what the hell does "exists" mean? <6> Judge-- "problem" is a useless description <8> If it contanian any value <10> well.. if you press tab it inserts too much spaces.. and if you remove a unique space it removes about 2 tabs <6> Giovanni_2 int always contains a value <10> totally messy <6> Judge-- so set the options, and what are you using tabs for anyhow? <10> vawjr I'm begginer.. If I dont organize the code with tabs I'll lost myself among alll that lines <10> :) <10> mainly with { and }s <6> Judge-- I believe the editor automaticallly handles indenting, but I haven't used it lately <6> I've got to run into town for a couple hours <10> ok <10> thanks <8> Okay, Ive got vectors of vectors: std::vector< std::vector<int> > fscore(10, std::vector<int>(10)); <8> If I do a comparising like this: <8> for(unsigned int s = 0; s <= fscore[row].size(); s++) {if(score >= fscore[row][s]) { } <8> it crashes <8> it goes beyon the subscript <8> so I need to know whenn s goes to far <11> Giovanni_2, s should be strictly less than size, since s starts at zero (in other words, use < instead of <= ) <8> okay thank you <8> Ill try <8> Why did I overlook that <11> does it work now ? <8> Yes, that was it <8> duhhh Im so stupid <12> hello ppl. why I can't multiply double by 10? :-/ <12> i mean it doesnt work.. <13> double by int? <13> you lose the decimals <13> or precision as they call it <12> oh so i should pre - define 10 right? <12> define as double <13> 10.0 <12> i did like that.. but it still doesnt work :(
Return to
#c++ or Go to some related
logs:
how to truncate a whole table in mysql 5 #linux mudella helwa #linuxhelp nrg unpack linux xorg.conf ViewSonic P220f Marisol,dalnet #linux naty ISO C90 gentoo
|
|