Click here to Skip to main content
14,772,690 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Large project how to seprate definition and declaration? Pin
Hassan Syed114-Jun-16 21:34
MemberHassan Syed114-Jun-16 21:34 
GeneralRe: Large project how to seprate definition and declaration? Pin
leon de boer15-Jun-16 4:53
Memberleon de boer15-Jun-16 4:53 
GeneralRe: Large project how to seprate definition and declaration? Pin
Hassan Syed115-Jun-16 5:32
MemberHassan Syed115-Jun-16 5:32 
GeneralRe: Large project how to seprate definition and declaration? Pin
leon de boer15-Jun-16 7:21
Memberleon de boer15-Jun-16 7:21 
GeneralRe: Large project how to seprate definition and declaration? Pin
Hassan Syed115-Jun-16 8:01
MemberHassan Syed115-Jun-16 8:01 
GeneralRe: Large project how to seprate definition and declaration? Pin
leon de boer15-Jun-16 9:04
Memberleon de boer15-Jun-16 9:04 
GeneralRe: Large project how to seprate definition and declaration? Pin
Hassan Syed115-Jun-16 9:48
MemberHassan Syed115-Jun-16 9:48 
GeneralRe: Large project how to seprate definition and declaration? Pin
leon de boer15-Jun-16 21:00
Memberleon de boer15-Jun-16 21:00 
correct on all counts, you have correctly identified that the standard makes the code much more easily readable and helps you identify errors. I enforce the standards at our company and I therefore never write without using that standard. The standard we use is essentially an extension of C99 or sometimes called ANSI-C standard and is used heavily in the sector I work, which is embedded programming.

Companies in the game market you are looking at tend to use C++ (UNREAL GAME ENGINE etc) or C# (UNITY GAME ENGINE) and there standard may differ slightly as the majority of the code won't be C compliant, and they have other pressures for readability. So generally in large companies you will be expected to write to a standard and there will usually be a process to check code into the active repository.

So while learning coding try and have your own standard but just remember you may have to adapt when you are employed. The company is not going to rewrite an entire repository to your standard even if you could argue it was better. So my standard is not the "absolute best" it's just a standard I would generally have to write to at work.
In vino veritas

QuestionGlut errors with Mingw on windows Pin
Ratul Thakur11-Jun-16 8:03
MemberRatul Thakur11-Jun-16 8:03 
AnswerRe: Glut errors with Mingw on windows Pin
Ratul Thakur11-Jun-16 21:02
MemberRatul Thakur11-Jun-16 21:02 
GeneralRe: Glut errors with Mingw on windows Pin
leon de boer11-Jun-16 23:59
Memberleon de boer11-Jun-16 23:59 
GeneralRe: Glut errors with Mingw on windows Pin
Ratul Thakur12-Jun-16 0:59
MemberRatul Thakur12-Jun-16 0:59 
QuestionWhy no boundry condition set for C++ Pin
Hassan Syed111-Jun-16 5:52
MemberHassan Syed111-Jun-16 5:52 
AnswerRe: Why no boundry condition set for C++ PinPopular
Richard MacCutchan11-Jun-16 6:08
mveRichard MacCutchan11-Jun-16 6:08 
GeneralRe: Why no boundry condition set for C++ Pin
Hassan Syed111-Jun-16 6:27
MemberHassan Syed111-Jun-16 6:27 
AnswerRe: Why no boundry condition set for C++ Pin
Patrice T11-Jun-16 7:02
mvePatrice T11-Jun-16 7:02 
AnswerRe: Why no boundry condition set for C++ Pin
leon de boer11-Jun-16 23:53
Memberleon de boer11-Jun-16 23:53 
AnswerRe: Why no boundry condition set for C++ Pin
enhzflep14-Jun-16 2:34
Memberenhzflep14-Jun-16 2:34 
AnswerRe: Why no boundry condition set for C++ Pin
Maximilien14-Jun-16 11:25
MemberMaximilien14-Jun-16 11:25 
QuestionConverting Fortran source to C++ Source Pin
manoharbalu9-Jun-16 2:58
Membermanoharbalu9-Jun-16 2:58 
AnswerRe: Converting Fortran source to C++ Source Pin
Jochen Arndt9-Jun-16 3:30
professionalJochen Arndt9-Jun-16 3:30 
GeneralRe: Converting Fortran source to C++ Source Pin
manoharbalu9-Jun-16 3:52
Membermanoharbalu9-Jun-16 3:52 
GeneralRe: Converting Fortran source to C++ Source Pin
Jochen Arndt9-Jun-16 4:27
professionalJochen Arndt9-Jun-16 4:27 
GeneralRe: Converting Fortran source to C++ Source Pin
manoharbalu9-Jun-16 4:36
Membermanoharbalu9-Jun-16 4:36 
GeneralRe: Converting Fortran source to C++ Source Pin
Jochen Arndt9-Jun-16 4:54
professionalJochen Arndt9-Jun-16 4:54 

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.