Click here to Skip to main content
15,946,342 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
PinnedHOW TO ANSWER A QUESTION PinPopular
Chris Maunder12-Jul-09 22:37
cofounderChris Maunder12-Jul-09 22:37 
PinnedHOW TO ASK A QUESTION PinPopular
Chris Maunder12-Feb-09 17:19
cofounderChris Maunder12-Feb-09 17:19 
QuestionC++20 UNORDERED_MAP OBJECT WITH CLASS FUNCTIONS FROM DLL AS VALUE Pin
Oscar Kogosov 202322-Jul-24 20:37
Oscar Kogosov 202322-Jul-24 20:37 
AnswerRe: C++20 UNORDERED_MAP OBJECT WITH CLASS FUNCTIONS FROM DLL AS VALUE Pin
Richard MacCutchan23-Jul-24 0:48
mveRichard MacCutchan23-Jul-24 0:48 
GeneralRe: C++20 UNORDERED_MAP OBJECT WITH CLASS FUNCTIONS FROM DLL AS VALUE Pin
Oscar Kogosov 202320hrs 21mins ago
Oscar Kogosov 202320hrs 21mins ago 
GeneralRe: C++20 UNORDERED_MAP OBJECT WITH CLASS FUNCTIONS FROM DLL AS VALUE Pin
Richard MacCutchan20hrs 11mins ago
mveRichard MacCutchan20hrs 11mins ago 
GeneralRe: C++20 UNORDERED_MAP OBJECT WITH CLASS FUNCTIONS FROM DLL AS VALUE Pin
Oscar Kogosov 202320hrs ago
Oscar Kogosov 202320hrs ago 
GeneralRe: C++20 UNORDERED_MAP OBJECT WITH CLASS FUNCTIONS FROM DLL AS VALUE Pin
Richard MacCutchan19hrs 48mins ago
mveRichard MacCutchan19hrs 48mins ago 
QuestionglReadPixels wrong values Pin
etechX221-Jul-24 16:30
etechX221-Jul-24 16:30 
AnswerRe: glReadPixels wrong values Pin
Victor Nijegorodov21-Jul-24 19:53
Victor Nijegorodov21-Jul-24 19:53 
GeneralRe: glReadPixels wrong values Pin
etechX221-Jul-24 20:35
etechX221-Jul-24 20:35 
QuestionC program(homework) Pin
Member 1631107418-Jul-24 20:36
Member 1631107418-Jul-24 20:36 
AnswerRe: C program(homework) Pin
OriginalGriff18-Jul-24 20:37
mveOriginalGriff18-Jul-24 20:37 
GeneralRe: C program(homework) Pin
Member 1631107418-Jul-24 20:50
Member 1631107418-Jul-24 20:50 
GeneralRe: C program(homework) Pin
OriginalGriff18-Jul-24 20:59
mveOriginalGriff18-Jul-24 20:59 
GeneralRe: C program(homework) Pin
Member 1631107418-Jul-24 21:23
Member 1631107418-Jul-24 21:23 
GeneralRe: C program(homework) Pin
OriginalGriff18-Jul-24 21:38
mveOriginalGriff18-Jul-24 21:38 
GeneralRe: C program(homework) Pin
Member 1631107418-Jul-24 21:48
Member 1631107418-Jul-24 21:48 
GeneralRe: C program(homework) Pin
OriginalGriff19-Jul-24 1:17
mveOriginalGriff19-Jul-24 1:17 
GeneralRe: C program(homework) Pin
OriginalGriff19-Jul-24 1:21
mveOriginalGriff19-Jul-24 1:21 
SuggestionRe: C program(homework) Pin
David Crow19-Jul-24 4:56
David Crow19-Jul-24 4:56 
Member 16311074 wrote:
...not letting me enter my replacement string.
Try changing the size of searchStr and replaceStr to something too large (but still only enter 10 characters). When you make them just large enough and you enter in that many characters, fgets() leaves the \n in the keyboard buffer and the second call to fgets() see it and exits right away.

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles


GeneralRe: C program(homework) Pin
RedDk19-Jul-24 7:16
RedDk19-Jul-24 7:16 
GeneralRe: C program(homework) Pin
David Crow19-Jul-24 3:00
David Crow19-Jul-24 3:00 
QuestionHow to use QUERY_CHANGES_VIRTUAL_DISK_RANGE when HyperV backup Pin
DingHuaming17-Jul-24 18:39
DingHuaming17-Jul-24 18:39 
AnswerRe: How to use QUERY_CHANGES_VIRTUAL_DISK_RANGE when HyperV backup Pin
jschell18-Jul-24 14:24
jschell18-Jul-24 14:24 

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.