C
|
C++
|
Objective-C
|
VC++
|
Win32
|
MFC
|
Java
|
Php
|
Delphi
|
Visual Basic
|
.Net
|
Networking
|
General
|
Games
|
Jobs
|
Javascript
|
Menu
Project Upload
Project Download
Articles
Programs
Search
Solution
pickSourcecode.com
Login
Register
About us
Contact us
Cpp
>
Programs
cpp simple binder sample program
#include <iostream>
#include <string>
#include <functional>
#include <algorithm>
using namespace std;
int
main()
{
string s = "aBCdefGH";
partition(s.begin(), s.end(), bind1st(greater<char>(), 'a'));
cout << "s = " << s << "\n";
return 0;
}
Privacy Policy
|
About Us