Click here to Skip to main content
15,946,320 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 
Prepare the following strings in advance as an array. Be sure to write everything in full-width characters.
"The difference between being 18 and 81. 18 years old is the one who drowns in love, 81 years old is the one who drowns in the bath. 18 years old is the one who runs down the road, and vice versa.
The person running is 81 years old. An 18-year-old has a fragile heart, and an 81-year-old has a fragile bone. I'm 18 years old and my heart can't stop pounding.
He is 81 years old and can't stop the plane. An 18-year-old can choke on love, and an 81-year-old can choke on rice cakes. I'm concerned about the deviation value
I am 18 years old, and I am 81 years old and concerned about my blood pressure and blood sugar levels. An 18-year-old who doesn't know anything yet, an 81-year-old who doesn't remember anything anymore.
An 18-year-old who is looking for himself, and an 81-year-old who is looking for everyone else. "
- Then have the user enter a search string. Search characters can be up to 10 characters.
・Then, have the user enter a replacement string. Replacement characters can be up to 10 characters.
- Perform a prefix match search on the above string and replace all hit strings.
- After replacing, output the result to the screen. If there are no conversion candidates, "Nothing to convert" is displayed.(if the searched string is in more than 1 place on the original string, the replacement will replace all of it)

Community Verified icon

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 
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.