借助命令行参数进行外部排序 [英] external sorting with the help of command line argument

查看:80
本文介绍了借助命令行参数进行外部排序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

heya任何人都可以帮忙找出这个程序的来源



在c中编写一个程序,将两个文件名indata和outdata作为命令行参数

在indata文件中插入一些整数并使用外部排序对infile中的数据进行排序,并在outfile中排序后输出outpur

heya can anyone help to find out the source of this program

write a program in c to take two filename indata and outdata as command line argument
insert some integers in indata file and using external sort to sort the data in infile and write the outpur after sort in outfile

推荐答案

它不起作用喜欢这里。



以下是询问者的预期:

1. 首先尝试你想要什么去做!你可能会发现它并不那么难。

2.制定你所做的事情看似问题/不工作。



尝试一下,告诉你是否面临问题。

各位会员非常乐意帮助这样做。
It does not work like this here.

Here is what is expected of enquirers:
1. TRY first what you want to do! You may find that it''s not that hard.
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.
Members will be more than happy to help like this.


我会做我的项目但不知道为什么它不工作

当我在命令doss shell中使用我的cpp程序时它在文件中写入数据但没有在其他文件中排序或写入数据
i will make my project but dnt know why its not working
when i used my cpp program in command doss shell its write data in file but didnt sort or write the data in other file


这篇关于借助命令行参数进行外部排序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆