Welcome to Prog2impress.com


Here’s something cool I bet you didn’t know . . .
That, in a nutshell, is what drove the creation of this Website cool stuff you probably didn’t know about your favorite programming language. Tips and Tricks, for want of a better word. Many of them.

C++ was Introduced by bjarne morne oh sorry its .... uhh... bjarne stroustrup Right? Infos like this can be found in every street corner. Here you are gonna Explore the Unexplored. You Gonna touch the untouched. Here you will learn how to do programming with heart not just with mind. And above all you will realize "Known is a drop and unknown is ocean" This site is for beginners and average programmer. Here you can gain more knowledge in C++ and more over you will know how to drive your slave(Computer) and get things done. Here we will give you the coins(Knowledge) and also teach you how to master the game(Programming)

About This Web Site

What kind of Tips and tricks are included in this Web Site? Well, there are parts of the site you didn’t know existed. Or ways to use the site that you weren’t aware of. Or special commands that help you get even more out of the site than you could before. Cool stuff like that and more.

That’s the nature of a programming something that most users don’t know about, but would get a kick out of if they did. These are the kinds of things that will make you say to yourself, “That’s cool I didn’t know you could do that!” And then you’ll want to go directly to the site to try the programming out for yourself. Of course, not all Tips and tricks in this web site will be new to you. If you’re Internet savvy at all, you’ll probably know some of what I reveal in these pages. That’s okay; it only means that you’re on your toes. I’m sure, however, that you’ll find more than a few Tips and tricks you didn’t know, and that they’ll make this web site a worthwhile read for you. To be fair, many of these Tips and tricks are hidden in plain programming. There are few Tips and tricks in this web site that are deliberately concealed from the general public. Most so-called Tips and tricks are things that are there if you look for them and if you know where to look. You can discover lots of programming ideas on your own just by clicking all the links on all the pages of our site and poring over every single page of the site’s help system. The sad fact is, most users never get beyond the site’s home page and there aren’t too many Tips and tricks there!

The tributes to Dennis Ritchie

source taken from Wired.com

The tributes to Dennis Ritchie won’t match the river of praise that spilled out over the web after the death of Steve Jobs. But they should.

And then some.

“When Steve Jobs died, there was a huge outcry, and that was very moving and justified. But Dennis had a bigger effect, and the public doesn’t even know who he is,” says Rob Pike, the programming legend and current Googler who spent 20 years working across the hall from Ritchie at the famed Bell Labs.

On Wednesday evening, with a post to Google+, Pike announced that Ritchie had died at his home in New Jersey over the weekend after a long illness, and though the response from hardcore techies was immense, the collective eulogy from the web at large doesn’t quite do justice to Ritchie’s sweeping influence on the modern world. Dennis Ritchie is the father of the C programming language, and with fellow Bell Labs researcher Ken Thompson, he used C to build UNIX, the operating system that so much of the world is built on — including the Apple empire overseen by Steve Jobs.

“Pretty much everything on the web uses those two things: C and UNIX,” Pike tells Wired. “The browsers are written in C. The UNIX kernel — that pretty much the entire Internet runs on — is written in C. Web servers are written in C, and if they’re not, they’re written in Java or C++, which are C derivatives, or Python or Ruby, which are implemented in C. And all of the network hardware running these programs I can almost guarantee were written in C.

“It’s really hard to overstate how much of the modern information economy is built on the work Dennis did.”

Even Windows was once written in C, he adds, and UNIX underpins both Mac OS X, Apple’s desktop operating system, and iOS, which runs the iPhone and the iPad. “Jobs was the king of the visible, and Ritchie is the king of what is largely invisible,” says Martin Rinard, professor of electrical engineering and computer science at MIT and a member of the Computer Science and Artificial Intelligence Laboratory.

“Jobs’ genius is that he builds these products that people really like to use because he has taste and can build things that people really find compelling. Ritchie built things that technologists were able to use to build core infrastructure that people don’t necessarily see much anymore, but they use everyday.”

From B to C

Dennis Ritchie built C because he and Ken Thompson needed a better way to build UNIX. The original UNIX kernel was written in assembly language, but they soon decided they needed a “higher level” language, something that would give them more control over all the data that spanned the OS. Around 1970, they tried building a second version with Fortran, but this didn’t quite cut it, and Ritchie proposed a new language based on a Thompson creation known as B.

Depending on which legend you believe, B was named either for Thompson’s wife Bonnie or BCPL, a language developed at Cambridge in the mid-60s. Whatever the case, B begat C.

B was an interpreted language — meaning it was executed by an intermediate piece of software running atop a CPU — but C was a compiled language. It was translated into machine code, and then directly executed on the CPU. But in those days, C was considered a high-level language. It would give Ritchie and Thompson the flexibility they needed, but at the same time, it would be fast.

That first version of the language wasn’t all that different from C as we know it today — though it was a tad simpler. It offered full data structures and “types” for defining variables, and this is what Richie and Thompson used to build their new UNIX kernel. “They built C to write a program,” says Pike, who would join Bell Labs 10 years later. “And the program they wanted to write was the UNIX kernel.”

Ritchie’s running joke was that C had “the power of assembly language and the convenience of … assembly language.” In other words, he acknowledged that C was a less-than-gorgeous creation that still ran very close to the hardware. Today, it’s considered a low-level language, not high. But Ritchie’s joke didn’t quite do justice to the new language. In offering true data structures, it operated at a level that was just high enough.

“When you’re writing a large program — and that’s what UNIX was — you have to manage the interactions between all sorts of different components: all the users, the file system, the disks, the program execution, and in order to manage that effectively, you need to have a good representation of the information you’re working with. That’s what we call data structures,” Pike says.

“To write a kernel without a data structure and have it be as consist and graceful as UNIX would have been a much, much harder challenge. They needed a way to group all that data together, and they didn’t have that with Fortran.”

At the time, it was an unusual way to write an operating system, and this is what allowed Ritchie and Thompson to eventually imagine porting the OS to other platforms, which they did in the late 70s. “That opened the floodgates for UNIX running everywhere,” Pike says. “It was all made possible by C.”

Apple, Microsoft, and Beyond

At the same time, C forged its own way in the world, moving from Bell Labs to the world’s universities and to Microsoft, the breakout software company of the 1980s. “The development of the C programming language was a huge step forward and was the right middle ground … C struck exactly the right balance, to let you write at a high level and be much more productive, but when you needed to, you could control exactly what happened,” says Bill Dally, chief scientist of NVIDIA and Bell Professor of Engineering at Stanford. “[It] set the tone for the way that programming was done for several decades.”

As Pike points out, the data structures that Richie built into C eventually gave rise to the object-oriented paradigm used by modern languages such as C++ and Java.

The revolution began in 1973, when Ritchie published his research paper on the language, and five years later, he and colleague Brian Kernighan released the definitive C book: The C Programming Language. Kernighan had written the early tutorials for the language, and at some point, he “twisted Dennis’ arm” into writing a book with him.

Pike read the book while still an undergraduate at the University of Toronto, picking it up one afternoon while heading home for a sick day. “That reference manual is a model of clarity and readability compared to latter manuals. It is justifiably a classic,” he says. “I read it while sick in bed, and it made me forget that I was sick.”

Like many university students, Pike had already started using the language. It had spread across college campuses because Bell Labs started giving away the UNIX source code. Among so many other things, the operating system gave rise to the modern open source movement. Pike isn’t overstating it when says the influence of Ritchie’s work can’t be overstated, and though Ritchie received the Turing Award in 1983 and the National Medal of Technology in 1998, he still hasn’t gotten his due.

As Kernighan and Pike describe him, Ritchie was an unusually private person. “I worked across the hall from him for more than 20 years, and yet I feel like a don’t knew him all that well,” Pike says. But this doesn’t quite explain his low profile. Steve Jobs was a private person, but his insistence on privacy only fueled the cult of personality that surrounded him.

Ritchie lived in a very different time and worked in a very different environment than someone like Jobs. It only makes sense that he wouldn’t get his due. But those who matter understand the mark he left. “There’s that line from Newton about standing on the shoulders of giants,” says Kernighan. “We’re all standing on Dennis’ shoulders.”

How to Use This Web Site

Using this web site is as simple as turning to the chapter on a particular site, reading through the Tips and tricks, and then trying them on your own. You don’t need any particular programming expertise to take advantage of these Tips and tricks, although some familiarity with the sites in question is helpful. There’s no fancy programming, no high-level coding, just a lot of common-sense information that you probably didn’t know before.


Here are many good C++ Tutorials and Resources at prog2impress.com. These C++ programming tutorials and guides explain the object-oriented approach of C++ and its advantages over traditional C. C++ has also inspired various other object-oriented languages that are widely used today.

C++ Tutorials
This study material explains the basic concepts of C++ and the Object Oriented Programming methodology. A short primer to learning C++ has also been included to quickly explain a few of the changes in C++.

- Learning C/C++ without classes
- Learning Allegro
- Learning Object Oriented Programming in C++
- Addendum to Learning OOP in C++
- Escape Characters
- ios manipulators used with the << operator
- ios flag
- Variable Capacities
- Debugging Pointers
- Linklists vs Arrays
- Data Hiding in Inheritance

Download C++ EBooks
Here are 21 C++ tutorials and ebooks to help you learn many C and C++ programming techniques (pdf format).

- 7Habits Of EffectiveC++
- C++ basic questions
- C++ by Example
- C++ object-oriented questions
- C++ Coding Standard
- C++ Programming As whole
- Pointers, All About Pointers
- The Function Pointer Tutorials
- Fundamental Programming structure in c
- File Management in C
- Encapsulation of Objects C++
- Data Structures Using C
- C Tutor
- C++ Object-Oriented C
- C for VB Programmers
- A Quick Introduction to C++
- Program Development in C
- Language Development and selection
- Input and Output in C
- Inheritance and Virtual function in C++
- Complete C Ebook With 26 Chapters

Common Programming Questions
This is an FAQ of the most common questions asked in C++. It also covers a range of other topics such as Data Structures, Language Development and Function Pointers.

- The Top 20 C++ Tips of All Time

C/C++ Projects with Source Codes
- 1. Hotel Reservation System.
- 2. Library Management System.
- 3. Chess Game Developed in C++.
- 4.Bricks Game in C/C++.