Re: STL sort problem Programming Software Development by mzimmers …="http://www.cplusplus.com/reference/stl/vector/end/"]http://www.cplusplus.com/reference/stl/vector/end/[/URL] I'd have… Re: STL sort problem Programming Software Development by arkoenig …="http://www.cplusplus.com/reference/stl/vector/end/"]http://www.cplusplus.com/reference/stl/vector/end/[/URL] I'd have… STL: List question Programming Software Development by termin8tor Hey all, I'm attempting to use an STL List to store a list of objects. Now I realise … STL sort problem Programming Software Development by optimumph … first copy the input array (data) into an STL vector, then apply STL’s sorting algorithm to the vector, and finally copy… Re: STL sort problem Programming Software Development by arkoenig … I'm inclined to believe you're right.[/QUOTE] Every STL algorithm that deals with a range expresses the range as… STL iota not found Programming Software Development by abhimanipal …, Please excuse the noob question as I am new to STL in C++. I am trying to write a very basic… stl map with the keys from the SN of the sliding window protocol Programming Software Development by pdk123 Hi, In the legacy implementation, there is a Queue (which stored the PDUs) which need to be retransmitted. The queue has been implementated as stl map (c++). So the last element in the Queue may not be the largest SN, as per transmit window. Is there any easy way to derive the largest SN (key) in the map ? thanks, pdk STL sorting of list Programming Software Development by atticusr5 …* Assignment Three * February 19th, 2011 * STL Double Linked List * * The purpose of this…assignment is to gain experiance using C++ built in List STL * /******************************************************************************************/ #include <iostream> // | … Re: STL list.sort() is really slow!? Programming Software Development by Kanoisa …larger dataset and the tables turn dramatically. code changes to STL load routine. [code] std::istream& cDay::AddTask(…10000 element data set 20 times gives the following averages STL Average time for 20 passes = 0.0725451 seconds … a fast once use algorithm All hail STL :) (when they said STL makes life easier and code production faster … STL on Solaris with Forte 7.0 compiler Programming Software Development by winbatch Hi, I've been experimenting with STL on solaris with the 7.0 sun compiler.…[/code] [code]56 |/export/SUNWspro> find . -name '*stl*' -print ./prod/lib/stlport4 ./prod/lib/stlport4/libp/libstlport.a…include/CC/stlport4/config/stlcomp.h ./prod/include/CC/stlport4/stl ./prod/include/CC/stlport4/stl_user_config.h ./inventory/v10n1/SPROstl4h… STL list.sort() is really slow!? Programming Software Development by Kanoisa … an organisor application. So today i converted it to use STL instead of my hardcoded double linked class. I used list… i have done to see if its me and not STL who is to blame. (im using VS2008 but not using… right now is that due to the fact that the STL is so felxable they can't do things as convienantly… Re: STL Stack Programming Software Development by chunalt787 … how im supposed to add my own function to a STL Stack class. AKA, stack already has pop, push, etc. I… its own?[/QUOTE] Create your own class that holds an STL stack as a data member that you can modify. Write…() function on your class that will just pop from the stl stack. Therefore you can write a reverse function that just… Re: STL list.sort() is really slow!? Programming Software Development by Kanoisa … the appropriate slot in the list } return in; } //in the STL list implimentation //definition of m_taskList -> std::list<cTask…); m_taskList.push_back(temp); m_taskList.sort(compareTaskTime); return in; } //in the STL vector implimentation //definition of m_taskList -> std::vector<cTask… STL list<> Programming Software Development by picass0 … list<int>, when i do a print of stl list i get the result which not i wanted. i… 7 9" in the list when i print from stl list what am i suppose to do? [code] getline(fin… STL vector destruction Programming Software Development by sym I read that STL containers will allocate elements in the heap but the container …" in order to avoid memory leak? Or, does the STL vector destructor gets called when "sub" gets deleted… Re: STL queue know how Programming Software Development by ArkM …more precisely, underlying container class max capacity) depends on STL implementation. I can't imagine that any 32-bit (…or 64-bit) STL deque (queue default container) has less than billion (or…near) items capacity... Search your platform forums on possible STL version implementation defects. It seems that it's the … STL beginner needs helps Programming Software Development by shasha821110 Hi, all I am the STL beginner and also kind of new in c++. And i … assignment about write the text utility class with pieces of STL. So the following two function implement totally freak me out… Re: STL beginner needs helps Programming Software Development by orwell84 Daniweb is pretty good with helping people write code, actually. You just need to do some work. Anyway, I don't know if this will help a ton, but here's an [URL="http://www.devarticles.com/c/a/Cplusplus/The-STL-String-Class/"]article[/URL] on STL STL in VB Programming Software Development by AirGear i'm new in using VB, so i'm not quite familiar with it.. if any of you use cpp, i'm sure that you know STL in cpp, like vector and stack.. does VB has that kind of STL too? i really need good data structure using VB now, and it will kill me if i have to code all necessary data structure like list, stack, vector, etc :(( Re: STL list.sort() is really slow!? Programming Software Development by Kanoisa … that. I Think that will remove the inefficiency in the STL list implimentation ill post back in a bit when i… STL set - inserting key duplicates when struct contents vary. Programming Software Development by fandango …; t1.Time; } }; [/CODE] I want to store these in an STL set, so that those inserted with low Time offsets appear… lost (all because they have the same Time offset, the STL set assumes they are identical, even though they are going… stl basic question Programming Software Development by pdk123 … tried implementing the dynamic array with the STL. I wrote the following code and tried with int array … Re: *.stl files Programming Software Development by saud3001 … i have to use a C program which can read .stl files. I am not good at C programming, so can… am writing a 3D graphics program to read and display *.stl files. These are stereo lithography files generated by 3DMax. Any… *.stl files Programming Software Development by shAq … am writing a 3D graphics program to read and display *.stl files. These are stereo lithography files generated by 3DMax. Any… STL find_if Programming Software Development by MIGSoft … everybody, Could somebody please provide an example for using the STL find_if for the following task. I am trying to search… STL funciton return vector of map iterators Programming Software Development by jrivera … have a hw question that asks us to create an STL funciton that takes an argument of type map<string… Re: STL funciton return vector of map iterators Programming Software Development by ~s.o.s~ …; '\n'; }[/code] [URL="http://www.yolinux.com/TUTORIALS/LinuxTutorialC++STL.html"] This[/URL] would be a good tutorial for… STL vector - deleting the last element Programming Software Development by yesm … assignment that requires me to store custom classes in an STL vector and do things like search, display, and delete them… Re: STL vector - deleting the last element Programming Software Development by yesm Hmmmm. The explicit keyword and the different syntax totally made me miss the fact that the line was a constructor ;) I was having trouble throwing extra parameters at the STL functions, so I had been using... erm... a global variable... That syntax helped me a ton! Thanks for the help, everyone! Now I just have to get File I/O working.... Re: STL vector - deleting the last element Programming Software Development by vijayan121 …;358382]I was having trouble throwing extra parameters at the STL functions, so I had been using... erm... a global variable…