当前位置: 首页 > 资讯 > >正文

沈剑的业务架构速成课_环球今日报

来源:哔哩哔哩    时间:2023-04-25 11:58:51


(相关资料图)

emplate <class T>void func(T a, T b){    if (a > b)    {        cout << " a > b" << endl;    }    else    {        cout << " a <= b" << endl;    }}void test01(){    int arr1[10];    int arr2[20];    // 如果传入的是数组,那么函数模版中比较函数名的大小就无意义  更多见up公告  func(arr1, arr2);}

X 关闭

推荐内容

最近更新

Copyright ©  2015-2022 华南办公网版权所有  备案号:粤ICP备18025786号-52   联系邮箱: 954 29 18 82 @qq.com