Thread: Input output with structures

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Apr 2004
    Posts
    26
    Hi quzah!

    I forgot to tell you how I fixed this problem. I put tag name inside and I think it works fine now. My compiler doesn't point at that spot anymore.

    This is what I did:

    Code:
    struct date reordDate;
    I hope that it is OK.

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Quote Originally Posted by barim
    Hi quzah!

    I forgot to tell you how I fixed this problem. I put tag name inside and I think it works fine now. My compiler doesn't point at that spot anymore.

    This is what I did:

    Code:
    struct date reordDate;
    I hope that it is OK.
    That's perfect. That's what it wanted you to do. I assumed that 'recordDate' was the actual name of the structure, and you'd left out the instance name. Apparently you had it the other way around. Same end result though.

    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need some help with C program writing
    By The_PC_Gamer in forum C Programming
    Replies: 9
    Last Post: 02-12-2008, 09:12 PM
  2. Can we input negative numbers in the output windiw
    By hitesh1511 in forum C Programming
    Replies: 1
    Last Post: 08-22-2006, 12:07 AM
  3. Input & Output Explain?
    By 98dodgeneondohc in forum C Programming
    Replies: 5
    Last Post: 04-24-2005, 06:13 PM
  4. Nested Structures - User Input
    By shazg2000 in forum C Programming
    Replies: 2
    Last Post: 01-09-2005, 10:53 AM
  5. Output problems with structures
    By Gkitty in forum C Programming
    Replies: 1
    Last Post: 12-16-2002, 05:27 AM