Posts

Showing posts from June 10, 2018

C implementation of digital clock

Image
PROGRAM: // C implementation of digital clock #include <stdio.h> #include <time.h> void main(void) { time_t s, val = 1; struct tm* current_time; s = time(NULL); current_time = localtime(&s); printf("%02d:%02d:%02d", current_time->tm_hour, current_time->tm_min, current_time->tm_sec); return 0; }

Shortcut Keys

Image
  Shortcut keys Shortcut Keys Description Alt+F File menu options in the current program. Alt+E Edit options in current program Alt+Tab Switch between open programs F1 Universal Help in almost every Windows program. F2 Rename a selected file F5 Refresh the current program window Ctrl+N Create a new, blank document in some software programs Ctrl+O Open a file in current software program Ctrl+A Select all text. Ctrl+B Change selected text to be Bold Ctrl+I Change selected text to be in Italics Ctrl+U Change selected text to be Underlined Ctrl+F Open find window for current document or window. Ctrl+S Save current document file. Ctrl+X Cut selected item. Shift+Del Cut selected item. Ctrl+C Copy selected item. Ctrl+Ins Copy selected item Ctrl+V Paste Shift+Ins Paste Ctrl+Y Redo the last action Ctrl+Z Undo last action Ctrl+K Insert hyperlink for selected text Ctrl+P Print the current page or document. Home Goes to beginning of curren...