| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12
Comments:
<0> =( <0> it gives me cancer, but feels good when I finish them <1> can't waite for those quantum computers to come out <0> I can wait. <2> You might be waiting quite some time, and be rather disapointed if they appear <1> cold fusion and girlfriend would be nice too, but dreams are dreams <3> we don't even have any good lanugages to handle simple parallelism yet... what you gonna write in for teh quantum computer <4> Has anyone here programmed a dot map before? There are some considerations that are throwing me for a loop. <1> binary search <4> Like the curve of the long/lat lines. <1> in O(1) <3> BillMurray aren't you looking at a groundhog today?
<2> And if search an algorithm excists Bob77, what would it actually get you? <4> haha I didn't even think of that. <4> I am a different billmurray but I do like the actor. <3> I have to remind myself everytime I see that, that you went to high-school w/ my sister <4> I'll never look at an undistorted dot map the same... <5> error C2664: 'const Client &std::vector<_Ty>::at(__w64 unsigned int) const' : cannot convert parameter 1 from 'Client' to '__w64 unsigned int' <5> whats this error usually mean ? <6> wrong parameter p***ed to at() <5> do i p*** vector.at(iterator) or (*iterator) <7> at() gets an index, iirc <7> at() is a range checked version of operator[] <5> but vector::iterator is ? <5> :) <0> vector::iterator s are not range checked, but you can check them against vector::begin() and vector::end() <6> just as you can with vector::size() for indices right? <0> that's not a one to one substitute. Other than that, yes. <3> if you have an iterator *iterator will get you the element <3> what are you trying to do? <4> oh. mercator projection. <6> when you declare function throws exception_type -- will there be a compiler error if you don't do the try{}catch(exception_type) block? <5> get the element yes <3> 8iter <8> melfar, no. C++ doesn't have checked exceptions <3> damnnit *iter <3> melfar exception declarations don't do what people originaly thought and are generally considered worse than useless <9> whats the syntax for being a friend of templated function in another namespace? <3> TechRaven likely impossible <9> namespace test { namespace bob { template <typename A> Foo(A &test, Bar &bar) { bar.bar = 0; } } } cl*** Bar { friend .... private: int bar; }; <9> vawjr: impossible? <3> I think there's some problem with trying to make templated functions friend unless they're completely specified <3> not sure why <9> I know the namespace <3> do you also know the template type? <10> many compilers are not fully compliant in the template/friend area <1> wow, this MinGW is sweet <3> glad you like it <3> does it come w/ gnumake? <1> it has some kind of make mingw32-make <0> it does, msys comes with a better version <1> what is msys exactly ? <3> msys has a better make than gmake?? <3> that's difficult to believe <0> no, it has gnu make, a better version of it =P <3> Bob77 type mingw32-make --ver <3> oh <1> 3.80 <1> gnu make <3> 20 years ago <0> Bob77, exactly? it is an rxvt or sh using bash <0> a port for win32
<3> Bob77 that's what I have on this system here at work <0> the msys folks say that their patched version clears up some bugs gnu make has when interacting with msys <5> vector<Client>::const_iterator iter; //vector<Client>::iterator iter; <5> whats the difference between thoses ? <0> the first iter can't alter contents of the vector it is iterating through <7> one is const, one isn't <5> thx <0> one of them is mandatory for a const member function which iterates through that vector data member <5> but if i copy the iter to another pointer, could i modify the value with the other ? <3> toast if you want to lie to the compiler you can do anything <3> and how are you going to "copy the iter to another pointer" ? <9> vawjr: no, I don't know the template tpy <9> e <5> hehe just asking <5> probably *itertemp = iter; <3> TechRaven I thinik that leads to some difficulties since foo<a>(args) is a different function from foo<b>(args) <3> probably isn't a valid type <7> and might take different args, too <5> vector<Client>::iterator itertemp = iter; <9> vawjr: well that blows <7> what's 'iter'? a const_iterator? that probably wouldn't work, then <3> TechRaven they're _different_ <9> vawjr: so? you should be able to make all of em friends heh <7> crap... we had to read this 'article' for cl***... I wish I knew it was 22 pages long, heh <9> didn't bother till the last minute rd? <7> nod <3> TechRaven making a family of functions friends would effectively allow anyone to access your privates <9> yea, i'm pretty open like that ;) <3> then why not just make it public to start <11> hi vawjr <3> lo, isc <9> vawjr: because its a very specific set of functions that can gain access... its for boost serialization, I don't wanna know about boost serialization inside the cl***, the variables shouldnt be public.... <7> maybe you should just explicitly state each specialization ? <3> all I'm saying is taht if you do sucessfully do friend foo<>() ...... _I_ have access to all the private variables <5> codeTemp = iter.getCode(); <3> rdragon some compilers don't handle even that, I found <7> mmm <3> toast not likely to work <5> lol thats what i tought <3> or maybe I just didn't write stuff correctly <3> toast why don't you tell us what you're trying to do instead of code that doesn't work <3> rdragon it MAY work for TechRaven though <12> http://www.marginalrevolution.com/marginalrevolution/2006/01/shopping_in_197.html <3> the current catalog doesn't have rifles <1> is there any operation similar to foreach in command prompt ? <7> "in command prompt" <-- what does that mean? <1> cmd.exe in windows <7> what do you want to do with 'foreach' ? <3> maybe, what are you needing to do? <13> You mean like in a batch script? <1> i have a bunch of .cpp files and i want to compile them into .o files <1> using gcc <7> gcc *.cpp -c ? <1> that will work ? <1> first time i see that <7> did you try it? <3> g++ maybe a better choice <0> gcc will compile, g++ will link properly <3> cynic_X_ ah...it's a shame they didn't teach gcc about whatever option it is that g++ supplies
Return to
#c++ or Go to some related
logs:
livecd mount sata drive raid #london #AllNiteCafe il-mohriet pet assembly language
#AllNiteCafe What future yippie leader was the first male cheerleader at brandeis #c++ #linuxhelp #AllNiteCafe
|
|