📄 myurl.h
字号:
#pragma once
#include <string>
using namespace std;
class CMyUrl
{
public:
CMyUrl(void);
~CMyUrl(void);
CMyUrl(string url);
public:
void Setpath(string path);
void setprotocol(string protocol);
void sethost(string host);
private:
string m_url;
string m_protocoltype;
string m_host;
string m_path;
public:
string getHost(void);
string getpath(void);
string Getprotocol(void);
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -