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

writing a screen scraper
Hello,

I'm writing a screen scraper application and want to be able to get absolute addresses

using variables in another page
I have a test database set up on localhost. I have a form that I can type a name into, hit the butto

import table with dependency
Hi

What is the best way to import table back which has dependency?

SQL> cre

Convert Binary String to Decimal
Trying to Get:
Decimal: 305419896

Out of:
Binary String: xV4

PHP File Upload Problem
Hi, I have written a very simple file upload script but it fails for reasons I can't explain. Hope

FTP issues
Hi all,


I am currently facing some serious problems with a script and really need some ad

PHP Captcha Error help - replace the "die" command
Hi All,

I am after a bit of help with a Captcha spam protection box.

The site gave me

Problem with DB connection
Hello there! I'm new to this forum and I'm new to PHP coding also. I wrote something that doesn't ma

login to other site by sending post variables
hey,

here is my problem: my school gave me a mail account for school-stuff use. they mail us

Google Wave
So... has anyone used it yet? Is it any good?

http://wave.google.com/help/wave/about.html#vid

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