Struct/union and scope problem!


Posted on 16th Feb 2014 07:03 pm by admin

HI all , I have
Code: in header.h typedef struct Node Link; /* -----------------------*/ in source.c struct Node { /* some stuff ; */ }; /* some more code here */ /*---------------------------------*/ in main.c Link p; /* do whatever ... */
so that Node definition is hidden from other modules.
But what if main.c has declaration struct Node { ... } ; ?
Link will become pointer to that Node ??

No comments posted yet

Your Answer:

Login to answer
254 Like 38 Dislike
Previous forums Next forums
Other forums

get url?
how do i get the url of the page i'm currently on, on my website.. i think its get header.. how do i

Captcha problem users just refresh and it will let them auto submit again
Users will just re submit and not have to enter the new captcha.. ? Lol but if i refresh the page, t

help with multi-update
Now sure how to ask this really....
10g database if that matters.

I have a customer

getting rid of quotes in strings
sick of trying to deal with them in multiple ways (entering in and taking from database, echoing, ec

Change Age automatically
hi guys . im new to php , is it possible to change age value in mysql automatically when year change

how to remove in php string display
My code is

$message="We're looking at developing our website.";

$body= "

Multi Level Array Problem
hi all,

For example I have array like below:

$temp = array(array('north america', 'us'

MASS PM
Hello all, I'm trying to send mass private messages to users in my database but keep getting an erro

Dealing with code in db query
I am dealing with C code and I need to make sure it is encoded some how to ensure its integrity and

I need desperate help with this php code integrated with flash please
Can someone please help me with this php code which I have been stuck on for weeks . I am trying to

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash