tags:

views:

13

answers:

0

Hi, being new to the Borland c++ builderX and MVS2008 IDEs, I would like to understand the proper way to add files to a project. Suppose if I have a created a project, add a C file say test1.c, compile and run it and get the desired results. Now if I would like to create another similar file test2.c which is similar to test1.c except for a small change in a few parameters for example. Test2.c is just the sake for some small tests. Is it good practice to add the new file test2.c to the same project that contains test1.c?

I'm asking this question as it feels "awkward" to have to create a new project (which creates like 7 new files in builderX and 15 in MVS2008!!!) for every little test codes that need to be done when working on a long program. If I can create the file test2.c under the same project that holds test1.c, this would be great as after some time I can come back and open the project in the IDE and see all files which have contributed to the final program. And delete those that are no longer necessary.

It's a simple question and I was hesitating to post this :).

Thanks a lot...