Questions about the C language solution and project in visual studio!

Asked 1 weeks ago, Updated 1 weeks ago, 0 views

If you look at the above two pictures, there are different projects in the same solution.

But why does the first.c value keep printing when I want to run Test.c??

c project

2022-09-20 11:02

1 Answers

If you look at the solution explorer, there are two projects underneath, first and test, right? If you right-click on each project, there is an item called Set as a startup project because the first project is now set as a startup project. Try setting the Test project as a startup project.


2022-09-20 11:02

If you have any answers or tips


© 2022 pinfo. All rights reserved.