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
#get dir from user and make the folders | |
import os | |
ans = input("Want to create dir? Press y for yes, n for no:") | |
if ans == 'y': | |
dir = input("Enter the dir:") | |
for i in range(65,91): | |
os.makedirs(dir + "\\" + chr(i)) | |
for i in range(0,10): | |
os.makedirs(dir + "\\" + str(i)) | |
else: |
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> | |
using namespace std; | |
class coordinate | |
{ | |
private: | |
int feet,inch; | |
public: | |
coordinate(int a,int b) | |
{ |
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> | |
using namespace std; | |
class coordinate | |
{ | |
private: | |
int x,y,z; | |
public: | |
void set() | |
{ |
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> | |
using namespace std; | |
class coordinate | |
{ | |
private: | |
int x,y,z; | |
public: | |
void set() | |
{ |
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> | |
using namespace std; | |
class coordinate | |
{ | |
private: | |
int x,y,z; | |
public: | |
void set() | |
{ |
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> | |
using namespace std; | |
class B; | |
class A { | |
private: | |
int x; | |
public: | |
A() | |
{ |
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> | |
using namespace std; | |
class Q; | |
class P { | |
private: | |
int x; | |
public: | |
P() | |
{ |
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> | |
using namespace std; | |
class N; | |
class M { | |
private: | |
int x; | |
public: | |
M() | |
{ |
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> | |
using namespace std; | |
class coordinate | |
{ | |
private: | |
int x,y,z; | |
public: | |
void set() | |
{ |
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> | |
using namespace std; | |
class calc | |
{ | |
int a,b; | |
public: | |
void getdata() | |
{ | |
cout<<"Enter a:"<<endl; |
NewerOlder