Visual Studio C++ questions

I am using Visual Studio C++. In each of the very simple learning programs I am writing, I need <iostream> namespace etc. I can, of course, include them in each of my .cpp source files but would rather update the provided header file stdafx.h. How do I update stdafx "permanently" so I don't have to rekey my includes each time I start a new project.

Also, is there the equivalent of "save as..." in Visual Studio. If I am working on Program1 I might want to save it as Program1x then fiddle with Program1 without destroying what I already have in Program1. I.E. Have two versions of more or less the same program.
For that, you'd need to create a template, I think. I don't know how to do that, though.
It doesn't make much sense to create template for that. It's only thirty-something keystrokes for every project.

In the modern Visual Studios, there's no save as. In 6.0 there is.
I think it'd be best to manually produce a copy of the file. That's what I do, anyway.
Last edited on
Topic archived. No new replies allowed.