View Single Post
  #8   Spotlight this post!  
Unread 07-01-2008, 03:02
TimCraig TimCraig is offline
Registered User
AKA: Tim Craig
no team
 
Join Date: Aug 2004
Rookie Year: 2003
Location: San Jose, CA
Posts: 221
TimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to behold
Re: How to use the data obtain in one C file to another C file?

Quote:
Originally Posted by tommy_chai View Post
I don't know how to link multiple C files because i have just started my C programming 1 month ago.
What tools are you using to compile and link your code? I'm curious as to why you're working on such a compliacated problem if you're so inexperienced at C programming? It seems like you need to get through a lot more simple examples before tackling something as complicated as computer vision.

Quote:
Originally Posted by tommy_chai View Post
Code:
typedef struct
{int x,y,info,dx,dy,I;} CORNER_LIST[15000];
This is pretty ugly and potentially not that useful. I think most people would approach it more along the lines of:

Code:
typedef struct
   {
   int x;
   int y;
   int info;
   int dx;
   int dy;
   int I;
   } CORNER;
.
.
.
CORNER corner_list[15,000];