-
编写一个程序,对用户由命令行参数传入的一个名称进行判断。如果是一个文件名,则输出该文件相关属性 ( 文件名、路径、绝对路径、是否可读、是否可写和文件的长度等 )...
编写一个程序,对用户由命令行参数传入的一个名称进行判断。如果是一个文件名,则输出该文件相关属性 ( 文件名、路径、绝对路径、是否可读、是否可写和文件的长度等 ) 。如果是一个目录,则输出该目录下的文件及子目录名列表。如该名称不存在,则以此名称为名在当前目录下创建一个子目录。
-prepare a process that the user from the command line parameters into the name of a judge. If it is a document, then the output of the document attribute (file name, path, the absolute path, readable, can be written and the length of documents, etc.). If it is a directory, then the output directory and subdirectory of documents from the list. If the name does not exist, it is also the name of the name of the current directory to create a subdirectory.
- 2022-05-13 23:55:22下载
- 积分:1
-
获得本机以及指定域名的ipv4和ipv6地址
应用背景本代码可以用来实现获取本机以及指定域名的ipv4地址以及ipv6地址,代码分了两个c++文件,并非写在一起,使用时可以注释掉其中一个或是新建项目将其中一个c++文件剪切进去。关键技术
对于本地的ip地址我们只需要使用WinSocket继承的Berkeley Socket API里面的函数gethostbyname()通过名字获得主机信息,然后再显示出其ip地址即可,对于输出ipv6地址需将地址族改为AF_INET6.进一步得到ipv6地址。而要得到指定域名的ip地址时需要对一个地址同样使用gethostbyname()获得信息,再进行显示。
- 2022-07-04 18:45:02下载
- 积分:1
-
A better filter paper
一本比较好文件驱动过滤的书 ,word格式,付程序列子和源码。-A better filter paper-driven book, word format, and source Liezi pay procedures.
- 2022-01-24 12:24:43下载
- 积分:1
-
see, it is a very different compiler, though comparatively simple, But yes, I sp...
看看就知道了,很不一样的编译,虽然比较简明,但是是我花了一些功夫才写下来的,对我这种初学者来说很难了-see, it is a very different compiler, though comparatively simple, But yes, I spent some effort to write down only to my newcomer hard
- 2023-03-03 20:45:03下载
- 积分:1
-
自己使用vb编的一个计算各种滤波器参数的程序
自己使用vb编的一个计算各种滤波器参数的程序-its own use vb series of the calculation of a variety of filter parameters of the process
- 2022-04-27 10:47:49下载
- 积分:1
-
论文的 前期制作 包括购物网站的前期制作 可以作为格式和内容的模板...
论文的 前期制作 包括购物网站的前期制作 可以作为格式和内容的模板-Papers pre-production, including pre-production to the site can be used as the format and content of the template
- 2023-06-07 21:40:03下载
- 积分:1
-
c builder used for file manipulation
用c++builder进行文件操作-c builder used for file manipulation
- 2023-05-14 19:35:03下载
- 积分:1
-
画图软件代码 内含2个软件。一个是1。0 另一个是2。0用。net编译...
画图软件代码 内含2个软件。一个是1。0 另一个是2。0用。net编译-Program source code of drawing graph in Windows, compile with VS.NET.
- 2023-03-23 21:55:04下载
- 积分:1
-
串口数据隔离 串口数据隔离 串口数据隔离
串口数据隔离 串口数据隔离 串口数据隔离-Isolation of Serial Data Serial Data Serial Data isolation isolation isolation of Serial Data Serial Data isolation
- 2022-05-21 19:17:32下载
- 积分:1
-
This the VB6 code for Alarmsystem, must see.
This the VB6 code for Alarmsystem, must see.-This is the VB6 code for Alarmsystem, must see.
- 2023-04-18 01:15:03下载
- 积分:1