
简介
该用户还未填写简介
擅长的技术栈
未填写擅长的技术栈
可提供的服务
暂无可提供的服务
std::find的使用
std::find可用于查找容器中是否存在某个特定值,对于基本类型的容器用法int searchValue = 42;vector<int>::const_iterator result=find(vec.begin(), vec.end(), searchValue);if(result == vec.end()) {cout << "没找到" << endl
有函数返回值的装饰器
#!/usr/bin/env python# -*- coding:utf-8 -*-##第五步:带有返回值的装饰器把第四步复制过来#用于扩展基本函数的函数def kuozhan(func):#内部函数(扩展之后的laxi函数)def newlaxi():#以下三步就是扩展之后的功能,于是我们把这三个哥们做成一个函数#取名叫做...
requests import就报错
TypeError when importing from pythonAsk Questionup vote0down votefavoriteI'm having problems using the requests library. I used pip to install it and I also intalled through github and the inst...
到底了