Jump to content

Request to see some professional C++ code

- - - - -

  • Please log in to reply
3 replies to this topic

#1
Duane01

Duane01

    Newbie

  • Members
  • Pip
  • 9 posts
Hey all!

Let me first start by saying that I'm not sure if this is the right place for me to be posting this. What I would like to see is some code from a professional programmer.

I've been programming a little for 3years in my education and it's what I hope to be doing professionally some day, so I want to know what to expect at that standard. I understand people can't just post the whole source code of some big project for ovbious reasons, just some nice snippets :)

#2
gregwarner

gregwarner

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 853 posts
  • Location:Arkansas
What type of programs are you wanting to look at? OS's? Compilers? DB's?

I would suggest taking a look at some GPL or Open Source code, since this is freely available online, and is maintained by a community of professionals, meaning you will be able to find some excellent code that adheres well to best known practices, instead of just seeing one person's style. If you're interested in operating systems, check out the Linux kernel. (Although this is actually C, not C++. Still, it's good to have a strong foundation in C before tackling C++) If you're interested in server software, I'd recommend taking a look at Apache or MySQL, as those are both excellent programs. If you have any more specific types of programs you're looking for, feel free to mention them here and I'm sure somebody could name an open source project that could be what you're looking for.
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.

– Douglas Hofstadter, Gödel, Escher, Bach: An Eternal Golden Braid


#3
Duane01

Duane01

    Newbie

  • Members
  • Pip
  • 9 posts
As of yet I have no real preference to be honest, I just want to see professional standard code in C++ to know where I stand. As I say there is nothing specific, of course games programming would be kool but being realistic I don't think I should get my hopes up of getting into that. I just really enjoy the programming in general.

I will take a look at the sites you have mentioned when I have time tomorrow, my uncle is also in IT and has reccommended look at MySQL and QT.

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
sourceforge.net has TONS of source code available on it. You could also look at the source for various Mozilla products, OpenOffice.org, etc.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users