Click here to Skip to main content
15,901,283 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Should this work in C++? Pin
Maximilien19-Dec-23 5:11
Maximilien19-Dec-23 5:11 
QuestionC++ memory freeing Pin
mike741116-Dec-23 3:04
mike741116-Dec-23 3:04 
AnswerRe: C++ memory freeing Pin
Richard MacCutchan16-Dec-23 3:21
mveRichard MacCutchan16-Dec-23 3:21 
AnswerRe: C++ memory freeing Pin
Mircea Neacsu16-Dec-23 3:21
Mircea Neacsu16-Dec-23 3:21 
GeneralRe: C++ memory freeing Pin
Daniel Pfeffer21-Dec-23 9:41
professionalDaniel Pfeffer21-Dec-23 9:41 
GeneralRe: C++ memory freeing Pin
Mircea Neacsu21-Dec-23 15:26
Mircea Neacsu21-Dec-23 15:26 
AnswerRe: C++ memory freeing Pin
jschell18-Dec-23 5:30
jschell18-Dec-23 5:30 
GeneralRe: C++ memory freeing Pin
k505418-Dec-23 6:14
mvek505418-Dec-23 6:14 
QuestionFinding the Parent Process Pin
Richard Andrew x6415-Dec-23 8:21
professionalRichard Andrew x6415-Dec-23 8:21 
AnswerRe: Finding the Parent Process Pin
Gerry Schmitz15-Dec-23 8:32
mveGerry Schmitz15-Dec-23 8:32 
GeneralRe: Finding the Parent Process Pin
Richard Andrew x6415-Dec-23 8:47
professionalRichard Andrew x6415-Dec-23 8:47 
GeneralRe: Finding the Parent Process Pin
Gerry Schmitz15-Dec-23 12:36
mveGerry Schmitz15-Dec-23 12:36 
GeneralRe: Finding the Parent Process Pin
Richard Andrew x6415-Dec-23 12:41
professionalRichard Andrew x6415-Dec-23 12:41 
SuggestionRe: Finding the Parent Process Pin
David Crow15-Dec-23 10:53
David Crow15-Dec-23 10:53 
GeneralRe: Finding the Parent Process Pin
Richard Andrew x6415-Dec-23 11:00
professionalRichard Andrew x6415-Dec-23 11:00 
GeneralRe: Finding the Parent Process Pin
jschell18-Dec-23 5:43
jschell18-Dec-23 5:43 
AnswerRe: Finding the Parent Process Pin
jschell18-Dec-23 5:46
jschell18-Dec-23 5:46 
GeneralRe: Finding the Parent Process Pin
Richard Andrew x6418-Dec-23 6:23
professionalRichard Andrew x6418-Dec-23 6:23 
Questionlinker cannot find shared library... Pin
Salvatore Terress12-Dec-23 6:49
Salvatore Terress12-Dec-23 6:49 
AnswerRe: linker cannot find shared library... Pin
k505412-Dec-23 9:13
mvek505412-Dec-23 9:13 
GeneralRe: linker cannot find shared library... Pin
Salvatore Terress12-Dec-23 17:32
Salvatore Terress12-Dec-23 17:32 
GeneralRe: linker cannot find shared library... Pin
Richard MacCutchan12-Dec-23 22:03
mveRichard MacCutchan12-Dec-23 22:03 
GeneralRe: linker cannot find shared library... Pin
k505413-Dec-23 5:32
mvek505413-Dec-23 5:32 
Actually, it does make sense. For example, suppose I have /usr/local/project/lib/libfoo.so When I compile I use
g++ project.c -L /usr/local/project/lib -l foo -o project
That will compile just fine, the compiler knows to look in /usr/local/project/lib to find the shared library to do its magic to create an executable. Unless I've told the link-loader to check /usr/local/projec/lib, when I try to run it I'll get the message about not being able to find the library.
"A little song, a little dance, a little seltzer down your pants"
Chuckles the clown

GeneralRe: linker cannot find shared library... Pin
Richard MacCutchan13-Dec-23 5:58
mveRichard MacCutchan13-Dec-23 5:58 
AnswerRe: linker cannot find shared library... Pin
jschell13-Dec-23 3:47
jschell13-Dec-23 3:47 

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.