Answered step by step
Verified Expert Solution
Link Copied!

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 2017
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 (troden(a)
lamar.edu).
If you need to attach multiple files then compress all files into a single zip file. Use zip
format (not 7zip, 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 2 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 h
contains the prototype for the PrintString function.
void PrintString (char *str);
Using Project Properties, set custom Post-Build 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 1 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 3 methods
discussed by the instructor (pragma, project properties, or drag the filename into Solution
Explorer).
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

2nd Edition

0470624701, 978-0470624708

Students also viewed these Databases questions

Question

Describe the appropriate use of supplementary parts of a letter.

Answered: 1 week ago