avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] HowTo split a program into several files ?


From: Andy Warner
Subject: Re: [avr-chat] HowTo split a program into several files ?
Date: Mon, 12 Sep 2005 10:57:28 -0500
User-agent: Mutt/1.2.5i

Vincent Trouilliez wrote:
> [...]
> I just added an #include <lcd.c> at the top of main_prog.c, but gcc says
> "No such file or directory". I tried making the path it more explicit :
> #include <./lcd.c>, but still no joy.

Try #include "lcd.h"

There's a difference between <foo.h> and "foo.h" in #include
statements. Check the gcc info page for the gory details.
-- 
address@hidden

Andy Warner             Voice: (612) 801-8549   Fax: (208) 575-5634




reply via email to

[Prev in Thread] Current Thread [Next in Thread]