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 { ... } ; ?
Did you know?Explore Trending and Topic pages for more stories like this.
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

Check Digits and extracting digits
I think I can figure out the code for this but I am having a very hard time getting past the first s

Line break?
Hi, I'm new to the forum and new to php. I'm not sure if I'm using the correct terminology so here i

ereg_replace()
Basically what i need to do is

$title = "This Suck's"

$striped = ereg_repl

Perplexing problem showing a .jpg
Please disregard..........I figured it out

extract content from a website
i have written a code that will grab the content from the index page..
i would like to know how c

UTL File problem
Hi
I have a file in certain path with the following permissions (The file is a dummy file witho

Backflush
I am looking for a report in SAP that would give me a list of all parts that are populated with a ba

Array becomes unset by itself?
Hi,

I have a bit of experience with PHP but not extensive. It seems I cannot store any items

background color imagefill
Hello

I would like to ask you why I see this square in red color just in my local xampp insta

Image resize
Hi again fellers

I managed to sort out the issues with the folder,

Final hurdle is th

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