锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久久久久久久久免免费精品,久久久久久精品久久久久,亚洲精品tv久久久久久久久 http://www.shnenglu.com/niewenlong/zh-cn Wed, 07 May 2025 17:52:26 GMT Wed, 07 May 2025 17:52:26 GMT 60 Linux涓嬪垹闄ゅぇ閲忔枃浠?/title> http://www.shnenglu.com/niewenlong/archive/2021/07/11/217736.html鑱傛枃榫?/dc:creator>鑱傛枃榫?/author>Sun, 11 Jul 2021 07:07:00 GMT http://www.shnenglu.com/niewenlong/archive/2021/07/11/217736.html http://www.shnenglu.com/niewenlong/comments/217736.html http://www.shnenglu.com/niewenlong/archive/2021/07/11/217736.html#Feedback 0 http://www.shnenglu.com/niewenlong/comments/commentRss/217736.html http://www.shnenglu.com/niewenlong/services/trackbacks/217736.html 闃呰鍏ㄦ枃 ]]> 紱佹 .mysql_history http://www.shnenglu.com/niewenlong/archive/2018/03/25/215570.html鑱傛枃榫?/dc:creator>鑱傛枃榫?/author>Sun, 25 Mar 2018 10:18:00 GMT http://www.shnenglu.com/niewenlong/archive/2018/03/25/215570.html http://www.shnenglu.com/niewenlong/comments/215570.html http://www.shnenglu.com/niewenlong/archive/2018/03/25/215570.html#Feedback 1 http://www.shnenglu.com/niewenlong/comments/commentRss/215570.html http://www.shnenglu.com/niewenlong/services/trackbacks/215570.html $find / -name .mysql_history 鎴栬呰繘鍏ヤ富鐩綍錛?nbsp; $cd $HOME $find . -name .mysql_history $cat /dev/null > ~/.mysql_history 閫氬父鎯呭喌涓?錛屾暟鎹簱綆$悊鍛橀兘鏄緢紲炵鐨勶紝鍥犱負浠栦滑緇忓父鍑犱釜璇彞灝辨悶瀹氫簡鏁版嵁搴撴煡璇㈢紦鎱㈢殑闂錛岃浜轟滑闈炲父浣╂湇錛屼絾鏄啛鎮塵ysql鐨勬湅鍙嬮兘鐭ラ亾mysql 鍦ㄥ綋鍓嶇敤鎴風殑瀹剁洰褰曚笅浼氭湁涓?.mysql_history 鏂囦歡錛屽叾涓繚瀛樼潃榪囧幓鎵ц榪囩殑mysql鍛戒護錛岄氳繃榪欎釜鍛戒護浣犲氨鑳界煡閬撲粬鍒氭墠鎵ц浜嗕粈涔堣鍙ャ傝繖涔熸槸鎴戠啛鎮塵ysql鐨勫涔犵殑涓涓湁鍔涘伐鍏楓?/span>
浣嗘槸褰撲綘鑻ユ槸涓涓暟鎹簱綆$悊鍛樻椂錛屼綘灝辮鑰冭檻涓嬭繖涓棶棰樹簡銆傚洜涓轟綘鎵ц鐨勬煇浜涜鍙ユ槸涓嶅笇鏈涘埆浜虹湅鍒扮殑銆備緥濡傚畾鏈熶慨鏀規暟鎹簱瓚呯駭鐢ㄦ埛root鐨勫瘑鐮併?榪欐牱鍒漢鍙鏈夋鏂囦歡鐨勮鍙栨潈闄愶紝閭d箞鏁版嵁搴撳氨娌℃湁瀹夊叏鍙█浜嗐?鎬庝箞鍔?鍙互閫氳繃璁劇疆 鍏抽棴榪欎釜銆?/span>
鏂規硶濡備笅
棣栧厛 鍦?etc/profile 涓坊鍔?/span>
export MYSQL_HISTFILE=/dev/null
淇濆瓨閫鍑哄悗
鍦╰erminal 涓墽琛?/span> ln -s /dev/null ~/.mysql_history
灝嗙幇鏈夌殑鏂囦歡鍒犻櫎
rm ~/.mysql_history
ls -al ~/lrwxrwxrwx. 1 root root 9 1鏈? 3 23:14 .mysql_history -> /dev/null
鑷蟲錛屼互鍚? 浣犲湪mysql涓墽琛岀殑鍛戒護灝變笉浼氳璁板綍浜嗐?/span>
]]> Debian 緋葷粺閫鍑烘椂娓呴櫎 鐩稿叧璁板綍 http://www.shnenglu.com/niewenlong/archive/2018/03/25/215569.html鑱傛枃榫?/dc:creator>鑱傛枃榫?/author>Sun, 25 Mar 2018 10:10:00 GMT http://www.shnenglu.com/niewenlong/archive/2018/03/25/215569.html http://www.shnenglu.com/niewenlong/comments/215569.html http://www.shnenglu.com/niewenlong/archive/2018/03/25/215569.html#Feedback 0 http://www.shnenglu.com/niewenlong/comments/commentRss/215569.html http://www.shnenglu.com/niewenlong/services/trackbacks/215569.html Last login: Sun Mar 25 17:44:20 on ttys003
MACdeiMac-2:~ MAC$ sudo -s
Password:
bash-3.2# ssh -p 3389 xxx.xxx.xxx.xxx
Linux localhost 3.2.0-4-amd64 #1 SMP Debian 3.2.88-1 x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Mar 25 16:41:05 2018 from xxx.xxx.xxx.xxx
root@localhost:~# cat /etc/skel/.bash_logout
# ~/.bash_logout: executed by bash(1) when login shell exits.
# when leaving the console clear the screen to increase privacy
if [ "$SHLVL" = 1 ]; then
[ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
fi
# add by me remove history files when logout.
rm -f $HOME/.bash_history
root@localhost:~# cat /etc/skel/.bash
.bash_logout .bashrc
root@localhost:~# cat /etc/skel/.bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth
# append to the history file, don't overwrite it
shopt -s histappend
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
#shopt -s globstar
# make less more friendly for non-text input files, see lesspipe(1)
#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color) color_prompt=yes;;
esac
# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
#force_color_prompt=yes
if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
color_prompt=yes
else
color_prompt=
fi
fi
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt
# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
;;
*)
;;
esac
# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
#alias dir='dir --color=auto'
#alias vdir='vdir --color=auto'
#alias grep='grep --color=auto'
#alias fgrep='fgrep --color=auto'
#alias egrep='egrep --color=auto'
fi
# some more ls aliases
#alias ll='ls -l'
#alias la='ls -A'
#alias l='ls -CF'
# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
root@localhost:~# vi /etc/skel/.bashrc
root@localhost:~#
]]>OpenSSL 緙栬瘧鍙傝?/title> http://www.shnenglu.com/niewenlong/archive/2018/02/28/215537.html鑱傛枃榫?/dc:creator>鑱傛枃榫?/author>Tue, 27 Feb 2018 17:40:00 GMT http://www.shnenglu.com/niewenlong/archive/2018/02/28/215537.html http://www.shnenglu.com/niewenlong/comments/215537.html http://www.shnenglu.com/niewenlong/archive/2018/02/28/215537.html#Feedback 0 http://www.shnenglu.com/niewenlong/comments/commentRss/215537.html http://www.shnenglu.com/niewenlong/services/trackbacks/215537.html openssl 鍒漢緙栬瘧鐨勪笅杞?錛歨ttps://www.npcglib.org/~stathis/blog/precompiled-openssl/http://blog.csdn.net/liang19890820/article/details/51658574 http://blog.csdn.net/ljttianqin/article/details/72978612
OpenSSL緙栬瘧(Win7,64浣?VS2010) 緋葷粺鐜
鎿嶄綔緋葷粺錛歐indows 7涓撲笟鐗堬紙SP1錛?/p>
緋葷粺綾誨瀷錛?4浣嶆搷浣滅郴緇?/p>
緙栬瘧鐜
Microsoft Visual Studio 2010
涓嬭澆
OpenSSL
涓嬭澆鍦板潃錛?a target="_blank" style="color: #1e375a; outline: 0px; margin: 0px; padding: 0px; box-sizing: border-box; text-decoration-line: none;">http://www.openssl.org/source
ActivePerl
涓嬭澆鍦板潃錛?a target="_blank" style="color: #1e375a; outline: 0px; margin: 0px; padding: 0px; box-sizing: border-box; text-decoration-line: none;">http://downloads.activestate.com/ActivePerl
瀹夎錛氭病鍟ュソ璇寸殑
緙栬瘧姝ラ
鍚姩Microsoft Visual Studio 2010 => Microsoft Visual Studio 2010 =>Visual Studio x64 Cross Tools Command Prompt (2010)
cd 鍒癘penSSL鐨勪笅杞借礬寰勪緥濡傦紙cd D:\adobe_study\openssl-1.0.1e)
鎸夌収OpenSSL涓嬭澆鐩綍涓殑"INSTALL.W64"鏂囦歡錛堜嬌鐢ㄦ枃鏈伐鍏鋒墦寮錛屼緥濡俇E錛夐噷鎻愮ず鐨勫懡浠?濡備笅)閫愭榪涜鎿嶄綔銆?/p>
> perl Configure VC-WIN64A
> ms\do_win64a
> nmake -f ms\ntdll.mak
> cd out32dll
> ..\ms\test
琛ュ厖
緙栬瘧Debug鐗堟湰(xxxMDd.lib)
a.淇敼ms\do_win64a
perl util\mk1mf.pl VC-WIN64A >ms\nt.mak => perl util\mk1mf.pl debug VC-WIN64A >ms\nt.mak
perl util\mk1mf.pl dll VC-WIN64A >ms\ntdll.mak => perl util\mk1mf.pl debug dll VC-WIN64A >ms\ntdll.mak
b.淇敼ms\ntdll.mak
SSL=ssleay32 => SSL=ssleay32MDd
CRYPTO=libeay32 => CRYPTO=libeay32MDd
c.淇敼ms\libeay32.def —— LIBRARY LIBEAY32 => LIBRARY LIBEAY32MDd
d.淇敼ms\ssleay32.def —— LIBRARY SSLEAY32 => LIBRARY SSLEAY32MDd
e.榪愯 > nmake -f ms\ntdll.mak
2. 緙栬瘧Debug鐗堟湰(xxxMTd.lib)
a.淇敼ms\nt.mak
SSL=ssleay32 => SSL=ssleay32MTd
CRYPTO=libeay32 => CRYPTO=libeay32MTd
b.榪愯 > nmake -f ms\nt.mak
]]> C璇█涓瓧絎︿覆濡備綍杞崲涓轟簩榪涘埗銆佸叓榪涘埗銆佸崄榪涘埗銆佸崄鍏繘鍒?/title> http://www.shnenglu.com/niewenlong/archive/2018/01/30/215489.html鑱傛枃榫?/dc:creator>鑱傛枃榫?/author>Mon, 29 Jan 2018 20:55:00 GMT http://www.shnenglu.com/niewenlong/archive/2018/01/30/215489.html http://www.shnenglu.com/niewenlong/comments/215489.html http://www.shnenglu.com/niewenlong/archive/2018/01/30/215489.html#Feedback 0 http://www.shnenglu.com/niewenlong/comments/commentRss/215489.html http://www.shnenglu.com/niewenlong/services/trackbacks/215489.html #include <stdio.h> #include <stdlib.h> #include <string .h> #include <locale.h>int main() { int i,v; char bs[33]; char b[33]; char hs[9]; char h[9]; char s[4]; char *e; // 鍗佽繘鍒舵暣鏁拌漿浜岃繘鍒朵覆錛?/span> i=1024; ltoa(i,b,2); sprintf(bs,"%032s",b); printf("i=%d,bs=%s\n",i,bs);// 鍗佽繘鍒舵暣鏁拌漿鍗佸叚榪涘埗涓詫紱 i=1024; ltoa(i,h,16); sprintf(hs,"%08s",h); printf("i=%d,hs=%s\n",i,hs);// 鍗佸叚榪涘埗瀛楃涓茶漿鎴愬崄榪涘埗鏁?/span> strcpy(hs,"00000400"); sscanf(hs,"%x",&i); printf("hs=%s,i=%d\n",hs,i);// 浜岃繘鍒跺瓧絎︿覆杞寲涓哄崄鍏繘鍒跺瓧絎︿覆錛?/span> strcpy(bs,"00000000000000000000010000000000"); i=strtol(bs,&e,2); ltoa(i,h,16); sprintf(hs,"%08s",h); printf("bs=%s,hs=%s\n",bs,hs);// 浜岃繘鍒跺瓧絎︿覆杞寲涓哄崄榪涘埗鏁幫紱 strcpy(bs,"00000000000000000000010000000000"); i=strtol(bs,&e,2); printf("bs=%s,i=%d\n",bs,i);// 鍗佸叚榪涘埗瀛楃涓茶漿鎴愪簩榪涘埗涓?/span> strcpy(hs,"00000400"); sscanf(hs,"%x",&i); ltoa(i,b,2); sprintf(bs,"%032s",b); printf("hs=%s,bs=%s\n",hs,bs);// ASC\GBK瀛楃涓茶漿鍗佸叚榪涘埗涓?/span> strcpy(s,"a姹?); i=0; while (1) { if (0==s[i]) break ; sprintf(hs+i*2,"%02X",(unsigned char )s[i]); i++; } setlocale(LC_ALL,"chs"); printf("s=%s,hs=%s\n",s,hs);// 鍗佸叚榪涘埗瀛楃涓茶漿鎴愭眽瀛楋紙GBK錛夊強瀛楃(ASC) strcpy(hs,"61BABA"); i=0; while (1) { if (1!=sscanf(hs+i*2,"%2x",&v)) break ; s[i]=(char )v; i++; } s[i]=0; printf("hs=%s,s=%s\n",hs,s); return 0; }// i=1024,bs=00000000000000000000010000000000 // i=1024,hs=00000400 // hs=00000400,i=1024 // bs=00000000000000000000010000000000,hs=00000400 // bs=00000000000000000000010000000000,i=1024 // hs=00000400,bs=00000000000000000000010000000000 // s=a姹?hs=61BABA // hs=61BABA,s=a姹?/span> ]]> Poco浠嬬粛鍙婄紪璇?/title> http://www.shnenglu.com/niewenlong/archive/2018/01/16/215475.html鑱傛枃榫?/dc:creator>鑱傛枃榫?/author>Tue, 16 Jan 2018 15:05:00 GMT http://www.shnenglu.com/niewenlong/archive/2018/01/16/215475.html http://www.shnenglu.com/niewenlong/comments/215475.html http://www.shnenglu.com/niewenlong/archive/2018/01/16/215475.html#Feedback 0 http://www.shnenglu.com/niewenlong/comments/commentRss/215475.html http://www.shnenglu.com/niewenlong/services/trackbacks/215475.html Poco C++搴撴槸錛?/span>涓緋誨垪C++綾誨簱錛岀被浼糐ava綾誨簱錛?Net妗嗘灦錛孉pple鐨凜ocoa; 渚ч噸浜庝簰鑱旂綉鏃朵唬鐨勭綉緇滃簲鐢ㄧ▼搴?/li> 浣跨敤楂樻晥鐨勶紝鐜頒唬鐨勬爣鍑咥NSI/ISO C++錛屽茍鍩轟簬STL 楂樺彲縐誨兼э紝騫跺彲鍦ㄥ涓鉤鍙頒笅鍙敤 寮婧愶紝騫朵嬌鐢˙oost Software License鍙戝竷 涓嶇鏄惁鍟嗙敤錛岄兘瀹屽叏鍏嶈垂 DynamicAny涓嶢ny綾?/li> Cache妗嗘灦 鍩轟簬OpenSSL鐨勫瘑鐮佺郴緇?/li> 鏃ユ湡錛屾椂闂寸被搴?/li> 浜嬩歡鍜岄氱煡妗嗘灦 FTP瀹㈡埛绔?/li> 璺ㄥ鉤鍙扮殑鏂囦歡緋葷粺綾誨簱 HTML琛ㄥ崟綾誨簱 HTTP瀹㈡埛绔拰鏈嶅姟绔紙鏀寔SSL錛夛紝C++ 鏈嶅姟鍣ㄩ〉闈㈢紪璇戝櫒 鏃ュ織妗嗘灦 澶氱嚎紼嬫鏋訛紙綰跨▼姹狅紝媧誨姩瀵硅薄錛屽伐浣滈槦鍒楃瓑錛?/li> POP3瀹㈡埛绔被搴?/li> 璺ㄥ鉤鍙幫紝涓嬈$紪鍐欙紝澶氬鉤鍙扮紪璇戝拰榪愯 榪涚▼綆$悊鍜岃繘紼嬮棿閫氫俊綾誨簱 鍙嶅皠妗嗘灦 鍩轟簬PCRE鐨勬鍒欒〃杈懼紡 SMTP瀹㈡埛绔被搴?/li> 鏁版嵁搴撹闂被搴擄紙SQLite,MySQL, ODBC) 鏀寔SSL/TLS錛屽熀浜嶰penSSL 鍔ㄦ佺被搴撳姞杞?/li> 鍏堣繘鐨勫唴瀛樺拰鎸囬拡綆$悊錛圔uffer, Pool錛?/li> Socket綾誨簱 緗戠粶鏁版嵁嫻佺被搴擄紝鏀寔Base64,HexBinary緙栬В鐮侊紝鍘嬬緝絳夌瓑 瀛楃涓叉牸寮忓寲鍜屽叾瀹冨瓧絎︿覆宸ュ叿綾誨簱 TCP鏈嶅姟鍣ㄦ鏋訛紙澶氱嚎紼嬶級 鏂囨湰緙栫爜鍜岃漿鎹?/li> Tuples URI鏀寔 鏀寔UTF8鍜孶nicode緙栫爜 UUID鐢熸垚鍣?/li> XML鐢熸垚鍜岃В鏋愬櫒 Zip鏂囦歡鎿嶄綔綾誨簱 Poco鐨勪嬌鍛?/span> Poco鏄竴涓己澶х殑綾誨簱錛屽茍鏄撲簬鏋勫緩鑷繁鐨勫簲鐢ㄧ▼搴?/li> Poco甯姪浣犲垱寤鴻法騫沖彴鐨勫簲鐢ㄧ▼搴忥紙涓嬈$紪鍐欙紝澶氬鉤鍙扮紪璇戝拰榪愯錛?/li> 妯″潡鍖栧拰鍙墿灞曪紝鍙簲鐢ㄤ簬宓屽叆寮忓埌浼佷笟綰х▼搴?/li> 鎻愪緵鍏ㄩ潰錛屾槗鎳傜殑緙栫▼鎺ュ彛 浣跨敤C++璇█錛屽揩閫熶笖楂樻晥 Poco宕囧皻綆鏄?/li> 鍦ㄨ璁★紝浠g爜椋庢牸鍜屾枃妗d笂淇濇寔涓鑷?/li> Poco寮鴻皟浠g爜璐ㄩ噺錛屽寘鎷彲璇繪э紝緇煎悎鎬э紝涓鑷存э紝緙栫爜椋庢牸鍜屽彲嫻嬭瘯鎬?/li> Poco浣垮緱C++緙栫▼鏇村姞瀹規槗 鎸囧鏂歸拡 楂樺害鍏蟲敞浠g爜璐ㄩ噺錛岀紪鐮侀鏍鹼紝涓鑷存э紝鍙鎬?/li> 楂樺害鍏蟲敞嫻嬭瘯 娉ㄩ噸瀹炵敤鎬?/li> 鍩轟簬鐜版湁鐨勶紝鍙潬鐨勭粍浠跺紑鍙?/li> Summer 2004: Günter Obiltschnig started development February 2005: First release on SourceForge (Release 0.91 under Sleepycat license) May 2005: First contributions by Aleksandar Fabijanic January 2006: Release 1.0 March 2006: Release 1.1 July 2006: Moved to Boost license, POCO Community Website August 2006: Release 1.2 May 2007: Release 1.3 July 2010: Stable Release 1.3.7, about 20 contributors, used in 100s of projects Microsoft Windows Linux Mac OS X HP-UX, Solaris, AIX* Embedded Linux (uClibc, glibc) iOS Windows Embedded CE QNX Poco搴旂敤鍦烘櫙 鍒涘緩鑷姩鍖栫殑涓棿浠跺拰璁懼 宸ヤ笟鑷姩鍖栧拰宸ヤ笟璁懼 嫻侀噺鎺у埗緋葷粺 鍋ュ悍緋葷粺 嫻嬮噺錛屾暟鎹敹闆嗗拰嫻嬭瘯緋葷粺 娑堣垂鐢靛瓙浜у搧鍜屽搴嚜鍔ㄥ寲浜у搧 嫻嬮噺 鑸┖浜ら氱鐞嗙郴緇?/li> VoIP 紲ㄥ姟鍜屽叆鍙f帶鍒剁郴緇?/li> 鍖呰搴旂敤紼嬪簭 Poco鐨勪紭鍔?/span> 鍏ㄩ潰鐨勶紝瀹屾暣鐨凜++妗嗘灦錛屽彲鍑忓皯寮鍙戝伐浣滐紝蹇熻浜у搧璧板悜甯傚満 鏄撳鏄撲嬌鐢紝浠ュ強鐩稿綋澶氱殑紺轟緥浠g爜鍜岃壇濂界殑鏂囨。 鍘熺敓鐨凜++浠g爜錛屾ц兘浼樼錛屼綆鍐呭瓨鍗犵敤 騫沖彴鏃犲叧錛屼竴澶勭紪鍐欙紝璺ㄥ鉤鍙扮紪璇戝拰榪愯澶у鏁版儏鍐典笅錛屽彲浠ュ紑鍙戞満涓婂畬鎴愬紑鍙戝拰璋冭瘯宸ヤ綔 鍙互闈炲父瀹規槗鐨勮縼縐誨埌鏂板鉤鍙?/li>
緙栬瘧
浠?vs2008 涓轟緥:
Poco 鏍圭洰褰曚笅鏈?/p>
build_vs90.cmd
buildwin.cmd
榪欎袱涓壒澶勭悊鏂囦歡, 鎴戜滑寰椾慨鏀逛竴涓嬪畠浠?/p>
鎶奲uild_vs90.cmd 淇敼涓轟互涓嬪唴瀹?
@echo off if defined VS90COMNTOOLS ( call "%VS90COMNTOOLS%\vsvars32.bat") buildwin 90 build all both Win32 samples
濡傛灉浣犱笉闇瑕? NetSSL_OpenSSL 鍜?nbsp;MySQL ,姝ゆ椂淇濆瓨鍚庡氨鍙屽嚮瀹冨氨琛屼簡. 瀹冧細鑷姩緙栬瘧濂藉悇縐嶅簱.
濡傛灉浣犺NetSSL_OpenSSL 榪欎釜搴?浣犲繀欏?
鍦╞uildwin.cmd 涓殑38琛?璁劇疆 openssl 鐨勮礬寰? 瀹冮粯璁ゅ湪C:\OpenSSL. 鍙互淇敼涓?浣犵殑璺緞.
濡傛灉浣犺 Poco 涓殑 MySQL 搴?浣犺繕寰楀畨瑁? Mysql
鍏充簬 OpenSSL 鍜?Mysql 搴撶殑鐨勫畨瑁呭寘
OpenSSL:
鍦ㄨ繖閲屼笅杞戒竴涓畨瑁呭寘
http://slproweb.com/products/Win32OpenSSL.html
娉ㄦ剰Light 鏄病鏈夊紑鍙戝寘鐨? 鏈墄64 鍜寈32 涔嬪垎, x32 鍦?4浣峸indows涓嬩篃鍙互瀹屽叏姝e父宸ヤ綔. 濡傛灉瑕佺紪璇憄oco鐨勮瘽 鎴戝緩璁敤x32.
涓嶈涓嬭澆d緇撳熬鐨勶紝d緇撳熬鐨勭己灝戦儴鍒哾ll錛屼笅杞絢緇撳熬鐨勪緥濡俉in32OpenSSL-1_0_2k.exe mysql:
http://www.mysql.com/downloads/connector/c/
榪欎釜涔熸湁x32 鍜寈64涔嬪垎.涓鑸笅杞絰32鐨勫氨鍙互浜?
鍏充簬x32鍜寈64 :
Poco 榛樿鏄痻32鐨? 鎵浠ユ垜浠殑 OpensSSL 鍜?Mysql 涔熷繀欏諱嬌鐢?x32鐨?
]]> c++ 浜岃繘鍒惰緭鍑?/title> http://www.shnenglu.com/niewenlong/archive/2018/01/07/215460.html鑱傛枃榫?/dc:creator>鑱傛枃榫?/author>Sat, 06 Jan 2018 16:58:00 GMT http://www.shnenglu.com/niewenlong/archive/2018/01/07/215460.html http://www.shnenglu.com/niewenlong/comments/215460.html http://www.shnenglu.com/niewenlong/archive/2018/01/07/215460.html#Feedback 0 http://www.shnenglu.com/niewenlong/comments/commentRss/215460.html http://www.shnenglu.com/niewenlong/services/trackbacks/215460.html 鏈夊涓嬪嚑縐嶆柟娉曪細
#include 銆坕ostream銆?br style="content: ""; display: block; width: 700px; height: 0px; margin: 20px 0px;" />
#include 銆坙ist銆?
#include 銆坆itset銆?
using namespace std;
1.//閫掑綊杈撳嚭浜岃繘鍒跺嚱鏁?br style="content: ""; display: block; width: 700px; height: 0px; margin: 20px 0px;" />
void BinaryRecursion(int n)
{
int a;
a=n%2;
n=a;
if (n==0)
return;
else
BinaryRecursion(n);
cout銆堛坅;
}
2.//浣跨敤瀹瑰櫒杞崲浜岃繘鍒?/a>
void BinaryVector(int n)
{
int temp;
temp=n;
list銆坕nt銆?L;
while(temp!=0)
{
L.push_front(temp%2);
temp=temp銆夈?;
}
for (list銆坕nt銆?:iterator iter=L.begin();iter!=L.end();iter++ )
cout銆堛?iter;
cout銆堛坋ndl;
}
3.//涓鑸柟娉曪紝32浣嶏紝閫愭涓?鍋氫笌榪愮畻銆?
void Binarycout(int n)
{
for (int i=31;i銆?0;i--)
{
cout銆堛?(n銆夈塱)&1);
}
cout銆堛坋ndl;
}
4.//浣跨敤bitset 杞崲浜岃繘鍒?/a>
void BinaryBitset(int n)
{
cout銆堛坆itset銆坰izeof(int)*8銆?n)銆堛坋ndl;
}
int main()
{
int a=1045,b=2;
int c;
c=a+b;
cout銆堛?BinaryRecursion(c)錛?;
BinaryRecursion(c);
cout銆?BinaryVector(c);
cout銆堛?Binarycout(c):";
Binarycout(c);
cout銆堛?BinaryBitset(c):";
BinaryBitset(c);
cout銆堛?BinaryChar(c):";
BinaryChar(c);
//cout銆?return 0;
}
杈撳嚭娌℃湁鐩存帴鏄劇ず浜岃繘鍒剁殑 ,鑳介氳繃鍏朵粬搴撳嚱鏁拌漿鎹竴涓?/span>
int decimal = 200;
char binary[255];
itoa(decimal, binary, 2);
cout << binary;
@import url(http://www.shnenglu.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css); ]]> protobuf map http://www.shnenglu.com/niewenlong/archive/2018/01/06/215459.html鑱傛枃榫?/dc:creator>鑱傛枃榫?/author>Sat, 06 Jan 2018 10:09:00 GMT http://www.shnenglu.com/niewenlong/archive/2018/01/06/215459.html http://www.shnenglu.com/niewenlong/comments/215459.html http://www.shnenglu.com/niewenlong/archive/2018/01/06/215459.html#Feedback 0 http://www.shnenglu.com/niewenlong/comments/commentRss/215459.html http://www.shnenglu.com/niewenlong/services/trackbacks/215459.html 闃呰鍏ㄦ枃 ]]> MariaDB 瀵嗙爜璁よ瘉鏃犳晥鐨勪竴涓潙 http://www.shnenglu.com/niewenlong/archive/2017/12/30/215453.html鑱傛枃榫?/dc:creator>鑱傛枃榫?/author>Sat, 30 Dec 2017 08:04:00 GMT http://www.shnenglu.com/niewenlong/archive/2017/12/30/215453.html http://www.shnenglu.com/niewenlong/comments/215453.html http://www.shnenglu.com/niewenlong/archive/2017/12/30/215453.html#Feedback 0 http://www.shnenglu.com/niewenlong/comments/commentRss/215453.html http://www.shnenglu.com/niewenlong/services/trackbacks/215453.html MariaDB root 璐︽埛榛樿浣跨敤浜?UNIX_SOCKET 鎻掍歡錛屽彧鍏佽 root 鐢ㄦ埛榪炴帴錛屾棤闇瀵嗙爜銆?nbsp;
鍙互浣跨敤 root 鐢ㄦ埛榪炴帴鍚庡垱寤烘柊鐢ㄦ埛鎴栬呮墽琛岋細
update mysql.user set plugin = '' where User='root';
flush privileges;
or
update mysql.user set plugin = 'mysql_native_password' where User='root';
flush privileges;
@import url(http://www.shnenglu.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
]]> chromium .cipd_client 澶辮觸鐨勮В鍐沖姙娉?/title> http://www.shnenglu.com/niewenlong/archive/2017/12/20/215433.html鑱傛枃榫?/dc:creator>鑱傛枃榫?/author>Wed, 20 Dec 2017 05:39:00 GMT http://www.shnenglu.com/niewenlong/archive/2017/12/20/215433.html http://www.shnenglu.com/niewenlong/comments/215433.html http://www.shnenglu.com/niewenlong/archive/2017/12/20/215433.html#Feedback 1 http://www.shnenglu.com/niewenlong/comments/commentRss/215433.html http://www.shnenglu.com/niewenlong/services/trackbacks/215433.html chromium 浠g悊瀹岀編瑙e喅鍔炴硶 #git鐨勪唬鐞嗚緗?/span>
git config --global http.proxy http://127.0.0.1:1080 git config --global https.proxy https://127.0.0.1:1080
#winhttp鐨勪唬鐞嗚緗?/span>
netsh winhttp set proxy 127.0.0.1:1080
#cipd_client欏圭洰鏉ユ簮涓巋ttps://github.com/luci/luci-go/tree/master/cipd/client/cipd
浣跨敤鐨勬槸 golong鐨刵et/http搴撹闂甴ttp/https錛屽彲閫氳繃鐜鍙橀噺璁劇疆浠g悊
set HTTP_PROXY=http://127.0.0.1:1080 set HTTPS_PROXY=https://127.0.0.1:1080 ]]>
99久久精品国产毛片 |
久久婷婷国产剧情内射白浆 |
久久91综合国产91久久精品 |
久久精品天天中文字幕人妻
|
久久精品aⅴ无码中文字字幕不卡 |
久久精品国产亚洲AV无码娇色
|
欧美激情精品久久久久久久 |
伊人久久亚洲综合影院 |
久久香综合精品久久伊人 |
99久久99久久精品国产片 |
97精品伊人久久大香线蕉 |
久久se精品一区精品二区 |
久久婷婷五月综合成人D啪 |
伊人久久综合精品无码AV专区 |
久久夜色精品国产噜噜噜亚洲AV |
国产三级精品久久 |
91精品国产乱码久久久久久 |
久久亚洲精品无码观看不卡 |
国产精品久久久久影院色 |
尹人香蕉久久99天天拍 |
91久久精品电影 |
久久美女人爽女人爽 |
日韩精品久久久肉伦网站 |
亚洲国产精品成人久久蜜臀 |
国产精品永久久久久久久久久
|
69国产成人综合久久精品 |
国产精品无码久久综合
|
日产久久强奸免费的看 |
99久久国产亚洲高清观看2024
|
97久久国产亚洲精品超碰热 |
久久精品九九亚洲精品 |
99久久国产精品免费一区二区 |
性欧美大战久久久久久久
|
中文字幕久久精品 |
亚洲国产天堂久久综合 |
久久久久久国产精品美女 |
国内精品伊人久久久久影院对白 |
日本三级久久网 |
久久青青草原精品国产不卡 |
久久综合给合综合久久 |
久久国产欧美日韩精品免费 |