Request for flowchart or pseudocode!!

This is a discussion on Request for flowchart or pseudocode!! within the C# Programming forums, part of the General Programming Boards category; Contact Management System has become important part of an organisation operations or individual life. It helps the organisation to stay ...

  1. #1
    Registered User
    Join Date
    Jan 2013
    Posts
    1

    Request for flowchart or pseudocode!!

    Contact Management System has become important part of an organisation operations or individual life. It helps the organisation to stay on top by ensuring the efficiency of the organisation business through managing their contacts and lead whereas for individual, it helps them to keep in touch with their friends and families.

    You are required to develop a system to manage your personal or company contacts. The system should be able to add new contact, delete or modify existing contacts and view the contact details after searching.

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,438
    Pseudocode:

    Code:
    switch
        user inserted new contact
            add new contact
        user deleted contact
            delete contact
        user modified contact
            modify contact
        user requests contact view
            show contact
    end switch
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #3
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139
    Please note that we have a homework policy. You may get useful answers if you show some effort on your end. We will help you with specific problems you encounter while doing your homework, we will not do it for you.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  4. #4
    Registered User
    Join Date
    Jun 2003
    Posts
    129
    You missed out the most important case:

    Code:
    switch
        user inserted new contact
            add new contact
        user deleted contact
            delete contact
        user modified contact
            modify contact
        user requests contact view
            show contact
        user requests ban
            banhammer
    end switch
    He who asks is a fool for five minutes, but he who does not ask remains a fool forever.

    The fool wonders, the wise man asks. - Benjamin Disraeli

    There are no foolish questions and no man becomes a fool until he has stopped asking questions. Charles Steinmetz

  5. #5
    Registered User cstryx's Avatar
    Join Date
    Jan 2013
    Location
    Canada
    Posts
    48
    This is pretty simple, look into Generic collections. List<T> is a good class that has both Add and Remove methods along with the ability to modify existing collections. You'll probably want to create your own class of company contacts. In there, provide properties for the name, last name, ID's, whatever... Then make a List of that user defined type to deal with. This is basic class stuff and collections.

    I once created my own Flowchart kind of diagram in GDI to look and function somewhat the same as IDA Pro's call hierarchy graph/view.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help with flowchart.
    By blur606 in forum C Programming
    Replies: 8
    Last Post: 11-12-2012, 07:14 AM
  2. Flowchart to Pseudocode Convert
    By mrexp21 in forum C++ Programming
    Replies: 1
    Last Post: 05-25-2012, 01:49 AM
  3. Flowchart help
    By MstrKurt in forum C Programming
    Replies: 8
    Last Post: 01-17-2012, 12:23 AM
  4. Need help with flowchart
    By moey187 in forum C++ Programming
    Replies: 2
    Last Post: 04-14-2011, 04:25 AM
  5. flowchart. Help!!!
    By chema124 in forum C Programming
    Replies: 3
    Last Post: 12-10-2002, 09:00 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21