My program is able to create the folder fine but I wanted to know if there is a way to put the date and time in the title? C++ and using Visual Studio 2008 for Windows.
Create the name using the time functions from [iCODE]ctime[/iCODE] Read More
[QUOTE=DrewDodson89;1149049]Well, I have multiple folders being created by different functions depending on what is selected from the menu. Would I be able to create differently named folders with the time function?[/QUOTE] You can create any names you want. You are in complete control of the code and what each name … Read More
Look up the function [B]strftime()[/B]. You can create any string you want with it. Read More
[QUOTE=DrewDodson89;1150019]Also, I am having a hard time remembering how to make so I can use a function that is further down the program. Instead of it saying it is undefined[/QUOTE] You need the function prototype prior to its usage and the function definition later on. [code] // The prototype int … Read More
Edited by HealBrains: n/a
Edited by mitrmkar: n/a