摘要:
我们知道,在JetBrain系列软件中,另起一行继续编辑的快捷是Shift+Enter,这样即使指针没有到达当前行结尾,也可以另起一行,如图1中的情况: >>> Shift+Enter >>> 图1 如果想要语句完成,如语句完成当前行在末尾添加分号";",或者循环等,此时可以按下Ctrl+Shift 阅读全文
posted @ 2018-10-18 21:09
Geoffrey_one
阅读(601)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 int main() 8 { 9 //直接赋值 10 string test;//定义了一个空字符串str 11 test = "test_the_string"; 12 13 cout... 阅读全文
posted @ 2018-10-18 20:07
Geoffrey_one
阅读(609)
评论(0)
推荐(0)
摘要:
1.字符串的声明#include #include #include using namespace std;int main(){ //直接赋值 string test;//定义了一个空字符串str test = "test_the_string"... 阅读全文
posted @ 2018-10-18 12:24
Geoffrey_one
阅读(259)
评论(0)
推荐(0)

浙公网安备 33010602011771号