摘要: 今天用c写服务器后端时,调用一些函数的时候出了bug。 我函数传参传的是数组、结构体等 然后在函数中用sizeof的时候我惊奇的发现居然很怪。 举个例子 #include <iostream> #include<typeinfo> #include<stdio.h> #include <string 阅读全文
posted @ 2022-05-06 11:35 然终酒肆 阅读(98) 评论(0) 推荐(0) 编辑