Thread: Problem defining structure

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    Code:
    int main()
    {
    	// ...
    	LINKED_LINE* line;
    	unsigned long line = 0, col = 0;
    In the above code, you have 2 variables declared right next to each other. Both variables are named line. Also, your editor.c file is not including linked-line.h.
    bit∙hub [bit-huhb] n. A source and destination for information.

  2. #2
    Registered User
    Join Date
    Aug 2009
    Posts
    198
    Quote Originally Posted by bithub View Post
    Code:
    int main()
    {
    	// ...
    	LINKED_LINE* line;
    	unsigned long line = 0, col = 0;
    In the above code, you have 2 variables declared right next to each other. Both variables are named line. Also, your editor.c file is not including linked-line.h.
    Didn't help.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. problem getting structure to work in my function
    By Tom Bombadil in forum C Programming
    Replies: 18
    Last Post: 05-28-2009, 09:53 AM
  2. Structure problem
    By lolguy in forum C Programming
    Replies: 4
    Last Post: 12-18-2008, 10:32 PM
  3. Problem with arrays inside a structure
    By babu in forum C Programming
    Replies: 4
    Last Post: 07-12-2007, 09:35 AM
  4. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  5. Problem checking for numeric value in a structure
    By ronkane in forum C++ Programming
    Replies: 4
    Last Post: 01-20-2002, 02:53 PM