Click here to Skip to main content
15,884,473 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question[C++] Where to find coding examples and exercises? Pin
den2k881-Apr-20 22:53
professionalden2k881-Apr-20 22:53 
AnswerRe: [C++] Where to find coding examples and exercises? Pin
Richard MacCutchan1-Apr-20 23:55
mveRichard MacCutchan1-Apr-20 23:55 
GeneralRe: [C++] Where to find coding examples and exercises? Pin
den2k881-Apr-20 23:58
professionalden2k881-Apr-20 23:58 
GeneralRe: [C++] Where to find coding examples and exercises? Pin
Richard MacCutchan2-Apr-20 0:15
mveRichard MacCutchan2-Apr-20 0:15 
AnswerRe: [C++] Where to find coding examples and exercises? Pin
CPallini2-Apr-20 2:14
mveCPallini2-Apr-20 2:14 
GeneralRe: [C++] Where to find coding examples and exercises? Pin
David Crow2-Apr-20 4:45
David Crow2-Apr-20 4:45 
GeneralRe: [C++] Where to find coding examples and exercises? Pin
k50542-Apr-20 6:24
mvek50542-Apr-20 6:24 
AnswerRe: [C++] Where to find coding examples and exercises? Pin
leon de boer2-Apr-20 5:20
leon de boer2-Apr-20 5:20 
Personally you are doing it all backwards you give new graduates the company programming rules and guidelines and tell them what happens if they submit junk that doesn't conform ... which usually involves buying rounds of beers.

They will have a pile of bad habits and completely unacceptable risks they picked up at uni and thought was cool and some are just dam lazy.

Then you get them to try and write a simple program that conforms and discuss the errors and violations they will without doubt submit.

Trust me there will be as many different coding styles as you have graduates and somehow you have to get them all to be able to read each others code as well as you. You aren't trying to stifle thinking and coding imagination but you need to get them on the same pages with standards.

As for examples... Rosetta Code has hundreds
Category:C - Rosetta Code[^]
In vino veritas


modified 2-Apr-20 11:27am.

GeneralRe: [C++] Where to find coding examples and exercises? Pin
den2k882-Apr-20 6:16
professionalden2k882-Apr-20 6:16 
GeneralRe: [C++] Where to find coding examples and exercises? Pin
Richard MacCutchan2-Apr-20 6:44
mveRichard MacCutchan2-Apr-20 6:44 
GeneralRe: [C++] Where to find coding examples and exercises? Pin
den2k882-Apr-20 6:49
professionalden2k882-Apr-20 6:49 
QuestionTCHAR vs built in char Pin
Calin Negru1-Apr-20 22:52
Calin Negru1-Apr-20 22:52 
AnswerRe: TCHAR vs built in char Pin
den2k881-Apr-20 22:57
professionalden2k881-Apr-20 22:57 
GeneralRe: TCHAR vs built in char Pin
Richard MacCutchan1-Apr-20 23:50
mveRichard MacCutchan1-Apr-20 23:50 
GeneralRe: TCHAR vs built in char Pin
den2k881-Apr-20 23:55
professionalden2k881-Apr-20 23:55 
GeneralRe: TCHAR vs built in char Pin
kalberts2-Apr-20 11:20
kalberts2-Apr-20 11:20 
GeneralRe: TCHAR vs built in char Pin
den2k882-Apr-20 21:15
professionalden2k882-Apr-20 21:15 
AnswerRe: TCHAR vs built in char Pin
leon de boer2-Apr-20 4:50
leon de boer2-Apr-20 4:50 
GeneralRe: TCHAR vs built in char Pin
Calin Negru2-Apr-20 5:54
Calin Negru2-Apr-20 5:54 
QuestionThanks for a new feature Pin
Anthony Appleyard31-Mar-20 4:14
Anthony Appleyard31-Mar-20 4:14 
AnswerRe: Thanks for a new feature Pin
Richard MacCutchan31-Mar-20 4:33
mveRichard MacCutchan31-Mar-20 4:33 
GeneralRe: Thanks for a new feature Pin
ZurdoDev1-Apr-20 3:59
professionalZurdoDev1-Apr-20 3:59 
AnswerRe: Thanks for a new feature Pin
ZurdoDev1-Apr-20 3:59
professionalZurdoDev1-Apr-20 3:59 
QuestionGetting 2203 error while doing silent installation of MSI Pin
Vijay53330-Mar-20 3:34
Vijay53330-Mar-20 3:34 
AnswerRe: Getting 2203 error while doing silent installation of MSI Pin
Richard MacCutchan30-Mar-20 3:36
mveRichard MacCutchan30-Mar-20 3:36 

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.