Wednesday, November 04, 2009

[Cpp-Programming] Hi! There is an urgent question.

(1) What are the three required statements for every function in C++?

(2) Name two reasons why programmers should be careful when using global variables.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "C++ Programming" group.
To post to this group, send email to cpp-programming@googlegroups.com
To unsubscribe from this group, send email to cpp-programming+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cpp-programming?hl=en
-~----------~----~----~----~------~----~------~--~---

1 Comments:

At 10:45 AM, November 17, 2009, Anonymous dhea said...

It helps if the standard annoys everyone in some way so everyone feels they are on the same playing field. The proposal here has evolved over many projects, many companies, and literally a total of many weeks spent arguing. It is no particular person's style and is certainly open to local amendments.
Good Points includes :
When a project tries to adhere to common standards a few good things happen:
* Programmers can go into any code and figure out what's going on.
* New people can get up to speed quickly.
* People new to C++ are spared the need to develop a personal style and defend it to the death.
* People new to C++ are spared making the same mistakes over and over again.
* People make fewer mistakes in consistent environments.
* Programmers have a common enemy.

 

Post a Comment

<< Home