Thread: pseudocode for multiple source files

  1. #1
    Registered User
    Join Date
    Dec 2005
    german border

    pseudocode for multiple source files


    I need to write the deign for a program which I am writing for a school project. I am using qt4 for the gui so there will be around 3-4 source files. This is my first time writing a design for a program which consists of more than one file and I am unsure as to how I should structure it. Should the pseudocode reflect the gui, as in 'this button will perform this function' or should it reflect the structure of the source files which will be very different from the layout of the gui obviously. How do all you experienced programmers do it? :P


    P.S: I was unsure which board to post this in, I apologize if I picked the wrong one.

  2. #2
    Registered User
    Join Date
    Nov 2007
    Please clarify who wanna write the pseudo code or make a design for a program ?

  3. #3
    Fear the Reaper...
    Join Date
    Aug 2005
    Toronto, Ontario, Canada
    I don't think there's a unique answer to this question, different programmers have different design methodologies, and each one has their pros and cons.

    That being said, here are some design patterns that you should probably have a look at (and I say that because they are my personnal favorites, not necessarily out of certainty that they will help you) :
    Observer pattern
    Command pattern
    Teacher: "You connect with Internet Explorer, but what is your browser? You know, Yahoo, Webcrawler...?" It's great to see the educational system moving in the right direction

  4. #4
    Registered User
    Join Date
    Dec 2005
    german border
    It's me who is writing/designing this program. Thanks for the links, I'll have a look. I thought there was a set method to writing designs but choosing your own is great and should be easier.

  5. #5
    Kernel hacker
    Join Date
    Jul 2007
    Farncombe, Surrey, England
    There may also be a pseudo-code standard at your school (or workplace) which you should apply. There is no formal definitions of pseudo-code [the words themselves means "false code", but perhaps a better translation is "not genuine code" - for example, you can have complex types in pseudo-code in a language that has no complex types].

    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 10
    Last Post: 06-04-2009, 08:45 PM
  2. Mutex across multiple source files
    By Quasar in forum Linux Programming
    Replies: 7
    Last Post: 12-04-2007, 07:25 AM
  3. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  4. Beginner Question: Multiple source files
    By ironfistchamp in forum C++ Programming
    Replies: 8
    Last Post: 07-16-2006, 02:19 PM
  5. Linker errors - Multiple Source files
    By nkhambal in forum C Programming
    Replies: 3
    Last Post: 04-24-2005, 02:41 AM
Website Security Test