Skip to content

Coding

c++

Typedef in C++

The declaration that follows the keyword typedef is otherwise usual simple declaration (except that other type specifiers, e.g. static, cannot be used). It may declare one or many identifiers on the same line (e.g. int and a pointer to int), it may declare array and function types, pointers and references, class types, etc. Every identifier introduced in this declaration becomes a typedef-name rather than an object that it would become if the keyword typedef was removed.

Read More »Typedef in C++

c++

Virtual Functions in C++

Virtual functions in c++ is ,if you want to execute the member function of derived class then, you can declare  a function  in the base class virtual which makes that function existing in appearance only but, you can’t call that function. In order to make a function virtual, you have to add keyword virtual in front of a function.

Read More »Virtual Functions in C++

php-psr-auto-fomatting

PHP PSR Auto Formatting Tool

PSR format is one of the code formatting standard of PHP. Its very tough to format each and every line in big projects. To Resolve this PSR auto formatting tool is available as opensource kit called – PHP-CS-Fixer. You can simply use it from command line and change your code formatting within seconds.

Read More »PHP PSR Auto Formatting Tool

Jquery ajax

jQuery vs Ajax

AJAX is a technique to do an XMLHttpRequest (out of band Http request) from a web page to the server and send/retrieve data to be used on the web page. AJAX stands for Asynchronous Javascript And XML. It uses javascript to construct an XMLHttpRequest, typically using different techniques on various browsers.

Read More »jQuery vs Ajax