#include <iostream>
#include <cassert>//what is the use of this???
#include <algorithm>//how to convert in turbo c++ and what is the use this???
#include <vector>//is this array in turbo c++???
using namespace std;
int main()
{
bool result;// what is the use of this??
string s("abcde");
string s2("aeiou");
vector<char> vector1(s.begin(), s.end());// how to convert this in turbo c++
vector<char> vector2(s2.begin(), s2.end());//how to convert this in turbo c++
vector<char> setDifference;//how t convert this in turbo c++
set_symmetric_difference(vector1.begin(),vector1.end(),vector2.begin(), vector2.end(),back_inserter(setDifference));//how to convert this in turbo c++
for(int i=0;i<setDifference.size();i++){
cout << setDifference[i];
}
return 0;
}
gujinni 0 Junior Poster in Training
Moschops 683 Practically a Master Poster Featured Poster
Narue 5,707 Bad Cop Team Colleague
Salem commented: +1 +17
gujinni 0 Junior Poster in Training
Moschops 683 Practically a Master Poster Featured Poster
ravenous 266 Posting Pro in Training
Salem commented: Nice +17
gujinni 0 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.