📄 que_cstr_3.cc
字号:
// file: que_cstr_3.cc//// isip include files//#include "question.h"#include "question_constants.h"// method: constructor//// arguments:// char_1* attribute: (input) question name// logical_1 direction: (input) left or right tag// int_4 num: (input) context position//// return: none//// this is the overloaded constructor//Question::Question(char_1* attribute_a, logical_1 direction_a, int_4 num_a) { // allocate memorey for the attribute // attribute_d = new char_1[strlen((char*)attribute_a) + 1]; strcpy((char*)attribute_d, (char*)attribute_a); // set the direction flag and phone position // direction_d = direction_a; num_d = num_a; // exit gracefully //}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -