Command prompt tricks


Command Prompt is a command line interpreter application available in most Windows operating systems.It is a input field in a text-based user interface screen for an operating system or program.It is also called Windows Command Processor but is also sometimes called the command shell or cmd prompt, or even referred to by its filename cmd.exe.

cmd is easy to use and you can perform many operations in it.Here are top tricks you must know. Before knowing the tricks lets see how to open cmd in windows 10.

1.Go to search the web and windows


2.Enter cmd and select it.


Now lets see some usefull cmd tricks.

1.Change the name of title bar.

You can give any title to cmd just give the command title and with it any title you want to give.

Ex:- >title xyz


2.Copying text in cmd.

You can’t copy paste by right clicking and then selecting copy paste this feature is not present in cmd.

a)First select the text



b)Then use keyboard shortcuts CTRL+C(copy) and CTRL+V(paste).


3.Opening command prompt inside a folder.

Suppose you want to execute a file in a folder what you will do is change the directory from command prompt well there is a trick that you can directly open command prompt inside a folder.

  1. Go to desired folder.
  2. Hold shift and right click and you will see an option open command window here click it and your are done.


4.Change the Looks.

Bored with default looks you can customize command prompt.



5.Check ip address.

You can find/check ip address of any website using command prompt just give the command nslookup



6.See PC drivers list.

You can see all the drivers that is installed in your system just give the command driverquery.


7.Scanning System files.

You can scan the system files using command prompt.It will scan and repair the files.Just type sfc/scannow.Scanning speed depends on your system speed.



Turn your browser into Notepad.


Notepad is a simple text editor for Microsoft Windows and a basic text-editing program which enables computer users to create documents.We all need notepad to note down the things which we wanna use later but somethings while surfing net you found something you don’t need to save you just want to note it down . So here is the trick to turn your browser into notepad with simple one line code.

here is the code:-

data:text/html, <html contenteditable>

Just copy the code and paste it in browser’s URL bar and you are done!!!







Units of Computer Memory Measurements

What is the memory measurement unit of Computer?

You all know that a computer only understands the binary language.The information stored in the computer is in the form of 0`s and 1`s called bits.
In computing and telecommunications, a unit of information is the capacity of some standard data storage system or communication channel, used to measure the capacities of other systems and channels. In information theory, units of information are also used to measure the information contents or entropy of random variables.

The most common units are the bit, the capacity of a system which can exist in only two states, and the byte (or octet), which is equivalent to eight bits. Multiples of these units can be formed from these with the SI prefixes (power-of-ten prefixes) or the newer IEC binary prefixes (binary power prefixes). Information capacity is a dimensionless quantity.


What is JavaScript?
JavaScript, an object scripting language which is used in web pages along with markup language HTML. JavaScript is very popular and adopted universally by every web browser for its support which allows dynamic content to get execute in a webpage. JavaScript does not incorporate or abide by any HTML tags or rules. It is similar to stand-alone programming language developed by Sun Microsystems. As JavaScript got its success worldwide with its integration into the web browsers, the Microsoft has added the JavaScript technology to its own Browser Internet Explorer.

Uses and applications of JavaScript

An HTML page is a static one and without JavaScript it would be static still. JavaScript can make the website more interactive and user- friendliness of JavaScript helps easy navigation of the website and helps designers to guide the visitors with additional information or guide them through walkthroughs. Visual effects can also be achieved with JavaScript. JavaScript can be used effectively to create special effects like rollover for images.

JavaScript not only supports web pages but also supports external applications like PDF documents, running widgets, supporting for flash applications etc. JavaScript has emerged in web industry like a boom and if you look at the current web scenario there are no web technologies that are not using JavaScript. For example AJAX and JQuery, in that the AJAX – Asynchronous JavaScript and XML in which JavaScript plays a very important role and JQuery gives the library for predefined functions for adding animations and many dynamic features to the web pages. AJAX and JQuery are some of the current web trends in terms of Dynamic website design and development.

JavaScript stands unique as it brings out all the special functionalities in the client’s browser instead of the site’s server. The role of JavaScript can never be denied as JavaScript can act as both object oriented language and procedural language.



What actually Github is , well according to wikipedia:-
GitHub is a web-based Git or version control repository and Internet hosting service. It offers all of the distributed version control and source code management (SCM) functionality of Git as well as adding its own features. It provides access control and several collaboration features such as bug tracking, feature requests, task management, and wikis for every project.
GitHub offers both plans for private and free repositories on the same account which are commonly used to host open-source software projects.

To understand GitHub, you must first have an understanding of Git. Git is an open-source version control system that was started by Linus Trovalds(Creator of Linux).
Git is easy to learn and has a tiny footprint with lightning fast performance. It outclasses SCM tools like Subversion, CVS, Perforce, and Clear Case with features like cheap local branching, convenient staging areas, and multiple workflows.


Standard library header files in C++

Hello everyone we have seen Hello world program in C++


The first line of the program Hello World we can see its written #include.What is actually, well writing C/C++ program we need to write this.This is header file in C++.

In the C++ programming language, the C++ Standard Library is a collection of classes and functions, which are written in the core language and part of the C++ ISO Standard itself. The C++ Standard Library provides several generic containers, functions to utilize and manipulate these containers, function objects, generic strings and streams (including interactive and file I/O), support for some language features, and functions for everyday tasks such as finding the square root of a number. The C++ Standard Library also incorporates 18 headers of the ISO C90 C standard library ending with “.h”, but their use is deprecated. No other headers in the C++ Standard Library end in “.h”. Features of the C++ Standard Library are declared within the std namespace.

The C++ Standard Library is based upon conventions introduced by the Standard Template Library (STL), and has been influenced by research in generic programming and developers of the STL such as Alexander Stepanov and Meng Lee. Although the C++ Standard Library and the STL share many features, neither is a strict superset of the other.

A noteworthy feature of the C++ Standard Library is that it not only specifies the syntax and semantics of generic algorithms, but also places requirements on their performance.These performance requirements often correspond to a well-known algorithm, which is expected but not required to be used. In most cases this requires linear time O(n) or linearithmic time O(n log n), but in some cases higher bounds are allowed, such as quasilinear time O(n log2 n) for stable sort (to allow in-place merge sort). Previously sorting was only required to take O(n log n) on average, allowing the use of quicksort, which is fast in practice but has poor worst-case performance, but introsort was introduced to allow both fast average performance and optimal worst-case complexity, and as of C++11, sorting is guaranteed to be at worst linearithmic. In other cases requirements remain laxer, such as selection, which is only required to be linear on average (as in quickselect), not requiring worst-case linear as in introselect.

The C++ Standard Library underwent ISO standardization as part of the C++ ISO Standardization effort, and is undergoing further work regarding standardization of expanded functionality.

Download Standard C++ Library Reference from EBOOKS

Namepaces in C++

You all have seen in previous post (Helloworld program) we have used something called as namespace . What it is actually? What its use?

Namespaces provide a method for preventing name conflicts in large projects.

Symbols declared inside a namespace block are placed in a named scope that prevents them from being mistaken for identically-named symbols in other scopes.

Multiple namespace blocks with the same name are allowed. All declarations within those blocks are declared in the named scope.

 using namepace std;

It includes all C++ standard Libraries.



Hello World!!

Let’s make a Hello World Program in C++.

Open a Text Editor.(Sublime Text)



using namespace std;
int main(){
cout<<“Hello World!!!”;
return 0;

Goto tools>build with>C++ single file run

You are Done