Search found 2 matches

by rifter1818
Mon Nov 01, 2004 5:14 pm
Forum: Volume 1 (100-199)
Topic: 195 - Anagram
Replies: 242
Views: 58146

Fixed the multiple uses of i (shouldnt that have thrown a compile error?) still getting OLE
by rifter1818
Mon Nov 01, 2004 6:57 am
Forum: Volume 1 (100-199)
Topic: 195 - Anagram
Replies: 242
Views: 58146

195 OLE


#include<iostream>
#include<string>
#include<algorithm>
#include<vector>
using namespace std;
struct HCAR{
char T;
HCAR(){}
HCAR(char n){T = n;}
};
bool operator<(const HCAR& a,const HCAR& b)
{
if(a.T >= 'A' && a.T <= 'Z')
{
if(b.T >= 'A' && b.T <= 'Z')
return a.T<b.T;
else
return true ...

Go to advanced search