TCP/IP网络编程

1. 理解网络编程和套接字 1.1 套接字概念 在TCP/IP协议中,“IP地址+TCP或UDP端口号”唯一标识网络通讯中的一个进程。“IP地址+端口号”

Git

1. 配置 1 2 3 4 5 git config --global user.name "Your Name" git config --global user.email "email@example.com" #设置远程仓库 git remote add origin git@github.com:vstk771/gitTest.git 注意: git config命令的–global参数,用了这个参数,表示你

c++反汇编(x86)

1.类型大小 1. 基本数据类型 1 2 3 4 5 6 7 printf("%d\n", sizeof(char)); //1 printf("%d\n", sizeof(short int)); //2 printf("%d\n", sizeof(int)); //4 printf("%d\n", sizeof(long int)); //4 printf("%d\n", sizeof(__int64)); //8 printf("%d\n", sizeof(float)); //4 printf("%d\n", sizeof(double)); //8 2. 数组类型 1 2 3 4 5 6 7 8 9 10 11 char arr1[10] = { 0 }; short arr2[10] = { 0

CMake

前言 CMake是一个跨平台的安装编译工具,可以用简单的语句来描述所有平台的安装(编译过程)。 CMake可以说已经成为大部分C++开源项目标配

GCC编译器

使用gcc指令编译c代码 使用g++指令编译c++代码 1.编译过程 test.cpp 1 2 3 4 5 6 7 8 9 10 11 12 #include <iostream> int main() { #ifdef DEBUG std::cout << "DEBUG ..." << std::endl; #else std::cout << "hello world!!!" << std::endl; #endif return 0; } 预

GDB调试器

前言: GDB(GNU Debugger)是一个用来调试C/C++程序的功能强大的调试器,是Linux系统开发 C/C++最常用的调试器 程序员可以使用GDB来
0%