Nuno Carvalho wrote:
> > This sounds like the problem which was discussed a couple of weeks
> > back in the thread entitled `Compiler problem?'. The file which calls
> > main_menu needs to have
>
> But it wasn't the same "problem" !
It was.
> CyberPsychotic was using global variables and I'm mine was for
> sending variables as argument to a function!
According to your previous post:
: My problem is that when I call main_menu(client, idiom)(menus.c) from
: bbs.c(main file) and send idiom char array as second argument, main_menu()
: function get garbage on idiom variable and so don't get my string !:(((
the argument (idiom) was an external global variable, which was
assumed to be a `char *' when it was actually a `char []'.
--
Glynn Clements <[EMAIL PROTECTED]>