摘要:
在这里学习哒~ 一、用sstream类 1. int → string #include<iostream> #include<sstream> //需要引用的头文件 using namespace std; int main(){ int x = 1234; //需要转换的数字 stringstr 阅读全文
摘要:
一、异或运算(⊕、XOR、EOR、EX-OR) 同为0,异为1 异或公式: a ⊕ b = (¬a ∧ b) ∨ (a ∧¬b) 出现的几个数学符号的解释: ¬:非运算,¬1=0,¬0=1 ∧:且运算,1∧1=1,1∧0=0,0∧1=0,0∧0=0 ∨:或运算,1∨1=1,1∨0=1,0∨1=1,0 阅读全文