Lab 1 Write Make File Use Compile Attached Program Maincpp Il Datetime Created George Card Q43882687
Lab-1 Write a make file and use it to compile the attached program // //main.cpp IL DateTime // Created by George Cardwell on 2/14/19. // Copyright © 2019 George Cardwell. All rights reserved. 11 // C++ program to find Current Day, Date // and Local Time #include<iostream> sinclude<ctime> using namespace std; int main() { // Declaring argument for time) timet tt 1/ Declaring variable to store return value of // localtime) struct tm * ti: // Applying time time (att): // Using localtime Sad – desaltime (tt); scout << “Current Day, Date and Time is – << asctime($i) : return 0; Show transcribed image text Lab-1 Write a make file and use it to compile the attached program // //main.cpp IL DateTime // Created by George Cardwell on 2/14/19. // Copyright © 2019 George Cardwell. All rights reserved. 11 // C++ program to find Current Day, Date // and Local Time #include sinclude using namespace std; int main() { // Declaring argument for time) timet tt 1/ Declaring variable to store return value of // localtime) struct tm * ti: // Applying time time (att): // Using localtime Sad – desaltime (tt); scout
Expert Answer
Answer to Lab-1 Write a make file and use it to compile the attached program // //main.cpp IL DateTime // Created by George Cardwe…
OR