Posts

Showing posts from January, 2019

FUNCTION

Function : a function is a group of statements that together perform a task. Every c++ program has at least one function, which is main(), and all the most trivial programs can define additional functions. You can divide up your code into separate functions. Part of function: 1. Return type 2. Function name 3. Parameters 4. Body Types of function 1. Predefine function                     Example:      clrscr();                                       getch(); 2. User define function                        a. Default function      ...

Console Application

Console Application : A console application is an application that runs in a console window.It doesn’t have any graphical user interface. Console Applications will have character based interface.An application that uses the command line for input and output rather than a graphical interface (GUI).

Benifits of OOPs

Benefits of OOPs 1). OOPs makes development and maintenance easier where as in Procedure-oriented programming language it is not easy to manage if code grows as project size grows. 2). OOPs provides data hiding whereas in Procedure-oriented programming language a global data can be accessed from anywhere. 3). OOPs provides ability to simulate real-world event much more effectively. We can provide the solution of real word problem if we are using the Object-Oriented Programming language. 4). Reuse also enables faster development. 5). Reuse of code through inheritance

For connect mouse or keyboard to smart phone

Step 1. Connect the USB OTG/OTG Cable into the Micro USB port on your Smart Phone or tablet. Step 2. Plug the USB mouse/Keyboard to the USB port of the OTG. Note: Some Android devices don't have the hardware support. So, not every device supports USB OTG.