?? p13.cpp
字號:
#include <stdio.h>
#include <string.h>
#include "hello.h"
char *hello(char *name) {
char *value = new char [9+strlen(name)];
sprintf(value,"hello,%s.",name);
return value;
}
#include <iostream.h>
#include "hello.h"
main(){
cout << hello("world") << endl;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -