Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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)

  1. 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);

  1. 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).

C++

C++

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

Step: 3

blur-text-image

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

More Books

Students also viewed these Databases questions