- 博客(2)
- 收藏
- 关注
原创 c++输入输出
cin会跳过数据前的空格,不会跳过数据后的空格. 要想不跳过空格,用cin.get()/*输入为: 28 guyong*/int n;string name;cin>>n;getline(cin,name); // name为空字符串char c;cin.get(c); // c 为空格读入逗号隔开的字符串string line,str;getline(c...
2020-03-11 11:36:59 70
原创 Linux on Mac study notes (1)
1. linux batch filebegin with: #!/bin/bash (must be the first line)example(with use of alias):execute command: sh nano (nano is the name of batch file)2. URL in linux commandURL th
2013-08-05 09:47:40 228
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人