Joined
Last Seen
0 Reputation Points
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 3
- Posts with Downvotes
- 1
- Downvoting Members
- 3
0 Endorsements
Ranked #72.9K
2 Posted Topics
#include<iostream> #include<iomanip.h> using namespace std; void convert(int,int&,int&,int&); class Time #include<iostream> #include<iomanip.h> using namespace std; void convert(int,int&,int&,int&); class Time { public: int hour,minute,second; Time() {hour=0; minute=0; second=0; } ~Time() {hour=0; minute=0; second=0; } Time(int h,int m,int s) {hour=h; minute=m; second=s; } void get() {cout<<"Enter the time\n"; cout<<"Hour: "; cin>>hour; cout<<"Minutes: "; …
If you get "Graphics error : Device driver file not found <EGAVGA.BGI>" in TurboC, you have to specify the BGI path to the initgraph method. For example the path "C:\\TC\\BGI" and the initgraph method will be like this, initgraph(&gdriver,&gmode,"C:\\TC\\BGI");
The End.