CPP Programming tutorials

CPP Programming tutorials it is for the students who are learning C++ programming

28/04/2016

How do big companies (like Google, Microsoft, Apple, Facebook, etc.) fire their employees?
And the answer is based on someone's experience who worked for IBM.
It was the last day of an engagement (work done on a client contract) and a few of my co-workers were gathered at an expensive restaurant for a celebratory dinner. We did a great job, client was happy, high fives all around, we raised our glasses to IBM: Big Blue forever!

When I returned to my hotel room, I had an email from my IBM supervisor asking me to call him. Not through email, not through IM or text message or the relay service (I am deaf). I had to talk to him directly on the phone. This was unusual and annoying because he knew I was deaf and he's always talked through IM with me. I knew it was something really important, but I never thought for one second I was about to get fired. I had been at IBM for ten years, got awesome reviews, and the project that had just ended was a positive result for IBM. Maybe I was going to get promoted! A bit unexpected, but after the work we'd just delivered, it wasn't improbable. It was on my personal development plan that I was going to work toward such and such a position, a bit early, but still...

So I walk to the lobby, ask the clerk at the desk to help me with the phone call, she listens for a moment, puts the phone on her shoulder, says "He says you've been terminated. You'll get a severance package. You have to say you understand on the phone." So I do and the clerk awkwardly asks if I need anything else.

So I learn yes I got great reviews yes the project I was part of was fantastic yes the client was happy, but everyone on the bench was being cleared out immediately, all 10,000 of us, more or less. I had always picked up a new engagement within days, and I was waiting to hear to see if I'd been picked up somewhere else, nothing I was worried about. But as I was put on the bench that day, boop, I was terminated.

I got 30 days to try to find a new job within IBM (ha ha, so was everyone else), a not too bad severance check (about 6 months salary). On my last day, I went to an IBM office. There was a long sequence of lines. One line you turned in your laptop, one line to turn in your badge, then some HR guy explains your termination benefits, and finally I get my severance check and assorted paperwork for unemployment and COBRA.

A lot of emotional people milling around, hugging and a lot of people sad and some with tears streaming down their faces. I wasn't interested in talking with anyone, so I just went through the lines and left quickly. I had the idea that once IBM got over their rough patch I'd just re-apply and I'd be back. Didn't happen, and although I had a job interview at IBM Research five years later, I could tell it wasn't the same company, it wouldn't be like it was before, and the salary range was less than what I'd gotten before, and far less than other offers I got later that year.

It took a while but now I'm in good shape, career wise, but believe me, until that one fateful day, I never once thought about leaving IBM or even remotely thought I'd get fired. So usual lessons learned!

27/04/2016

Why doesn't Facebook switch over to something superior like Node.JS instead of sticking with PHP?
Few reasons:

The cost to do so would be staggering. Truly absurdly huge.
The cost of testing and bugs that would arise from new code would also be ridiculously huge.
Facebook's version of PHP is likely very far removed from what most random devs use at this point, with all of their custom libraries and systems and with how it's compiled and served up.

25/04/2016

From tomorrow! You guys can get the series of C++ online tutorials..please keep visiting my site.

http://www.anchal.com.au/what-are-arrays/
11/03/2015

http://www.anchal.com.au/what-are-arrays/

Thus, an array is a collection of similar elements. These similar elements could be all ints, or all floats, or all chars, etc. All elements of any given array must be of the same type. i.e. we cannot have an array of 20 numbers, of which 10 are ints and 10 are floats.

For those who are interested in C programming, let's have a look on the complex problems.....http://www.anchal.com.au/co...
18/02/2015

For those who are interested in C programming, let's have a look on the complex problems.....
http://www.anchal.com.au/complex-problems-of-c/

These are little complex problems of C for the beginners.I recommend you to have a look on the code and try by yourself in the IDE.This will improve your coding skills.If you have any questions or queries, then send me the mail.I am happy to respond you via mail.

09/12/2012

Comparison with macros

Traditionally, in languages such as C, inline expansion was accomplished at the source level using parameterized macros. Use of true inline functions, as are available in C99, provides several benefits over this approach:

In C, macro invocations do not perform type checking, or even check that arguments are well-formed, whereas function calls usually do.
In C, a macro cannot use the return keyword with the same meaning as a function would do (it would make the function that asked the expansion terminate, rather than the macro). In other words, a macro cannot return anything which is not the result of the last expression invoked inside it.
Since C macros use mere textual substitution, this may result in unintended side-effects and inefficiency due to re-evaluation of arguments and order of operations.
Compiler errors within macros are often difficult to understand, because they refer to the expanded code, rather than the code the programmer typed. Thus, debugging information for inlined code is usually more helpful than that of macro-expanded code.
Many constructs are awkward or impossible to express using macros, or use a significantly different syntax. Inline functions use the same syntax as ordinary functions, and can be inlined and un-inlined at will with ease.

09/12/2012

What is a inline function? Describe its characteristics.

An inline function is a function upon which the compiler has been requested to perform inline expansion. In other words, the programmer has requested that the compiler insert the complete body of the function in every place that the function is called, rather than generating code to call the function in the one place it is defined.

When the compiler inline-expands a function call, the function's code gets inserted into the caller's code stream (conceptually similar to what happens with a macro). This can, depending on a zillion other things, improve performance, because the optimizer can procedurally integrate the called code — optimize the called code into the caller.

There are several ways to designate that a function is inline, some of which involve the inline keyword, others do not. No matter how you designate a function as inline, it is a request that the compiler is allowed to ignore: it might inline-expand some, all, or none of the calls to an inline function. (Don't get discouraged if that seems hopelessly vague. The flexibility of the above is actually a huge advantage: it lets the compiler treat large functions differently from small ones, plus it lets the compiler generate code that is easy to debug if you select the right compiler options.)
Unlike macros, inline functions avoid infamous macro errors since inline functions always evaluate every argument exactly once. In other words, invoking an inline function is semantically just like invoking a regular function, only faster

08/12/2012

all da students of shanker dev campus ahind orchid international college should....connect in this page...to get updated in CPP

Address

Granville, NSW

Alerts

Be the first to know and let us send you an email when CPP Programming tutorials posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The School

Send a message to CPP Programming tutorials:

Shortcuts

Share