Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.65K
1 Posted Topic
#include <iostream> #include <conio.h> #include <Windows.h> using namespace std; void main(){ char a,b=' ',e=' '; int t=0; for(int i=60;i>=1;i--){ system("cls"); cout<<i<<" "; cout<<"\nConfirma prin ENTER.\nCum zici? \n a)da; b)nu\nc)poate d)sau\nRaspuns : "; if(_kbhit()){ a=_getch(); if(int(a)==13){ e=a; } else b=a; } cout<<b; if(int(e)==13&&b=='d'){ t=1; break; } else if(int(e)==13&&b!='d') break; Sleep(1000); } …
The End.
viorel994