Posts

Showing posts from September, 2015

NOT SO COMMON C++

Image
Hello Techiez, today in this post i'll be discussing about some shortcuts and some methods in C++ which are we generally miss while studying C++. This post will be useful for both C++ beginners  as well for experienced programmers. So lets explore. 1. Convert a decimal value to hexadecimal/octal. Program:  #include<iostream> using namespace std; int main() {     int num1=300;     cout<<hex<<num1;   //hex is an manipulator used to convert num1 into hexadecimal value } Output: 12c Same program can be used to convert :         (a)decimal to octal, just change "hex" to "oct" and          (b)for octal/hexadecimal to decimal, just change "hex"/"oct" to  "dec" (before a hex/oct number). lets see an example for part '(b)' Program: #include<iostream> using namespace std; int main() {     int num1=01067;         // 01067 is an octal for 567

Why to choose C# ? - for Beginners

Image
Hello Everyone, in my last blog " Cross Platform development " I promised(kind of) to tell you "why to choose C# ?". So here we are ;-) ,  lets start exploring interesting features of  C#. DIFFERENCE BETWEEN C# and VISUAL C# When you program with C# in Visual Studio IDE it is then called Visual C# Visual C# is just the marketing name that Microsoft uses for C#, therefor Visual C# is just C#. GENERAL INFO : Developed By : Anders Hejlsberg(Microsoft) Most recent version : C# 6.0 First Appeared : 2000 Previous name: Cool(C-like Object Oriented Language)....{C# is much better I know :-)  } FEATURES : 1. Direct memory manipulation is not allowed in C# , helps to carry out safe operation. 2. Automatic memory management(Since It is on .Net). 3. It has a built in suport to turn any component into web service that can be accesed over the internet. 4. It supports Polymorphism,Interfaces, Data Encapsulation. 5. In C# we can directl

Hello World

Hello Everyone , I am Ritesh an engineering student ,a hacking and app development enthusiast. In my blogs we'll be taking about hacking , app dev , programming , tech trends etc etc.. I Like to share new things in the Tech world and I hope you all will like it....mmm actually i know you will like it. ;-)