Click here to Skip to main content
15,904,156 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 
AnswerRe: C++ Programing with out header files Pin
Stefan_Lang15-Dec-13 23:31
Stefan_Lang15-Dec-13 23:31 
As suggested above, yes you can.

However, it's entirely pointless to do so! Include files help you organize your program in managable chunks, and let you use preexisting libraries, including all system functions. Likewise, if your program itself provides useful functions, you can put your function declarations into a header file so others can use it too.

Which begs the question: why are you even asking?
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)

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.