Answered step by step
Verified Expert Solution
Question
1 Approved Answer
needed help with this in visual studio 2 0 1 7 Submission Instructions Submit by midnight on the due date. If you have other questions
needed help with this in visual studio
Submission Instructions
Submit by midnight on the due date.
If you have other questions you need to ask, then feel free to use the instructor's regular
email account trodena
lamar.edu
If you need to attach multiple files then compress all files into a single zip file. Use zip
format not zip, rar or any other compressed format Microsoft Windows has zip
functionality built in Put all your files into a single directory and right click on the
directory name and select "Send To Compressed zipped Folder."
General
Using Visual Studio, do the following:
Create a project named "mylibrary". The output of this project is a static library
lib file The project should contain source code files:
a mylibrary.cpp
contains one function named PrintString that takes one parameter an
ASCIIZ string. The function should output the string to the console
window.
b mylibrary
contains the prototype for the PrintString function.
void PrintString char str;
Using Project Properties, set custom PostBuild events that:
a Copy mylibrary.lib to c: mycode lib
b Copy mylibrary h to c: mycode inc
You should those three directories first:
c mycode
c: mycode lib
c: mycode inc
Create a project named "myapp". The output of this project is an executable
exe file console program. The project should contain source code file:
a myapp.cpp
contains a main function. The function should call PrintString passing
an ASCIIZ string ASCII characters with a zero byte at the end with your
name first and last
You can link mylibrary lib from c: mycode lib into the exe using any of the methods
discussed by the instructor pragma project properties, or drag the filename into Solution
Explorer
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started