Click here to Skip to main content
15,847,653 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Working with a service, how to debug? Instant memory fault Pin
Randor 9-Jul-23 10:51
professional Randor 9-Jul-23 10:51 
GeneralRe: Working with a service, how to debug? Instant memory fault Pin
charlieg10-Jul-23 3:13
charlieg10-Jul-23 3:13 
GeneralRe: Working with a service, how to debug? Instant memory fault Pin
charlieg12-Jul-23 1:48
charlieg12-Jul-23 1:48 
GeneralRe: Working with a service, how to debug? Instant memory fault Pin
jschell12-Jul-23 6:28
jschell12-Jul-23 6:28 
GeneralRe: Working with a service, how to debug? Instant memory fault Pin
charlieg12-Jul-23 8:51
charlieg12-Jul-23 8:51 
AnswerRe: Working with a service, how to debug? Instant memory fault Pin
jschell10-Jul-23 4:44
jschell10-Jul-23 4:44 
GeneralRe: Working with a service, how to debug? Instant memory fault Pin
charlieg12-Jul-23 0:31
charlieg12-Jul-23 0:31 
Questionworking with C++ includes and examining header files used in LLVM Pin
ngochuyen binhhoa5-Jul-23 17:53
ngochuyen binhhoa5-Jul-23 17:53 
Recently, I have been working with C++ includes and while examining those used in LLVM, I came across several H header files that caught my attention. I noticed that they were not templated and contained both declarations and definitions with code. To my surprise, I found that these header files were included in multiple CPP source files. Although they only define classes, I am concerned that this may result in code bloat since each source file must generate the binary for each class implementation. In my own work, I prefer to place the implementation of any non-templated class in its own CPP source file and let the linker handle it. I consider this to be essential. However, since the writers of LLVM are undoubtedly more knowledgeable, experienced, clever, and intelligent than I am, I wonder if there is something that I do not understand. Thank you.

QuestionRe: working with C++ includes and examining header files used in LLVM Pin
CPallini5-Jul-23 22:43
mveCPallini5-Jul-23 22:43 
AnswerRe: working with C++ includes and examining header files used in LLVM Pin
Richard MacCutchan5-Jul-23 22:48
mveRichard MacCutchan5-Jul-23 22:48 
GeneralRe: working with C++ includes and examining header files used in LLVM Pin
jschell6-Jul-23 6:25
jschell6-Jul-23 6:25 
GeneralRe: working with C++ includes and examining header files used in LLVM Pin
Richard MacCutchan6-Jul-23 6:35
mveRichard MacCutchan6-Jul-23 6:35 
QuestionBoolean gates. Part 2 Pin
Calin Negru5-Jul-23 5:17
Calin Negru5-Jul-23 5:17 
AnswerRe: Boolean gates. Part 2 Pin
Mircea Neacsu5-Jul-23 5:36
Mircea Neacsu5-Jul-23 5:36 
GeneralRe: Boolean gates. Part 2 Pin
jeron15-Jul-23 5:52
jeron15-Jul-23 5:52 
AnswerRe: Boolean gates. Part 2 Pin
trønderen5-Jul-23 6:10
trønderen5-Jul-23 6:10 
GeneralRe: Boolean gates. Part 2 Pin
harold aptroot5-Jul-23 7:31
harold aptroot5-Jul-23 7:31 
GeneralRe: Boolean gates. Part 2 Pin
Calin Negru5-Jul-23 9:02
Calin Negru5-Jul-23 9:02 
GeneralRe: Boolean gates. Part 2 Pin
harold aptroot5-Jul-23 11:09
harold aptroot5-Jul-23 11:09 
GeneralRe: Boolean gates. Part 2 Pin
Calin Negru6-Jul-23 0:33
Calin Negru6-Jul-23 0:33 
AnswerRe: Boolean gates. Part 2 Pin
PIEBALDconsult5-Jul-23 8:11
mvePIEBALDconsult5-Jul-23 8:11 
AnswerRe: Boolean gates. Part 2 Pin
CPallini5-Jul-23 21:35
mveCPallini5-Jul-23 21:35 
GeneralRe: Boolean gates. Part 2 Pin
Calin Negru7-Jul-23 1:36
Calin Negru7-Jul-23 1:36 
QuestionArduino Switch Case. Pin
glennPattonWork330-Jun-23 4:46
professionalglennPattonWork330-Jun-23 4:46 
AnswerRe: Arduino Switch Case. Pin
jeron130-Jun-23 5:19
jeron130-Jun-23 5:19 

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.