- 博客(3)
- 收藏
- 关注
原创 TCP Server and Client Communication
TCP-Server.c #include <stdlib.h> #include <string.h> #include <sys/socket.h> #include <netinet/in.h> #include <netinet/ip.h> #define PORT 8080 #define IP "10.243.24.55" int main() { int socket_ser =-1,sockt_opt=1; int clien..
2021-06-01 02:54:32 502
原创 C++:Class with pointer
//String class: class with pointers members#ifndef __STRING__ #define __STRING__ class String { public: String(const char* cstr=0); //constructor String(const String& str); //copy constructor String& opeartor=(const String& str);//cop...
2021-05-08 02:29:10 268
原创 C++---Class without pointer
C++ 学习笔记 source:高清 1080P C++面向对象高级编程(侯捷) P6 6 复习Complex类的实现过程 - YouTube //complex.hpp #ifndef __COMPLEX__ #define __COMPLEX__ class complex{ public: complex (double r=0, double i=0) : re(r) ,im(i) {} complex& operator += (const complex...
2021-05-07 23:54:19 68
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人