Reputation: 43
I don't have experience using Visual Studio. The university is conducting a C coding competition and forcing students to use Visual Studio. To practice I created 2 files: "to print helloworld", "finding smallest in the array". Visual studio builds ALL files and I want to create multiple files to save time and keep it ready to code but if I am working on one question and build it, all files get built. How to build one file? Please help.
Upvotes: 4
Views: 3384
Reputation: 2025
You need to organize your code into Projects
and Solutions
. You use one Project
per program you write and then group them in a Solution
.
Se the docs here: https://learn.microsoft.com/en-us/visualstudio/ide/solutions-and-projects-in-visual-studio?view=vs-2019
Upvotes: 9