This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stdafx.h" | |
#include <string> | |
#include <iostream> | |
bool HasDuplication(std::string); | |
int main() | |
{ | |
using namespace std; | |
string str; | |
cin>>str; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stdafx.h" | |
#include <string> | |
#include <iostream> | |
void reverse(char*); | |
int main() | |
{ | |
using namespace std; | |
char str[] = "This is a test"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stdafx.h" | |
#include <string> | |
#include <iostream> | |
const int SIZE = 256; | |
bool IsPermutation(std::string, std::string); | |
int main() | |
{ | |
using namespace std; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stdafx.h" | |
#include <string> | |
#include <iostream> | |
void ReplaceSpace(std::string&); | |
int main() | |
{ | |
using namespace std; | |
string str; | |
getline(cin,str); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stdafx.h" | |
#include <string> | |
#include <iostream> | |
#include <sstream> | |
std::string Compress(std::string); | |
int main() | |
{ | |
using namespace std; | |
string originstr; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <fstream> | |
bool ReadFile(int**, int); | |
void Output(int**, int); | |
void Rotate(int**, int, int); | |
int main() | |
{ | |
using namespace std; | |
cout<<"Enter the size please"<<endl; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <fstream> | |
bool ReadFile(int**, int, int); | |
void Output(int**, int, int); | |
void SetZero(int**, int, int); | |
int main() | |
{ | |
using namespace std; | |
cout<<"Enter the width and height please"<<endl; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
bool IsSubString(std::string, std::string); | |
bool IsRotation(std::string, std::string); | |
int main() | |
{ | |
using namespace std; | |
string str1,str2; | |
cin>>str1>>str2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <hash_set> | |
#include <string> | |
class Node | |
{ | |
public: | |
int data; | |
Node* next; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
class Node | |
{ | |
public: | |
int data; | |
Node* next; | |
}; |
OlderNewer