Click here to Skip to main content
15,880,956 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem creating an array of "class" Pin
Richard MacCutchan8-Sep-22 5:38
mveRichard MacCutchan8-Sep-22 5:38 
GeneralRe: Problem creating an array of "class" Pin
Roberto64_Ge8-Sep-22 5:43
Roberto64_Ge8-Sep-22 5:43 
GeneralRe: Problem creating an array of "class" Pin
Roberto64_Ge8-Sep-22 5:37
Roberto64_Ge8-Sep-22 5:37 
GeneralRe: Problem creating an array of "class" Pin
Richard MacCutchan8-Sep-22 5:45
mveRichard MacCutchan8-Sep-22 5:45 
GeneralRe: Problem creating an array of "class" Pin
Roberto64_Ge8-Sep-22 8:04
Roberto64_Ge8-Sep-22 8:04 
GeneralRe: Problem creating an array of "class" Pin
Richard MacCutchan8-Sep-22 23:37
mveRichard MacCutchan8-Sep-22 23:37 
GeneralRe: Problem creating an array of "class" Pin
Roberto64_Ge9-Sep-22 10:30
Roberto64_Ge9-Sep-22 10:30 
GeneralRe: Problem creating an array of "class" Pin
Richard MacCutchan9-Sep-22 22:00
mveRichard MacCutchan9-Sep-22 22:00 
Roberto64_Ge wrote:
I am just starting with c++ in order to help my children in their school exercise.
Well, I am sorry to have to say this, but what you have created is not a good example of C++ code for them to follow. The two static methods cod and decod serve no purpose other than to call the actual methods of the anagrafica class. So they are totally redundant; you could call the codifica method direct from main. There are a number of other issues that look incorrect to me but I do not have time to teach you C++.
GeneralRe: Problem creating an array of "class" Pin
Roberto64_Ge10-Sep-22 0:34
Roberto64_Ge10-Sep-22 0:34 
GeneralRe: Problem creating an array of "class" Pin
Richard MacCutchan10-Sep-22 0:47
mveRichard MacCutchan10-Sep-22 0:47 
QuestionHow can do it in c++? Pin
Member 157580955-Sep-22 6:07
Member 157580955-Sep-22 6:07 
GeneralRe: How can do it in c++? Pin
Richard MacCutchan5-Sep-22 6:43
mveRichard MacCutchan5-Sep-22 6:43 
AnswerRe: How can do it in c++? Pin
Greg Utas5-Sep-22 6:44
professionalGreg Utas5-Sep-22 6:44 
QuestionRe: How can do it in c++? Pin
CPallini5-Sep-22 20:50
mveCPallini5-Sep-22 20:50 
QuestionMessage Closed Pin
4-Sep-22 5:28
Member 149687714-Sep-22 5:28 
AnswerRe: Combining QProcess, qterminal and bluetoothctl...in C++ code Pin
Mircea Neacsu4-Sep-22 6:05
Mircea Neacsu4-Sep-22 6:05 
GeneralMessage Closed Pin
4-Sep-22 6:38
Member 149687714-Sep-22 6:38 
GeneralRe: Combining QProcess, qterminal and bluetoothctl...in C++ code PinPopular
Gerry Schmitz4-Sep-22 8:21
mveGerry Schmitz4-Sep-22 8:21 
AnswerRe: Combining QProcess, qterminal and bluetoothctl...in C++ code Pin
Richard MacCutchan4-Sep-22 21:37
mveRichard MacCutchan4-Sep-22 21:37 
QuestionMessage Closed Pin
29-Aug-22 7:23
Member 1496877129-Aug-22 7:23 
AnswerRe: foreach - basic C++ question Pin
Victor Nijegorodov29-Aug-22 7:40
Victor Nijegorodov29-Aug-22 7:40 
AnswerRe: foreach - basic C++ question Pin
Maximilien29-Aug-22 8:23
Maximilien29-Aug-22 8:23 
AnswerRe: foreach - basic C++ question Pin
CPallini29-Aug-22 20:05
mveCPallini29-Aug-22 20:05 
GeneralMessage Closed Pin
30-Aug-22 3:11
Member 1496877130-Aug-22 3:11 
GeneralRe: foreach - basic C++ question Pin
CPallini30-Aug-22 3:16
mveCPallini30-Aug-22 3:16 

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.