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 <cstring> | |
using namespace std; | |
int main() | |
{ | |
char str[255]; | |
cout<<"Write something here"; | |
cin.getline(str,255); | |
int len=strlen(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 <iostream> | |
#include <string> | |
using namespace std; | |
bool IsCharDuplicate(string s) | |
{ | |
for (int i = 0 ; i < s.length(); i++) | |
for (int j = i+1; j <s.length() ; j++) | |
if (s[i]==s[j]) | |
return true; |
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> | |
using namespace std; | |
bool IsCharDuplicate(String s) | |
{ | |
for (int i = 0 ; i < s.length; i++) | |
for (int j = i+1; j <s.length ; j++) | |
if (s[i]==s[j]) | |
return true; |
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
// | |
// main.java | |
// java | |
// | |
// Created by ajinkya bobade on 4/15/16. | |
// Copyright © 2016 ajinkya bobade. All rights reserved. | |
// | |
//Description: Compile the java programs downloaded by the | |
// download_assignments program and update the date deadlines of assinment submission to the output |
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
// | |
// main.java | |
// java | |
// | |
// Created by ajinkya bobade on 4/15/16. | |
// Copyright © 2016 ajinkya bobade. All rights reserved. | |
// | |
//Description: Compile the java programs downloaded by the | |
// download_assignments program and update the date deadlines of assinment submission to the output |