开发者

creating folder in C on windows

Using Visual Studio 2008 C++, how can I create a folder using code. 开发者_如何学GoFor some reason, a simple CreateDirectory isn't working.


Are you by any chance trying to create a folder in your Visual Studio solution? If so, you could use code to do that, but you still have to right click the solution and add existing items.


Change the

CreateDirectory("c:\\dirn.txt");

to

CreateDirectory("c:\\dirn.txt", null);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜