| | |
Source file compilation
Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Jul 2009
Posts: 57
Reputation:
Solved Threads: 0
Hi,
I would like to ask a question and I'm quite certain that I'll get positive answer to that. When I've change some code in one file and press f5 (visual studio) it seems to me that all other files are being compiled as well as this one in which change was made. Is there any way to set options and to compile only this file with changed code?
Thank you.
I would like to ask a question and I'm quite certain that I'll get positive answer to that. When I've change some code in one file and press f5 (visual studio) it seems to me that all other files are being compiled as well as this one in which change was made. Is there any way to set options and to compile only this file with changed code?
Thank you.
It depends on which file you modified. If you've changed a header-file which is included by other (source) files, all those files need to be re-compiled because they depend on the changed header.
If you modify a source file which isn't 'linked' to any other files, the compiler will know that and skip them.
If you modify a source file which isn't 'linked' to any other files, the compiler will know that and skip them.
![]() |
Similar Threads
- C++ source file being compiled as C source file (C++)
- Could not load file or assembly 'Microsoft.Office.Interop.Word (ASP.NET)
- current source file (C#)
- Need Help in Read a file at compilation time to initialize variable (C++)
- How To Run C++ Source File (C++)
- "Cannot delete file: Cannot read from the source file or disk." (Windows NT / 2000 / XP)
- Web.config File (C#)
- Source File Too Big (C)
Other Threads in the C++ Forum
- Previous Thread: Please help me..
- Next Thread: Reading a file into an array
| Thread Tools | Search this Thread |
api array arrays based beginner binary bitmap c++ c/c++ calculator char char* class classes code coding compile compiler console conversion convert count data database delete deploy developer dll download dynamiccharacterarray email encryption error file forms fstream function functions game generator getline givemetehcodez graph gui homeworkhelp homeworkhelper iamthwee ifstream input int java lib list loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference rpg sorting string strings temperature template text text-file tree url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






