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

Packet Design
Hi All,
Im new about network programming and I want to design a protocol but I have some question

xml element exists
Code: [Select]<?xml version="1.0"?>
<Addresses>
<

Match stored value with the current value in a loop
Hello,

I have a MySQL db were I store articles in.

I have a form to fill these article

Default TimeZone
The server I'm working with is hosted in America so all times inserted into the database are coming

Mastering Regular Expressions, Third Edition, is available.
The Third Edition of Mastering Regular Expressions is available.

QuoteThis third edition is 5

mails going in spam??
The mails I sent to folks in my database using mail(function) are going in spam??

Any idea ho

Multidimensional $_POST
Hello

How to get a single array from array of array (2 - dimension).
For example I have a

PHP form authentication
Hi guys,

what am trying to achieve is this: Whenever a user tries to login to my website, an

User input in to variable
Hi all,

I'm sure this is very easy but I'm having another brain freeze!

At the end of

How to change www in url with a specified name
Hi
I'm trying to change the url http://www.sitename.com/apparels to something like below
http:

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