Click here to Skip to main content
15,905,148 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: [Two projects use one file on visual studio 2008] [C++] Pin
Thong LeTrung18-Dec-13 6:15
Thong LeTrung18-Dec-13 6:15 
GeneralRe: [Two projects use one file on visual studio 2008] [C++] Pin
Maximilien18-Dec-13 6:23
Maximilien18-Dec-13 6:23 
AnswerRe: [Two projects use one file on visual studio 2008] [C++] Pin
Albert Holguin18-Dec-13 9:23
professionalAlbert Holguin18-Dec-13 9:23 
GeneralRe: [Two projects use one file on visual studio 2008] [C++] Pin
Thong LeTrung18-Dec-13 16:04
Thong LeTrung18-Dec-13 16:04 
GeneralRe: [Two projects use one file on visual studio 2008] [C++] Pin
Albert Holguin19-Dec-13 4:23
professionalAlbert Holguin19-Dec-13 4:23 
QuestionMemory leak problem Pin
D.Manivelan17-Dec-13 17:48
D.Manivelan17-Dec-13 17:48 
AnswerRe: Memory leak problem Pin
Richard Andrew x6417-Dec-13 18:48
professionalRichard Andrew x6417-Dec-13 18:48 
AnswerRe: Memory leak problem Pin
tgsb17-Dec-13 19:42
tgsb17-Dec-13 19:42 
AnswerRe: Memory leak problem Pin
Eugen Podsypalnikov17-Dec-13 21:01
Eugen Podsypalnikov17-Dec-13 21:01 
QuestionHow to add OnClick event to Progress Bar Control Pin
blackbolek17-Dec-13 3:59
blackbolek17-Dec-13 3:59 
AnswerRe: How to add OnClick event to Progress Bar Control Pin
Maximilien17-Dec-13 4:20
Maximilien17-Dec-13 4:20 
GeneralRe: How to add OnClick event to Progress Bar Control Pin
blackbolek17-Dec-13 10:42
blackbolek17-Dec-13 10:42 
QuestionWin32 Custom GUI design Pin
maqubex16-Dec-13 14:31
maqubex16-Dec-13 14:31 
SuggestionRe: Win32 Custom GUI design Pin
Richard MacCutchan16-Dec-13 22:59
mveRichard MacCutchan16-Dec-13 22:59 
GeneralRe: Win32 Custom GUI design Pin
maqubex17-Dec-13 6:29
maqubex17-Dec-13 6:29 
GeneralRe: Win32 Custom GUI design Pin
Richard MacCutchan17-Dec-13 7:20
mveRichard MacCutchan17-Dec-13 7:20 
QuestionDisplay CDHtmlDialog app inside a Web Browser (IE) Pin
Don Guy16-Dec-13 13:58
Don Guy16-Dec-13 13:58 
GeneralRe: Display CDHtmlDialog app inside a Web Browser (IE) Pin
Richard MacCutchan16-Dec-13 23:45
mveRichard MacCutchan16-Dec-13 23:45 
QuestionC++ Programing with out header files Pin
Sadaf Rehman Najmi15-Dec-13 21:37
Sadaf Rehman Najmi15-Dec-13 21:37 
AnswerRe: C++ Programing with out header files Pin
Jochen Arndt15-Dec-13 22:01
professionalJochen Arndt15-Dec-13 22:01 
AnswerRe: C++ Programing with out header files Pin
Erudite_Eric15-Dec-13 22:14
Erudite_Eric15-Dec-13 22:14 
GeneralRe: C++ Programing with out header files Pin
Sadaf Rehman Najmi16-Dec-13 6:05
Sadaf Rehman Najmi16-Dec-13 6:05 
GeneralRe: C++ Programing with out header files Pin
CPallini16-Dec-13 9:13
mveCPallini16-Dec-13 9:13 
GeneralRe: C++ Programing with out header files Pin
Stefan_Lang16-Dec-13 21:36
Stefan_Lang16-Dec-13 21:36 
Don't you think that if it would be easier without header files, that millions of coders before you hadn't found out about that a long time ago?

The memorization isn't an issue: In C++ the usual way of organizing your code is that you use one header file for the declaration of each class, and one corresponding source file for the implementation of each class. You use the same base name for the header file and the source file, only the suffix is different!

Moreover, you normally use an integrated development environment (IDE), which helps you organize your program, much like a file explorer. It will help you jump from a given variable or type or class in your code directly to the location in your code where it's defined. You really don't need to memorize anything!

The application I work on has more than 3 million lines of code and consists of several thousand files - I don't even try to memorize where everything is! That is what the IDE does for me. And it works: If someone reports a bug I can usually locate the rough area of code where something goes awry within 10-20 minutes - even if I've never seen that code before!
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

AnswerRe: C++ Programing with out header files Pin
Stefan_Lang15-Dec-13 23:31
Stefan_Lang15-Dec-13 23:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.