how to get project name.

This is a discussion on how to get project name. within the Tech Board forums, part of the Community Boards category; Hi. I am new to visual studio 2005. I have created several projects. Now if i select any file ( ...

  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    29

    how to get project name.

    Hi.
    I am new to visual studio 2005.

    I have created several projects.

    Now if i select any file ( from various projects which i have created), then is there any way to find out which project this file belongs to.

    Thanks in advance.

  2. #2
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,537
    Files do no belong to any project.
    So if you want a file to exist in only one project, usually you put them inside the project's directory (so you should be able to tell to which project it belongs to by reading the project directory name in which the file resides).
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    IDE issue. Moving to Tech.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    The files used by each project should be listed in at least one text-file within the project (.dsp or .vcproj or whatever it is called in your version of Visual Studio you are using).

    So you can use some tool to search for the filename in the relevant project files.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #5
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,537
    It's vcproj for projects, sln for solution which contains projects.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  6. #6
    Registered User ssharish2005's Avatar
    Join Date
    Sep 2005
    Location
    Cambridge, UK
    Posts
    1,682
    When you create a project, all file which reference to that project gets placed in one single folder. Which is infact more organised. So which files are you getting messed up. All files in the project would have been given name which is something similar to your project forder name.

    So there is no way you get lost. If you wanted to serach for a specfic project in a folder then you will have to do them through their extension. As mentioned before it is .sln. Use wild card to serach for all file with ext .sln and see if you can find anyfiles which you are looking for.

    ssharish

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem Displaying a Struct
    By rockstarpirate in forum C++ Programming
    Replies: 16
    Last Post: 05-05-2008, 09:05 AM
  2. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  3. Dynamic Binding
    By gpr1me in forum C++ Programming
    Replies: 1
    Last Post: 03-24-2006, 08:01 AM
  4. Game Independent Anti-cheat Project Needs Programmers
    By GIA Project Lea in forum Projects and Job Recruitment
    Replies: 3
    Last Post: 09-15-2005, 07:41 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21