Thread: Structure charts?

  1. #1
    Registered User
    Join Date
    Nov 2003
    Posts
    5

    Structure charts?

    Hey could someone help me with a stucture chart for a program i have? I would be very grateful, if so please contact me on aim at
    bigdavestar

    I can offer a membership for my upcoming webdesign site as a reward Thankyou.

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >if so please contact me on aim
    This is a forum, if you want help it can be provided here. If you're too lazy to come back and check for replies then you clearly don't want our help that badly.

    >I can offer a membership for my upcoming webdesign site as a reward
    ...
    My best code is written with the delete key.

  3. #3
    Registered User
    Join Date
    Nov 2003
    Posts
    5

    hmm

    Im not to lazy to come back here, i figured it would be easier if someone could contact me on IM rather than a long drawn out thread. And the webdesign membership was just a little something in return for someones time, thats all.

    My problem is this, i have a program and i need to do a structure chart for it, what exactly is a structure chart? Is it like a data flow diagram with things like....

    Input password > checks password agaisnt file > grants access

    How detailed do i need to go? Example of code....

    Code:
    int main()
    {
    int student[5][3];
    char grade[5];
    for (int m=0; m<5; m++)
    {
    	cout << "\n\nEnter grade for Coursework (student " << (m+1) << "): ";
    	cin >> student[m][0];
    	cout << "Enter grade for Written Examination (student " << (m+1) << "):";
    	cin >> student[m][1];
    	student[m][2] = student[m][0] + student[m][1];
    	
    	if ( (student[m][2] <= 100) && (student[m][2] >= 70) )
    		grade[m] = 'A';
    	if ( (student[m][2] <= 69) && (student[m][2] >= 50) )
    		grade[m] = 'B';
    	if ( (student[m][2] <= 49) && (student[m][2] >= 40) )
    		grade[m] = 'C';
    	if ( (student[m][2] <= 39) && (student[m][2] >= 0) )
    		grade[m] = 'F';
    So if someone could provide me with their idea of a structure chart for that snippet i could probably do the rest.

    Thanks.

  4. #4
    unleashed alphaoide's Avatar
    Join Date
    Sep 2003
    Posts
    696
    This is what I had for my old course. I never have to do it any longer. For detailed, complete requirement, inquire the one who assigns it to you, I suppose.
    http://jsigar.ecs.fullerton.edu/pizza_structure.doc
    source: compsci textbooks, cboard.cprogramming.com, world wide web, common sense

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem referencing structure elements by pointer
    By trillianjedi in forum C Programming
    Replies: 19
    Last Post: 06-13-2008, 05:46 PM
  2. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  3. Serial Communications in C
    By ExDigit in forum Windows Programming
    Replies: 7
    Last Post: 01-09-2002, 10:52 AM
  4. C structure within structure problem, need help
    By Unregistered in forum C Programming
    Replies: 5
    Last Post: 11-30-2001, 05:48 PM
  5. Structure Charts
    By bigtamscot in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 09-20-2001, 06:14 AM