This file contains hidden or 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
from json import dump, load | |
import os | |
price = 10 #ticket price | |
PATH = "C:/Users/anaki/OneDrive/TY musical/ticketSales.json" | |
PATH = "./data.json" | |
#load | |
try: |
This file contains hidden or 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 <sys/auxv.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <elf.h> | |
#ifdef __LP64__ | |
typedef Elf64_auxv_t Elf_auxv_t; | |
typedef Elf64_Ehdr Elf_Ehdr; | |
typedef Elf64_Phdr Elf_Phdr; | |
#else |
This file contains hidden or 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 <string> | |
int | |
fRef(const std::string &v) | |
{ | |
} | |
int | |
fValue(std::string v) | |
{ | |
} |
This file contains hidden or 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 <assert.h> | |
#include <errno.h> | |
#include <netdb.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <sys/socket.h> | |
#include <sys/types.h> |