I've got coworkers who's first job in the programming business was Cobol maintenance. Old programmers from the 1960s are retiring in their 80s, and they need maintainers to write new code for various ancient mainframe systems.
Do remember, IBM is still selling System/360 systems today. http://en.wikipedia.org/wiki/IBM_System_z
These systems are running Cobol code from the 1960s, and they need to be updated to include XML, REST and all the other latest developments of development.
http://www.itworldcanada.com/article/the-future-of-cobol-why...
Similarly, C++ programmers are probably going to have an even _larger_ legacy than Cobol.
Cobol is very much alive today.
In fact by some measurements, Cobol is still more popular than Java and Javascript.
http://www.computerworld.com/article/2502430/data-center/cob...
[1] from my short readings, it's suited for simple table processing.
Weird, IBM has been trying to replace bare COBOL with higher level languages for years.
Probably not even "years", and closer to "decades" at this point.
C++ will continue to be used, much like Cobol has continued to be used for an eternity.