?? 9iv.cpp
字號:
// Order() Accepts two strings and swaps them if not in order// ASSUMPTION: Both string parameters have been assigned by the // caller. Returns the shortest of the two.string Order (string& first, string& second){ string temp; if (first >= second) { temp = first; // swap if not in order first = second; second = first; } if (first.length() < second.length() return first; else return second; // return shortest}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -