Difference between solution and project in visual studio?

Asked 2 years ago, Updated 2 years ago, 26 views

I am a sophomore majoring in computer science. I submitted the source code project again because I submitted only the solution and did not submit the project while doing the assignment.

It's definitely a different concept because the terms are different and the way it's turned on, but I don't know exactly what the difference is.

At first glance, I heard that a project makes a binary file, but it is not a .bin extension file, but an exe or dll is also called a binary file, and I wonder what exactly the binary file is.

And when I just included the .lib file, the Build Configuration Manager set the active solution platform to x64 but the project platform to win32 and it went back. Is it okay if the platform is different between the project and the solution? What exactly is the concept of a platform? Does it mean like "the environment where the created files will go?"

And is this 'solution' and 'project' the same concept used not only for C, C++, but also for Python and java? Or is it a concept that you use in visual studio regardless of language?

visual-studio-2017

2022-09-21 19:18

1 Answers

As far as I know, Eclipse's workspace and package are I think you can compare it with solution and project in vs.

Also, in terms of language difference,

Each class exists in Java and is used in packages. External classes or packages import classes.

C++ is the cpp that implements the header file. It's similar to the concept of the package It has namespace, but basically it includes a header file from the outside Used externally.

I don't really understand making binary files. (I don't know the details either http://faculty.cs.niu.edu/~mcmahon/CS241/Notes/compile.html If you refer to this and see the compilation process, I think it will be helpful for you to understand.

Unlike Cpp, Java is built to run on any machine by switching to the intermediate code. That's why Java needs a virtual machines.


2022-09-21 19:18

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.