Skip to main content

Posts

Showing posts from December, 2017

C++ programming #2

Today, I will go ahead with a program. #include<iostream.h> #include<conio.h. int i;//global variable void main() { int j;//local variable clrscr(); cout<<".............."<<endl; cout<<"12345; cout<<"\n j="<<j; endl(cout); cout<<"i="<<i; cout<<"\n"; cout<<2324.65; cout<<"\\*********\\";//here double back slash which is inside cout statement will be ignored. getch(); } Explanation: refer to 'c++ programming #1' section. Now As we saw in 'C' programming we use other functions instead of scanf, here a get() function introduced to read the single character value and put() function to write in the compiler. The syntax to read a single character using get() - cin.get(variable); ex..char ch; cin.get(ch); The syntax to write a single character using put() - cin.put(variable/value); ex..char ch='x'; cin.put(ch); ...

C Programming #2.

Hello friends, I have come back with another post. Today I will write about INCREMENT AND DECREMENT OPERATORS. -We also say these operators, as the unary operator. -It will be applied to a single variable(neither value nor expression). -It will work with all kinds of data types.  Now Prefix Increment- ++x//( pahle increment hoga fir operation me laya jayega) Postfix Increment- x++//( pahle operation me laya jayega fir increment hoga) Prefix Decrement- --x//( pahle decrement hoga fir operation me laya jayega) Postfix Decrement- x--//( pahle operation me laya jayega fir decrement hoga) Now without wasting the time, I am going through the program for better understanding. Q.How prefix and postfix increment operator is work? # include<stdio.h> #include<conio.h> void main() { int x,y; printf("Enter the value of x and y:\n"); scanf("%d%d",&x,&y); printf("x=%d\t",x); printf("++x=%d\t",++x); printf("x...

The Technical Stuff #3.

Hello guys, I am back to you with another person STEVE JOBS. Why it is said that history of IT isn't complete without Steve Jobs? Very few computer wizards in the world have been popular as Steve Jobs, the co-founder of Apple. Beyond the world of technology, Jobs had donned the roles of the humanitarian, philanthropist, and environmentalist thereby influencing people worldwide. At a time when computers were just too expensive for the common man to use, Steve jobs along with Steve Wozniak, and Ronald Wayne founded the Apple Computers Inc.in 1976. Their first workspace was in the garage of Jobs'Los Altos home. The following year, Jobs and Wozniak released Apple II, string the microcomputer revolution. The growth of the company had been very fast, and under Jobs' leadership, it introduced the Macintosh 128k computer in 1984, the first PC featuring an internal graphics user interface and a mouse. In 1998, the all-in-one iMac computer was released the first machine...

C++ Programming #1

-Hello guys, I am back to you with another post. This is my c++ section. Here I will explain mostly the program part and for the theoretical part you have go through any c++ textbook, thank you. -Firstly the most important question that arises in every mind that: What is the difference between c and c++? -I am going to explain this question separately. 1.'C' is structured and procedural programming language but C++ is an object-oriented programming language. 2.'C' is top-down based language but C++ is bottom-up based language. 3.We use printf() and scanf() for write and read respectively but in   C++ we use cout and cin for reading and write respectively. 4. We can't have more than one function having the same name but in   C++ we can have more than one function with same name (using polymorphism concept) 5. 'C' has no inheritance but C++ has inheritance.  6. 'C' doesn't provide data security but C++ provides data security ...

The Technical Stuff #2.

Hello friends, I am back in technical stuff with another person. This is all about the company Skype . And the named Niklas Zennstrom who is considered as a technology pioneer. With his introduction of Skype, an application for video chat, Niklas Zennstrom redesigned the scope of communication and took it a whole new level . This is, however, just one of the many reasond =s why Zennstrom remains a legend in the world of information technology. Born on February 16th, 1996 in Sweden Niklas Zennstrom stood out as an innovative kid since childhood. Zennstrom started his professional career in 1991 at tele2, a Swedish telecommunication firm. in 2000, he founded Kazaa along with Janus Friis. It was high profile second-generation, peer-to-peer file-sharing application, similar to Napster . Following a series of cases, Kazaa was shut down in 2001. The closure of Kazaa however, didn't stop Zennstrom and Friis, and soon, in 2003 they introduced ...

The Technical Stuff #1.

PEOPLE WHO CHANGED OUR LIFE. * BILL GATES -William Henry Gates III may not sound familiar to us, but the name 'BILL' Gates certainly does. He is an American technology entrepreneur and investor, best known for establishing the Microsoft Corporation. He is one figure without whom the history of information technology stays incomplete . Along with Paul Allen, he founded the Microsoft Corporation in 1975, making it the world's largest PC software company. With this, he triggered the personal computer revolution and brought people closer to technology through user-friendly software and programs. Gates has been a student at the Harvard University when the project turned successful. Subsequently, he dropped out of academics and focused on the microcomputer industry. He was the chairman, chief executive officer, and chief architect of the firm. By 1987, Bill Gates became one of the richest persons in the world and has been on the list ever since. Currently, he i...

C programming #1

Now I m ready to share programming skills of mine with you guys . First of all, I am going with c programming language ..... firstly I am performing multiplication over two integers, this is a damn simple program level. #include< stdio . h> #include< conio . h> void main ( ) { int a , b , c; clrscr ( ); printf ( " enter the value for a & b:\n"); scanf ( "%d%d" , &a , &b); c =a*b; printf ( "the multiplication between %d and %d=%d" , a , b , c); getch ( ); } EXPLANATION: first line and the second line is the header part of the program , stdio means standard input-output and conio means console input output. third line -void main ( ) means program compiles in main and void is only the null return type. fourth line-braces start. fifth line-clrscr ( ); means clear the screen. sixth line- printf ( ), it has the statement which we will have see on console at runtime. seventh line- scanf ( ) compile...