标签:自己的 return clu string fine .cpp http 技术 code
#ifndef TESTCPP_H
#define TESTCPP_H
struct TestCpp{
std::string name;
unsigned int id;
};
#endif
#include <iostream>
#include "TestCpp.h"
int main()
{
TestCpp t1;
t1.name = "xiaoming";
t1.id = 20190203;
std::cout << "name: " << t1.name << std::endl;
std::cout << "id: " << t1.id << std::endl;
return 0;
}
标签:自己的 return clu string fine .cpp http 技术 code
原文地址:https://www.cnblogs.com/komean/p/10350628.html