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

Need some ideas as to how to go about sorting this array...
Here's how the array's are created..

Code: <?php
while ($x = readdir($dp)) {

How can use this array as a key?
Say I have this array for example:


print_r($array);

Prints:
Code: [Select]Array

rdns with php
I am trying to build a script that will show all of the different domains that are hosted on the sam

timed header image rotation
I have a joomla site and I was trying to setup a rotating image based on timing NOT just refreshing

server trace logs
could any one tell me from where do i get error logs in xMII??I want to check the reason for dtabase

Table Control
Hi Guru's,

I've created a Module pool program, which contains the Table Control.

what does this mean? +=
is anyone able to explain what this code is saying?

i had it written for me awhile back and n

Array to string conversion
Can anyone help me with this?

Notice: Array to string conversion in /home/..../index.php on l

start new row of pictures
on my site www.budstreasureauctions.com there is a featured auctions box that users will pay to get

HeaderSelectedCssClass not working
I have an accordian where I have a drop down list in the first pane and a grid in the second pane.

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