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.

Recommended Answers

All 2 Replies

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.

Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.