Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Visual C++ question

Posted on 2003-11-09
3
Medium Priority
?
448 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 1000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
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.

722 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