我使用putty.exe为ssh客户端.但putty.exe不适用于64位win os.它完美地运行32位win os.
问:我犯了一些错误.如果有帮助吗?是否有任何适用于win os的32和64机器的应用程序?是否有连接ssh的cmd命令?
info:Putty.exe ver 0.63.10125.0.以管理员身份运行无用.防火墙禁用没用.putty.exe符文在单独的驱动器中没用.
错误:网络错误:权限被拒绝
我的列表类使用operator [].我可以使用这个覆盖类.如果有任何理由不提供运营商[]列表,请解释.如果下面的代码有任何错误请清除它.
template<class _Ty,class _Ax = std::allocator<_Ty>> class listadv : public
std::list<_Ty,_Ax>
{
// should declare in top of the class
public:
_Ty operator[](int index)
{
std::list<_Ty,_Ax>::iterator iter = this->begin();
std::advance(iter, index);
return *iter;
}
};
Run Code Online (Sandbox Code Playgroud)
在头类中定义.