Quantcast
Channel: User Peter - Reinstate Monica - Stack Overflow
Viewing all articles
Browse latest Browse all 239

Comment by Peter - Reinstate Monica on How to make + use c++ libraries in vs?

$
0
0
I suppose your existing project is a project producing an executable? Then you have two choices: (1) Create an entirely new project in your second solution which produces a library from the same files the old one has (except for the file containing main()). That may require some refactoring there (e.g., pull out everything from the "main" file there and put it in separate source files). (2) Create a library project in your first solution (the one that compiles) and simply use that library in the second solution. That wold be preferred from a software engineering standpoint.

Viewing all articles
Browse latest Browse all 239

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>