提交 06138a7b 编写于 作者: 邹晓航

update

上级 28697d64
......@@ -4,7 +4,8 @@
#include "..\String.h"
using namespace TinySTL;
int main(){
void testPair(){
// test ctor
pair <string, double> product1; // default constructor
pair <string, double> product2("tomatoes", 2.30); // value init
......@@ -40,6 +41,4 @@ int main(){
if (foo> bar) std::cout << "foo is greater than bar\n";
if (foo <= bar) std::cout << "foo is less than or equal to bar\n";
if (foo >= bar) std::cout << "foo is greater than or equal to bar\n";
system("pause");
return 0;
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册