Win + Keyboard Shortcut

  1.  Win + "Start Typing" - Search you PC.
  2.  Win +  .  - Cycle through open application.
  3.  Win +  , - Temporarily peek at the Desktop.
  4.  Win +  / - Initiate IME reconversion.
  5.  Win +  + - Zoom in using Magnifier.
  6.  Win +  - - Zoom out using Magnifier.
  7.  Win +  Esc - Exit Magnifier. 
  8.  Win - Display or hide Start Menu.
  9.  Win + B - Set focus on the notification area.
  10.  Win + C - Open the Charm. In an application, open the command for the application.
  11.  Win + D - Display the Desktop
  12.  Win + E - Open My Computer
  13.  Win + F - Search for a File or Folder.
  14.  Win + H - Open the Share Charm. 
  15.  Win + I - Open the Settings Charm.
  16.  Win + K - Open the Devices Charm.
  17.  Win + L - Lock the Computer or Switch Account.
  18.  Win + M - Minimise all of the Windows.
  19.  Win + O - Lock the screen orientation - Portrait or Landscape.
  20.  Win + P - Choose a presentation display mode.
  21.  Win + Q - Open the search Charm to search everywhere or within an open application
  22.  Win + R - Open the Run dialog box.
  23.  Win + S - Open the search Charm to search Windows and the Web.
  24.  Win + T - Cycle through application on the Taskbar.
  25.  Win + U - Open Utility Manager. / Open Easy of Access Center.
  26.  Win + V - Cycle through Notification.
  27.  Win + W - Open the search Charm to search settings.
  28.  Win + X - Open the Quick Link menu.
  29.  Win + Z - Show  the commands available in the application.

How to Install of Turbo C++

First of all we need a editor Turbo C++. In your computer not installed this compiler or editor, you must download and install it. Here Turbo C++ for Windows 7,8,8.1 and Windows 10 with full window screen mode. Follow the instruction to download and installing.

1- Download Turbo C++ from here.          
            DOWNLOAD

2- If any previous version of Turbo C++ installed in your system, uninstall it.
3- Extract the downloaded zip file.
4- Run "setup.exe" file.
5- Follow the instruction.

STRUCTURE OF A PROGRAM, C++

Every programming language has a particular structure, like other programming language C++ has their own structure for writing program. Basic structure of C++ programming language as follows.


A simple program for demonstrate the basic structure of C++ programming language. Each code explained briefly. 


//my first program in C++
This is a comment line. The comment are ignored by the compiler. All lines beginning with two slash sign(//) are considered comments. The programmer can use them to include short explanations or observations within the source code itself. In this case, the line is a brief description of what our program is. If we want multiple lines in a comment it is enclosed between /* and */.

#include<iostream.h>
This is a header file of C++. Lines beginning with a hash sign (#) are directives for the preprocessor. File iostream.h is a header file needed for input or output requirements of the program. The C++ languages several headers, like,<stdio.h><conio.h>, <iostream.h> etc., which contain information that is either necessary or useful to your program. The header file are not regular code lines with expressions but indications for the compiler's preprocessor. In this case the directive #include<iostream.h> tells the preprocessor to include the iostream.h standard header file. this specific file (iostream) includes the declarations of the basic standard input-output library in C++, and it is included because its functionality is going to be used later in the program.

int main()
This line corresponds to the beginning of the definition of the 'main' function. The main function is the point by whee all C++ programs start their execution, independently of its location within the source code. It does not matter whether there are other functions with other names defined before or after it. The instructions contained within this function's definition will always be the first one to be executed in any C++ program. For that same reason, it is essential that all C++ programs have a main function. The word main is followed in the code by a pair of parentheses '()'. 

Braces '{ }'
Right after these parentheses we can find the body of the main function enclosed in braces '{}'. What is contained within these braces is what the function does when it is executed.

cout<<"Hello World1!";
This line is a statement to print our message "Hello World!" on the screen. A statement is a simple or compound expression that can actually produce some effect. This is the body of the function, main(). All statement within the body should be indented for legibility, and each statement must be terminated by a semicolon. 

return 0;
This is a new type of function, when a program finished running it send the value zero (0) to the operating system, that means the execution of the program is over. 

DATA TYPES, C++

Data Types
In programming, information are stored in computer memory with different data types. They are used for define what type of variables are used in a programming. Variables are nothing but reserved memory location to store values. 

C++ support large number of data types. Data type is the type of value (data) stored by a variable. C++ provides a predefined set of data types for handling the data is uses. Data can be of many types such as character, integer, real etc. Since the data to be dealt with are of many types, a programming language must provide different data types. In C++ data types are of two types, Fundamental Data Types and Derived Data Types.

Fundamental Data Types
As the name suggests these are the fundamental data types in C++. Fundamental data types are :
  • Character Data Type
  • Integer Data Type
  • Floating-Point Data Type
Character Data Type: The character data type is used to store characters, small integer and punctuation mark - typically ASCII characters but not always. "char" keyword is used to declare these type of variable. Each character is enclosed in single quotes. The signed range of char data is -128 - 127 and the unsigned range between 0-255. Character data type's size is one byte.

Integer Data Type: The integer data type is used for storing whole numbers. We can use signed, unsigned or plain integer values. The range of values for this type will be defined by compiler, normal range is -32768 - 32767, and size is 2 bytes. "int, short / long" keyword is used to declare these type of variable. C++ provide nine built-in integer data type. They are follows.

TYPE
SIZE(Bytes)
RANGE
int
2
-32768 to 32767
unsigned int
2
0 to 65535
signed int
2
-32768 to 32767
short int
2
-32768 to 32767
unsigned short int
2
0 to 65535
signed short int
4
-32768 to 32767
long int
4
-2147483648 to 2147483647
unsigned long int
4
0 to 4294967295
signed long int
4
-2147483648 to 2147483647

Floating-Point Data Types: A number having fractional part is a floating point number. An identifier declared as "float or double". Floating point variable represent real numbers. They can represent a much greater range of values. These are three sizes, float, double and long double.

TYPE
SIZE(Bytes)
RANGE
float
4
3.4E-38 to 3.4E+38
double
8
E-7E-308 to 1.7E+308
long double
10
3.4E-4932 to 1.1E+4932

Derived Data Types

These are the data types which are derived from the fundamental data type. It further divided into two categories, Built-In and User-Defined. Built in data types are array, function, pointer, reference and constant. User defined data types are class, structure, union and enumeration.

Built-In Derived Data Types

Arrays: Arrays refers to a list of finite number of same data types. Array is a collection of data element in which all element are same data type hence homogeneous data. An array is a series of elements of the same data type place in contiguous memory locations that can be individually referenced by adding an index to a unique identifier. The data in the array can be accessed by an index number ranging from 0 to n, where n is the number of data element in can store.

Pointer: A pointer is a variable that holds the memory address of other variable. It is also of different data types. Pointers provide indirect access to values

User Defined Derived Data Type

C++ allows user to define new type of data types based on the other existing data types. Fundamental data types are directly recognised by the C++ compiler. 

Class: A class is a collection of variables and functions under one reference name. It is the way of separating and storing similar data together. A class is a collection of a fixed number of components (members). A class definition begin with the keyword 'class'. The body of the class is contained within the set of braces. ({};). Member functions are often the means of accessing, modifying and operating the data members(i.e. variables). It is one of the most important features of C++ since OOP is usually implemented though the use of classes.

Structure: In C++ structure and class are same except for some very minor differences. A structure is a collection of variables which can be same or different data type under a single name 

Union: A union is a user defined data type or class type, that at any given time, contains only one object from the list of members. A union is a memory location shared by two or more different variables, generally of different types.

Enumeration: Enumeration is a user defined data type. It can be used to assign names to integer constants. Enumeration are declared by the keyword 'enum'.

Each topic will discuss detail. 

TOKENS, C++

Tokens
A token is the smallest element of a C++ program that is meaningful to the compiler. The C++ recognizes the following tokens:

  • Identifiers
  • Keywords
  • Literals / Constants
  • Operators
  • String
Tokens are usually separated by white space. White space can be one or more blanksHorizontal or Vertical tab, New lines, Form feeds, Comments. 

Identifiers
An identifier is a sequence of characters. Which are used to denote object or variable name, class, structure, or union name, functions name etc. Doesn't use the keywords as a Identifiers, it will get error.

Keywords
Keywords are predefined reserved identifiers that have special meanings. They cannot be used as identifiers in the program. C++ reserved Keywords are listed following.
asm
default
goto
register
throw
auto
delete
if
return
try
bool
do
inline
short
typedef
break
double
int
signed
union
case
else
long
sizeof
unisigned
catch
enum
new
static
virtual
char
extern
operator
struct
void
class
float
private
switch
volatile
const
for
protected
template
while
continue
friend
public
this


Literals / Constant
Invariant program elements are called "Literals" or Constants". Constants means the program may not alter the fixed value and they called literal. The terms 'Literal' and ' constant' are used interchangeably here. Literals fall into four major categories. They are integer, character, floating point and string literals.

Character Constant: The character type is used to store characters. 'char' keyword is used to declare these types of variable. Range of character type is -128 to 127 and size is one byte.

Integer Constant: The integer type is used for storing whole numbers without fraction parts. We can use signed, unsigned or plain integer values. Integer values come in three sizes, plain int, short int, long int. The range of values of these types will be defined by compiler. Normal range is -32768 to 32767. Size is 2 bytes.

Floating Constant: Floating constants contain decimal numbers. They are also called Real Constant. It consist of signed or unsigned digits including a decimal points, for example 1.16, - .085.

Operator
Operator are special symbols used for specific purpose. C++ provides six types of Operators.

  • Arithmetic Operator
  • Relational Operator
  • Logical Operator
  • Unary Operator
  • Assignment Operator
  • Conditional Operator
  • Comma Operator

String
String is represented by a group of characters. String constant are enclosed in double quotes.

INTRODUCTION C++

C++ is a general-purpose programming language. It was developed by Bjarne Stroustrup starting in 1979 at Bell Labs as an enhancement to the C language and originally named C with Classes. It was renamed C++ in 1983 [The name C++ (C plus plus) was named by Rick Mascitti in 1983]. C++ is an Object Oriented Programming language but not purely Object Oriented. C++ is one of the most popular programming languages and its application domains includes systems software, application software, device drivers, embedded software, high performance server and client applications, and entertainment software such as video games. 

In simple C++ is a statically typed, compiled, general purpose, case sensitive programming language that support procedural, object oriented and generic programming. 

C++ is regarded as a middle-level programming language as it comprises a combination of both high-level and low-level language features. C++ was developed as an enhancement to the C language.


Win + x+ Keyboard Shortcut


  1.  Win + Break  Display the System Properties Dialog box
  2.  Win +  Shift + M - Restore the Minimised Windows.
  3.  Win +  Ctrl +F - Search for Computers.
  4.  Win +  F1 - Display Windows Help.
  5.  Win +  Space Bar - Switch the input language.
  6.  Win +  Ctrl +  Space Bar - Change the previously selected input language. 
  7.  Win +  Enter - Open Narrator. 
  8.  Win +  Alt +  Enter - Open Windows Media Center.
  9.  Win +  Tab - Cycle through recently used Software.
  10.  Win +  Ctrl +  Tab - Cycle through recently used Software.
  11.  Win +  Ctrl + B - Switch to app that displayed a message in the notification area. 
  12.  Win +  Shift + Tab - Cycle through recently used software.
  13.  Win  Shift +  .  - Snaps the application to left.
  14.  Win +  Shift + V - Cycle through Notification reverse order.
  15.  Win +  Pause - Display the System Properties dialog box
  16.  Win +  Ctrl + F - Search for PC's, If you are on a network.
  17.  Win +  Shift + M - Restore minimised windows on the desktop.
  18.  Win + "Number" - Start the application pinned to the taskbar in the position indicated by the number. 
  19.  Win + Shift + "Number" - Start a new instance of the app pinned to the taskbar in the position indicated by the number.
  20.  Win + Win + "Number" - Switch to the last active window of the app pinned to the taskbar in the position indicated by the number 
  21.  Win + Alt + "Number" - Open the Jump List for the app pinned to the taskbar in the position indicated by the number.
  22.  Win + Ctrl + Shift + "Number" - Open a new instance of the app located at the given position on the taskbar as an administrator. 
  23.  Win + "Up Arrow" - Maximise the window.
  24.  Win + "Down Arrow" - Remove current app from screen or minimise the desktop window.
  25.  Win + "Left Arrow" - Maximise the app or desktop window to the left side of the screen.
  26.  Win + "Right Arrow" - Maximise the app or desktop window to the right side of the screen.
  27.  Win +  Home - Minimise all but active desktop window
  28.  Win +  Shift + "Up Arrow" - Stretch the desktop window to the top and bottom of the screen.
  29.  Win +  Shift + "Down Arrow" - Restore / minimise active desktop window vertically, maintaining width.
  30.  Win  Shift + "Left Arrow / Right Arrow" - Move an app or window in the desktop from one monitor to another.

WHAT IS STEPS RECORDER

Step Recorder is a combination key logger, screen capture and annotation tool for Windows. Windows 7 ship with a utility named PSR (Problem Steps Recorder) that records the steps you have taken on the computer automatically including mouse clicks. Its is used to quickly and easily document action made on a computer for troubleshooting purpose. You can use these recordings to speed up issues when you are dealing with tech support.

Problem Step Recorder can be used to automatically capture the steps performed by a user on a computer, including a text description of where they clicked and a picture of the screen during each click. This capture is then automatically saved to a file that can be used a support professional to help the user troubleshoot the issue or understand what steps were taken by the user.

Step Recorder is user for troubleshooting and assistant tool used to record actions taken by a user on a computer. Once recorded, the information can be send to whatever person or group is assisting in the troubleshooting. 

Step Recorder is a program that must be manually started and stopped by you. PSR doesn't run in the background and does not collect or send information to anyone automatically. 

Step Recorder is available in Windows 10, Windows 8, Windows 7 and Windows Server 2008.

STEPS:

  • Click Start à Run or use short cut key Win+R to open command prompt. 
  • Type PSR and press Enter.

  • Problem Step Recorder toolbar will appear.

  • To start the capture simply press Start Record” button.
  • Now whatever you do on your computer it will be recorded in snaps as well as text.
  • To stop recording simply press “Stop Record” button.
  • You will be prompted to save the resulting ZIP file. 
  • Write the name of the file and save it on the desktop or any location.

  • Now extract the compressed file by right click extract all option.
  •  A Problem.mh file will be there in the extracted folder.
  • Now open the file in Internet explorer.


By default Problem Steps Recorder will record only 25 screenshots. But thing can be changed to any number. Click on the small down-arrow next to the help icon, and then select settings.

In any case, PSR is more than just a screenshot tool. Besides automating the capturing of what's going on the screen, It will also highlight the user's mouse clicks, and most importantly, will provide a detailed textual metadata with a description of what the user is doing.

AVOID VOMITING DURING TRAVELLING

What is Vomiting?

In simple all our body parts work together to send the waste matter inside our stomach through the mouth is called Vomiting. The term vomiting describes the forceful expulsion of the content of the stomach via the mouth, some times through nose. Vomiting involves the forceful contraction of stomach muscles. 

Causes of Vomiting

  • Motion sickness or seasickness.
  • Early stage of pregnancy.
  • Intense pain.
  • Emotional stress, such as fear.
  • Food poisoning.
  • Over eating.
  • A reaction to certain smells.
  • Heart attack.
  • Brain tumor.
  • Some form of cancer.
  • Excessive amount of alcohol.
  • Headache.
  • Travelling.
Why vomit during travelling 

Many people suffer with motion sickness which is vomiting while travelling. Motion sickness or Travel sickness is very common and can make you feel sick or be vomit. There are various reasons for vomiting during travelling.

Sense of smell, people have tendency to vomit due to react of some smells like diesel smell, bad smells etc.

When feeling motion but not seeing it, the inner ear transmit to the brain that it senses motion, but the eyes tell the brain that everything is still. As a result of the discordance, the brain will come to the conclusion that the individual is hallucinating and further conclude that the brain hallucination is due to poison ingestion. The brain responds by including, vomiting to clear the supposed toxin.

Tips for avoid vomiting
  1. Never start a journey in empty stomach. But don't eat stomach full.
  2. Drink water, don't drink stomach 
  3. Avoid food that are more oily and spicy.
  4. Sleep well on night, before starting the journey.
  5. Do not carry anything with harsh smell. 
  6. Bring a lemon, and smell it frequently. 
  7. If you have headache during travel, take headache medicine immediately.
  8. While travelling take rest for few mints, and walk some steps.
  9. Take deep breath frequently. Breath the fresh air
  10. Avoid sprays or perfumes, it will give tendency to vomit to people they travelling with you.
  11. If you are travelling in a car, try to sit at the front seat. If you are travelling in bus, try to sit at the middle seat. If you are travelling in air try to sit over the wing of the plain.
  12. Avoid reading during the journey, also avoid watching film.
  13. Close your eyes and try to sleep
  14. Don't sit opposite direction of travelling.
  15. If all above tips not helping, consult a physician and take medicine before next journey.

Blog Archive