Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Design a class for representing a web URL. To keep this simple, consider a URL only to have a scheme, authority, and path. Your class
Design a class for representing a web URL. To keep this simple, consider a URL only to have a scheme, authority, and path. Your class should have a constructor that takes a std::string as a parameter. You should not be able to edit (modify) the URL once itis created. You should have four getter functions that return the full URL as a string, and each of the three components individually also as strings.
I need three different files which are main.cpp and Url.h (header file) and Url.cpp Thank you for your help!
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