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 MyInfo | |
{ | |
private: // data hidden from outside world | |
int x; | |
public: | |
// function to set value of variable x | |
void set(int a) { x = 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 "Account.h" | |
#include <cstdio> | |
Account::Account(string name, int age) | |
{ | |
this->name = name; | |
this->age = age; | |
this->balance = 0; | |
} |
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
import subprocess | |
import sys | |
import os | |
# take email address as an argument | |
if len(sys.argv) == 4: | |
name = sys.argv[1] | |
email_address = sys.argv[2] | |
linux_username = sys.argv[3] |
OlderNewer