Tech Talk About C++ and C : Extensive C++ and C FAQ

Tech Talk About C++ and C : Extensive C++ and C FAQ

Discuss related issues in give link..
1. What book do you recommend?
2. Where is the FAQ for the various C and C++ newsgroups?
3. Can I really get the C++ Standard electronically for $18?
4. Can I get Standard C electronically too?
5. What's wrong with code that uses void main()?
6. What about returning from main()?
7. Where does the int returned from main() go?
8. What's the difference between endl and '\n'?
9. Why can't I fflush(stdin), or any input stream??
10. How do I remove all chars from a stream??
11. Why can't my compiler find cout, or anything from the Standard library??
12. Is delete the same as delete []?
13. What's std or std::?
14. What happened to the .h suffix on a header file?
15. Is iostream.h ok?
16. Why is an unnamed namespace used instead of static?
17. Why does C++ allow unnamed function parameters?
18. What are header file "include guards"?
19. Is casting and conversion the same thing?
20. NEW Section! What is a "new style cast"?
21. NEW Section! What is static_cast?
22. NEW Section! What is const_cast?
23. NEW Section! What is reinterpret_cast?
24. NEW Section! What is dynamic_cast?
25. NEW Section! What are header file "code wrappers"?
26. How can two struct/classes refer to each other?
27. What's the scope of a for loop declaration?
28. What does for(;;) mean?
29. What's the difference between #define and const?
30. Why is the preprocessor frowned upon?
31. How do I clear the screen?
32. How do I change the color of the screen?
33. How does one erase the current line...And questions like this?
34. How do I read just one character, w/o a return?
35. What is NULL?
36. NEW Section! How to convert a char array or C++ string to an int?
37. Revised How to convert an int to a char array or C++ string?
38. How to add a float (or "any" type really) to the end of a C++ string?
39. How to convert a string to a char *?
40. Revised Why does C++ have a string when there is already char *?
41. Revised How does C++'s string differ from C's?
42. Which string do I use if I want a const string?
43. What is a string? What is a string literal?
44. NEW Section! What's the difference between char * and char []?
45. NEW Section! What's the difference between member initializing and assignment while constructing?
46. How to get the dimension/bounds of an array?
47. Why can't I overload a function on return types?
48. Why can't I convert a char ** to a const char **?
49. How many bits are in a byte?
50. Is there a BOOL type?
51. How do I create an array of booleans?
52. How do I print out a value in binary?
53. How do I code a binary literal?
54. How to print an enumerator as a string, not an int?
55. NEW Section! How can I execute another program from my program?
56. What's this "POD" thing in C++ I keep hearing about?
57. How can C++ functions call C functions?
58. How can C functions call C++ functions?
59. What's this extern "C" thing?
60. Why is there a const after some function names?
61. void SomeClass::MemberFunc() const { /*WHY THE CONST?*/ }?
62. What is the mutable keyword?
63. What's the difference between C++ and VC++?
64. What's the difference between C++ and Borland C++?
65. What's an INTERNAL COMPILER ERROR?
66. What is the template typename keyword used for?
67. What's the difference between typename and typedef?
68. What does the ++ in C++ stand for?
69. How do you pronounce C++?
70. Do you have a question to add??

http://www.comeaucomputing.com/techtalk/

Google