| |
| |
| |
|
Page: 1 2 3 4 5
Comments:
<0> The default would probably be lvalue < rvalue <1> heh, new washer and dryer pwn <1> wish the delivery guys hadn't come at 7:15 <2> ooo the excitement must be riveting... <1> pfft <1> tis <1> the new washer is very energy efficient <1> and pwns <1> now, do i try to get vmware server running under gentoo <3> dunno. might be anticlimactic after the delivery of a new washer <3> don't want to disapoint yourself <1> pfft <2> domestication descends <1> you're just jealous because the irish wash clothes in a river <1> which is a step up from the rest of europe <4> clothes can be washed ?
<2> wtf is a river? <1> fine, the sea <1> which is not that wise <3> nah, the irish wash in Guiness <2> if we wait long enough the sea will come to us <5> hello all <5> I need to load 32 bit dll into 64 application <5> can any one help me <6> hello ppl. i've got a question.. to get the random number between 1 and 12, is this the correct statement?... <6> srand(time(NULL)); <6> int j=1+(int) (12.0*rand()/(RAND_MAX+1.0)); <7> prolly not <6> when i do that, i always get 3 as a result <6> can anyone tell me what could the problem be? <5> I need to load 32 bit dll into 64 application <5> can any one help me <5> I need to load 32 bit dll into 64 bit application <3> no need to ask 3 times <3> and the short answer is, you don't <3> you can setup an out of process 32 bit RPC server that will load the library and expose it's functionality though <3> does mean a touch of COM, but nothing too scary (***uming your library is simplish) <3> or, if you have the library source, compile a 64 bit version <3> (this is all covered in the porting guide to 64 bit windows on MSDN, btw) <8> ayudac <9> hello there, I'm begginer.. I've tryed to make some modification in a software,,, but I got this: http://www.nomorepasting.com/paste.php?pasteID=63201 <9> could anyone tell me what that error means? <10> It's not an error, it's an URL <10> Looks like it can't find the declaration for admLevel <10> It'd be easier if you compiled that part and not built the whole thing <9> int admLevel = bot->getAdminAccessLevel(theUser); <9> isn't that declared and initialized at the same time? <10> That's line 214? <9> yes <10> Then I don't know <9> ok thanks, I'll revert the changes <10> zZzz <11> hi can u hel me with link list? <10> Just ask <11> it's writen in c <11> still can u help me? <10> Then ask in #c <11> cant ask them.. <10> Ah, banned? <11> i'm not allow enter this channel <10> Heheh <10> I remember you now <11> something like that <10> Anyway just ask your question <11> i need to free something and it's not working me.. <10> Ok, problem is on line 37 <11> ha/ <12> He didn't even paste the code :( <11> kidding me? <12> MrAshe is a psychic SSSsssSSS <12> You need to pay him homage <11> typedef struct MONOM <11> { <11> int coffeicient; <11> int power; <11> struct MONOM* nextMonom; <11> }MONOM;
<11> sorry <11> http://www.noidea128.org/sourcefiles/16315.html <11> here it is <11> line 35 <11> see it? <10> Well, I had the includes in my head, so 2 more lines <11> yea <11> So? <10> What do you p*** to that function? <10> Anyway, dinner time <13> breakfast time <11> lunch time <14> help a co-worker install an additional fan in his computer ch***is <10> Your co-worker must be very smart <15> just must know in which direction to screw/unscrew. <16> Can I use the .insert function on a multidimentional vector.? <10> It's still a vector <10> If you mean a vector<vector<T> > <16> Yes <10> So you can insert a vector <16> std::vector< std::vector<int> > fscore(10, std::vector<int>(10)); <16> fscore[row].insert(s, score); <10> Looks fine, if score is an int <16> Yes it is <16> Heres the error: cannot convert parameter 1 from 'unsigned int' to 'std::_Vector_iterator<_Ty,_Alloc>' <10> Ah <17> look at the docs for .insert Giovanni_ <10> fscore[row].insert( fscore[row].begin() + s, score ); <16> Okay <10> Takes an iterator, not an index <17> the version you've used takes an iterator <10> And just so you know, it ADDS something, it doesn't replace it <17> in fact they all do <16> Its adds to the vector, right. <16> and the vector will gorw in size <16> wouldnt it? <17> yes <16> Okay, thanks <16> I think I got it <18> I wanna ask one question? <18> anyone here to help? <17> go ahead? <16> The topic says Just ask. <18> Cowmoo, I have written one program but .. dont know why it doesnt give me the right result.. <18> may I copy/paste the code or should I explain the problem? <16> again... read the topic... <17> paste code at http://www.rafb.net/paste <18> yes, but I need an imediately answer.. <18> well .. I will try to explain here. <18> I should write a program which will have an array for (int i=1; i<=m; i+2) <18> { <18> for (int j=0; j<=n); j++) <18> if(j>0) <18> pozitiven++; <18> <18> } <18> array: int A[m][n]={{-5,-6,-1,-8}, {6, 4,1, 5,}, <18> {-5,-6,-8, 4}, <18> {9,-6,-4,-5}, <18> {-6,-4,-3, 5}}; <18> m=5 n=4 <18> And I should find a total positive members in the second and fourth array.. <18> But .. I wrote it with two for's .. like this for (int i=1; i<=m; i+2) { for (int j=0; j<=n; j++) if(j>0) positive++; } <18> but it doesnt work .. so any idea how to solve this? <16> What do want with the result? <18> I want to find how many positive numbers have in the second and fourth array <16> ah <18> there are 5 arays in one array which makes a vector. <16> for (int j=0;j<=m;j++){ for ( int jj=0;jj<=n;jj++) { if ( A[j][jj] => 0 ) { positiven++ } } } <16> positiven should contain the number of positives. <18> aham <18> yeah .. but in this case, it will count EVERY POSITIVE NUMBERS... not just only the positive numbers in the second and fourth array <16> okay <16> for (int j=1;j<=m; j = j + 2){ for ( int jj=0;jj<=n;jj++) { if ( A[j][jj] => 0 ) { positiven++ } } }
Return to
#c++ or Go to some related
logs:
tpejjipx javascript add a select #php team3.tar.gz #linux soat wear in winter
#linux #mirc uruni 1
#c++
|
|