学校的网络每次开机都需要手动登陆,于是用c写了一个自动登陆的小程序。。。程序功能超级简单。。。只是懒得每次都登陆。。。PS:代码功能具体没有测试。。。我自己用的是python #include <windows.h> #include <conio.h> int main() { int result; do{ result=system("rasdial 宽带连接名字 用户名 密码") ; }while(result!=); return ; }具体实现方法也挺简单的,有兴趣自行百度。