Skip to content
  • Home
  • Full Index
  • All Projects
  • Android
  • UVa starter
  • Beginner problems

Design, Develop, Defend

অন্তহীন ছুটে চলা, অবিরাম জীবনের অর্থ খুজে ফেরা

Tag: STL : algorithm

STL : max_element () + min_element ()

Posted on July 21, 2009 by Shahab

#include #include #include using namespace std; int main () { int x [] = {2, 7, 92, 81, 19, 72, 23}; unsigned int array_length = sizeof (x) / sizeof (int); cout

Tagged STL : algorithmLeave a comment

STL: Algorithm: generate ()

Posted on July 21, 2009 by Shahab

#include #include using namespace std; int main () { vector v (10); // allocate space for 10 elements generate( v.begin (), v.end (), rand); // generate random numbers for ( size_t i = 0; i < v.size (); i++ ) printf ("%d\n", v [i]); return 0; } /* output 41 18467 6334 26500 19169 15724 … Continue reading STL: Algorithm: generate () →

Tagged STL : algorithmLeave a comment

STL: Algorithm: binary_search ()

Posted on July 21, 2009 by Shahab

Tagged STL : algorithmLeave a comment

STL: Algorithm: prev_permutation ()

Posted on July 21, 2009 by Shahab

Tagged STL : algorithmLeave a comment

STL : find ()

Posted on March 27, 2009July 21, 2009 by Shahab

If the value of key is equals to: 2 / 4 / 6 / 8 / 10 output will be found. vector <int>:: iterator p; declares a variable p, that traverse the whole vector form begin to end. p saves the address of key, if found. So, If (*p is equals to key) then, output: … Continue reading STL : find () →

Tagged STL : algorithm, STL : vector, STL documentationLeave a comment

Archives

Blog Stats

  • 2,454,061 times

Categories

ACM (TJU) ACM (UVa) Algorithm Android Apple-iOS Bangla Chotha Cocos2dx CodeChef CodeForces Code Jam Common Easy Problems Faith HDU IARCS ICPC Live Archive Java Learning and Sharing PhoneGap PHP & MySQL Project Euler Algorithm STL documentation Timus Online Judge Titanium Tutorial UIU USACO Xamarin Yii

Recent Posts

  • Firebase: Cloud Firestore
  • Java fundamentals (Beyond basic)
  • Android SDK with Java Basics: 10
  • Android SDK with Java Basics: 09
  • Android SDK with Java Basics: 08

Join 275 other subscribers
Follow Design, Develop, Defend on WordPress.com

Goodreads

RSS Feed RSS - Posts

Tags

Algorithm android Apple-iOS C example Information iOS Project Euler SDK Source Code sourcecode STL : algorithm STL : queue STL : vector STL documentation swift tutorial uiu Xamarin

Follow me on Twitter

My Tweets
  • LinkedIn
  • Google plus
  • Twitter
  • Subscribe Subscribed
    • Design, Develop, Defend
    • Already have a WordPress.com account? Log in now.
    • Design, Develop, Defend
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar