Thread: Matrix of Strings

  1. #1
    Registered User
    Join Date
    Dec 2011

    Matrix of Strings

    Write a program for handling and using time table for a student.
    a. Define a matrix of strings “table[hour][day]” that its elements are strings representing the subjects` lectures given on that dayand hour. Initialize the table by a function.
    b. Define void function that updates the table with the appropriate subject lectures.
    c. Define void function that returns the subject given in a specified date in the table.
    d. Define void function that returns the “free hours” of the student in a week. That is the hours when no lectures in theweek timetable.
    e. Write a program: Input data from keyboard and print the time table. Next print in a list all the “free hours” in a week.
    Comment: Use C Library functions: strcpy and strcmp.

    Please, if somebody can help me...

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Join Date
    Dec 2007
    No luck here, so thought you'd see if anyone here would do your homework for you?

  4. #4
    Registered User
    Join Date
    Nov 2011
    Saratoga, California, USA
    Quote Originally Posted by Dime3 View Post
    c. Define void function that returns ...
    d. Define void function that returns ...
    This I'd like to see.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 6
    Last Post: 05-14-2011, 09:28 AM
  2. adjacency matrix and sparse matrix
    By dpp in forum C Programming
    Replies: 3
    Last Post: 07-11-2010, 10:26 AM
  3. Need help in Matrix Addition & finding Inverse of a Matrix
    By ssatyan.129 in forum C Programming
    Replies: 6
    Last Post: 05-15-2009, 02:48 PM
  4. Matrix: Reloaded + Enter The Matrix (the game)
    By LuckY in forum A Brief History of
    Replies: 10
    Last Post: 04-18-2003, 12:35 AM
  5. strings and matrix
    By ipe in forum C Programming
    Replies: 9
    Last Post: 01-03-2003, 08:53 AM