本文介绍了vc ++中的dir.h文件问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有用c ++编写的程序(borland c ++ 4.5)

它使用了fnmerge函数,它需要dir.h头文件。



我想在visiual studio(vc ++)中使用这段代码。如何将dir.h文件添加到vc ++



fnmerge(Infilename,Drive,Dir,Current_file-> input_filename,Extension);

fnmerge(Outfilename,Drive,Dir,Current_file-> event_filename,Out_extension);





还有fnmerge()的替代品功能?我可以硬编码文件名和驱动器。



谢谢。

解决方案




I have program which is written in c++ (borland c++ 4.5)
it has used fnmerge function which need "dir.h" header file.

I want to used this code in visiual studio (vc++). how i can add dir.h file to vc++

fnmerge(Infilename, Drive, Dir, Current_file->input_filename, Extension);
fnmerge(Outfilename,Drive,Dir,Current_file->event_filename,Out_extension);


is there any alternative to fnmerge() function? i can hard code filename and drive.

Thank you.

解决方案




这篇关于vc ++中的dir.h文件问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 17:12