- Change
ON|OFF
to enable/disable boost lib - Change version
1.75
to your boost version - Change
progname
to your programe name
set(Boost_USE_STATIC_LIBS OFF)
set(Boost_USE_MULTITHREADED ON)
set(Boost_USE_STATIC_RUNTIME OFF)
{ | |
} |
#include<stdio.h> | |
#include<string.h> | |
#include<stdlib.h> | |
// function reverse string instead of strrev (strrev not exist in linux) | |
char *rev_string(char *str) | |
{ | |
int start = 0; | |
int end = strlen(str) - 1; | |
char tmp; |
cmake_minimum_required(VERSION 3.7) | |
project(First C) // First -> project name | |
include(FindPkgConfig) | |
pkg_check_modules(GTK REQUIRED "gtk+-3.0") | |
include_directories(${GTK_INCLUDE_DIRS}) | |
link_directories(${GTK3_LIBRARY_DIRS}) | |
add_definitions(${GTK3_CFLAGS_OTHER}) |
#!/usr/bin/python3 | |
import string | |
import sys | |
index = int(sys.argv[1]) | |
char = str(sys.argv[2]) | |
allp = string.ascii_letters + string.punctuation + string.digits | |
file = open('youfool.exe', 'rb').read() |
import string | |
from random import * | |
import itertools | |
def caesar_cipher(x, y): | |
y = y * (len(x) / len(y) + 1) | |
return ('').join((chr(ord(a) ^ ord(b)) for a, b in itertools.izip(x, y))) | |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |