- 博客(7)
- 收藏
- 关注
原创 Golang下载GitHub包方法
由 Go 社区提供的中国境内的代理服务器,支持 Go 1.13 及以上版本。:由 Google 提供的官方代理服务器,支持 Go 1.11 及以上版本。:阿里云提供的代理服务器,速度较快,支持 Go 1.13 及以上版本。提供的全球加速的代理服务器,支持 Go 1.13 及以上版本。
2023-09-16 22:03:26
1038
1
原创 笨方法学python:练习16附加题2代码运行
from sys import argvscript,filename = argvtxt = open(filename)print("Here's your file %r:"%filename)print(txt.read())print("Type the filename again:")file_again = input(">")txt_again = open(file_again)print(txt_again.read())运行结果:...
2022-04-03 14:13:26
1009
原创 一个类调用另一个类中的成员函数
#include <iostream>using namespace std;//先声明Date类class Date;//定义Time类class Time{public: Time(int h=0,int m=0,int s=0):hour(h),minute(m),sec(s){} void display(Date&);private: int hour; int minute; int sec;};//定义Date类...
2021-11-13 09:16:48
2868
原创 将一个全局函数声明为多个类的友元
#include <iostream>using namespace std;class Date;//先声明Date是一个类,在下面声明友元函数时,不会报错class Time{public: Time(int h=0,int m=0,int s=0):hour(h),minute(m),sec(s){} friend void display(Time,Date);//声明友元函数private: int hour; int minute;...
2021-11-13 08:50:55
706
1
原创 错误: 编码GBK的不可映射字符
通过Dos编译Java文件出现错误提示:编码GBK的不可映射字符在保证代码没有错别字,符号正确的情况下可以使用javac -encoding UTF-8 ***.java,成功运行Java文件。
2021-07-21 18:30:33
108
原创 2021-05-19
eclipse运行jsp文件出现以下错误,是为什么呀?org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:92) at org.apac...
2021-05-19 09:36:29
91
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人