@# 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 don't know if that template arg is standard, either
<0> although I hope it wouldn't use the front of the vector
<0> nope, it wouldn't (just checked)
<0> although vector doesn't have .back() does it?
<1> Alright I'll test it tomorrow morning and go from there.
<2> No, but khan does
<1> thanks
<1> hm
<2> That's how he learned about friend functions
<0> yeah I guess that template arg isn't as useful as one would hope
<1> it does
<1> have a back()
<0> does it have pop_back ?
<1> yes
<0> aha
<0> std::stack<int, std::vector<int> > mystack( std::vector<int>( initial_size ) );



<1> nice.
<1> Thank you.
<0> sure
<3> Okay, time's up... see you kids laters
<4> grrr
<4> my virtual pc image keeps losing keyboard, very strange
<4> have to restart virtual pc itself (image state saved and restored) and it starts working again
<4> quite annoying
<5> what's virtual pc?
<4> a microsoft emulator akin to VMWare
<5> I thought you were goign to be cool, and go find a new job?
<5> oh, those things ****
<5> why do you need 2 OSs running on 1 computer?
<4> my second interview is on monday
<4> and i have a job
<4> i'm working from home on this project, so they sent me a dev image
<4> containing everything
<5> I said a NEW job
<5> oh, neat
<5> they send you like a whole OS?
<4> yeah
<5> I've never heard of anything like that before.
<5> you're not building an OS are you?
<5> maybe driver work of soem sort?
<4> Windows Server 2003, all server software configured, the SCC system configured, all dev tools
<4> no, this particular project is a custom sharepoint implementation
<4> so ASP.NET work
<5> hmmmm, I guess that's still convenient having everything just magically set up for you.
<5> MS doesn't frown on this sort of thing?
<5> I guess as a business you just buy licenses
<4> it's all licensed
<5> not actual additional copies of the OS
<4> we have site licenses for ms software i believe
<4> (they're our parent company)
<5> You know, more and more I think I'd rather work with straight software people
<5> rather than HW/SW
<5> like in verification
<5> we've got a compiler group
<5> I'm on their mailing list
<5> I like the discussions that go on there
<5> all the talk of coding guidelines, and sw architecture, and redoing things to make them more maintainable
<5> soooo much different than verification, like at AMD where it wasn't uncommon to have an entire tool written as a single 20,000 line function
<4> hah
<4> different goals
<5> that's not an exaggeration either
<6> anybody can help me whith branch and bound?
<5> not a big switch case statement either
<5> 20,000 lines of spaghetti code with gotos all over the place.
<0> geez
<7> hi
<7> i have a problem, which really takes my nerves.
<0> hello
<0> just ask
<8> hi rdragon
<0> hello
<8> I like you ;)
<7> i have a template cl*** inside of a usual cl***. the template cl*** has various function-declarations.
<9> NoideaLT its not too different in the S/W groups either.
<7> later, i have the definitions of these functions.
<7> but the compiler complains, saying that there are no declarations for my functions.
<0> well, we'll have to see some code



<7> i wrote a very simple equivalent of this cl*** structure to sort out mistakes. and there, it works without any problems
<6> i have a matrice (m,n) is a map where the values are between [0,100] and that is the grade of danger from that place (is about a robot) The robot is in (xi,yi) and i want him to go in (xf,yf) I must use method branch and bound
<0> S|m_pat|cul sounds like homework
<6> :) well yes
<6> i have to send a mail fine 11:00
<0> we don't do homework - ask your teacher, or ask a specific C++ -related question
<6> ((
<6> i do know anything about this method
<6> it was only one cl***
<6> and at that time i worked
<0> why does that mean we should do your work?
<6> well some advice
<6> where should i start
<0> int main(){
<6> may i do it in one hour ?
<0> i have no idea
<6> that o know
<10> is anyone doing GPGPU stuff?
<0> i have no idea what you've got, where you're at, the organization of anything, etc...
<6> well i'm lost belive me
<0> i don't really know what 'branch and bound' is, either, but that's likely my fault
<6> :)
<0> my advice is get on the phone with the teacher, and ask for advice
<10> it's a heuristic tree traversal (BB)
<6> is a method or something like that i have to find the shortest way between 2 points and the most niondangeros
<6> well if i will call my teacher at this hour he probaly kill me and ewe do not have his number nooen
<6> is secret
<6> :)
<10> A*
<10> search for A* on the net
<6> hm let's see
<0> he really can't kill you, and you'd get a bad grade for not doing it, and it's not like he can do anything else outside the scope of this ***ignment to hurt you
<6> :) well i guess i will be in his blaklist that's it i will learn this days and try to talk whith him to take my work than
<10> all i can tell you is that B&B is friggin easy. look it up in your textbook or on the net. it can be implemented and debugged in no time
<8> rdragon, my teacher threatned to kill me, too
<0> what country are you in
<0> ?
<8> Canada
<7> S|m_pat|cul: there is a brief A* tutorial at http://www.schnaader.info/ . Tutorials -> A* algorithm
<6> djik_ you sayed is easy well give some examples
<7> it doesn't take different dangers into account, but you can easily put this addition into the calculated distance.
<7> i posted my problem at http://www.noidea128.org/
<7> i don't know if it's enough code to find my mistakes. but it gives a good idea about what i want to do and where i'm stuck.
<0> ignu_dan you'll have to tell us where line 126 is
<7> uups.
<7> it's
<7> mom
<7> it's the line 112 of the post:
<7> template < cl*** T, int DIM > LLTrackerFilterBackend::Filter < T, DIM >::Filter()
<0> oh, you're trying to split the function definitions into source files
<0> yeah, that doesn't work with templates
<0> you'll need to put the definitions in the header file
<7> ah, then that's the reason why it does work in my little code at the beginning!!!
<7> ah, sure. because if another file includes just the .h without the definitions, the compiler won't know what template-instanciations will be needed.
<7> hey, that makes sense. :-)
<7> err, actually the linker is the part whihc wouldn't know
<7> hey cool, thanks a lot. *jumping around in happyness* :-)
<11> Anyone know a good way to program parallel port in windows2000 ?
<0> well, the linker would complain, but because the compiler didn't provide definitions for whatever instanciations
<7> maybe there is a way wo tell the compiler "hey, such and such instanciations will be needed. please include them."
<7> however, i can put the definitions into the header.
<0> you say that by actually instanciating the template
<0> but when the compiler compiles the source file with the function definitions, it has no idea what templates have been instanciated in other source files
<7> would it be possible if i make the inner template cl*** private?
<0> no
<7> mh, i put them into the .h and still get the same result.
<0> template< typename T> struct S{ void f(){ ... } };
<7> isn't it inline then?
<0> no
<7> in my test-program, it's outside, after the cl*** definition.
<7> i'll test your hint.
<0> either works. template<typename T>struct S{ void f(); }; template<typename T> void S::f(){ ... }
<12> rdragon i order that accelerated c book , but it needs one month to come , what should i do until then ? read tutorials ?


Name:

Comments:

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






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

#AllNiteCafe
roxigirl ircnet
#linux
#apache
infile identifier not found c++ c3861
#linux
#MissKitten
you have moved the mouse please reboot funny
who says seeing is beleiving quotation
poweredge sc1420 debian



Home  |  disclaimer  |  contact  |  submit quotes