-
January 20th, 2017, 12:05 AM
#1
Code template writer
Hi guys, I'm learning C++, but I have no idea about how to write this program.
"Write a program to read in a filename via stdin and write a C++ source template to it. Ensure that the generated file compiles and runs. Such a template would have at least a #include directive and an empty main function, ready to be filled. Once you have written this program, you may use it to jumpstart your work on other programs. "
Please help. Thanks
-
January 20th, 2017, 02:52 AM
#2
Re: Code template writer
If you install Visual Studio 2015 Community Editon (and select the option to install C++) you can then create a new C++ console app project.
This will create a c++ project with the empty file 'templates' that you are asking for.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|