Solved

Visual C++ question

Posted on 2003-11-09
3
426 Views
Last Modified: 2010-04-02
I have some code that I use as a starting point to build other applications.  The way I do it now, is I have this code saved in a text file on my computer, and then when I need to start a new project, and I copy and paste this code into a blank project thus giving me my starting point.

What I want to know is if it's possible to add a new project type to MSVC++ 6.0 that has my code in it.  That way when I want to start a new project, I done have to copy/paste the code from a text file to begin.
0
Comment
Question by:lwinkenb
3 Comments
 
LVL 9

Expert Comment

by:tinchos
ID: 9710807
Hi lwinkenb,

You can do it in 2 ways.........
I believe that you'll find the first one easier.


the first one

1) Save your code you're talking about in a file.
2) Create a new project.
3) Select Project -> Add to Project -> Files.
4) Select the file you saved in point 1.
5) The file will be added to your project.

Otherwise

1) Create a new project.
2) Select Project -> Add to Project -> New.
3) There you choose what type of file to use.

Hope this helps

Cheers!

Tincho
0
 
LVL 86

Accepted Solution

by:
jkr earned 250 total points
ID: 9710897
0
 
LVL 5

Expert Comment

by:waelothman
ID: 9711636
the easy way is to choose new project and then Custom APPWizers
And give it name then choose An existing project and finaly select the project
run this project it will give you message asking you to run with cancel this message and then if you make new project you will find your type listed there
enjoy and waiting your comment
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question