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

Display search result
Hi!

I have a SQL database with information about albums and track (music).

This is wh

do while...woes
I'm sure this is childsplay but it is stumping me, everytime i try what I think would make this work

subtract 1 from value entered in text field
Hi

How do I subtract 1 from the vaue entered into a text field?

Thanks

Only add new information from XML to MySQL
What I am doing, is taking a xml file, and adding the values to a database. However, what I want to

need a script for 3 pages
I have a customer who wants me to set up a site with a number of pages with the following requiremen

Production Order Enterprise Service to Manufacturing Exctn Sys (MES) ???
Hello Experts,

In our current landscape SAP ECC 5.0 is integrated to MES system via PI 7.

simple php table loop
Hi all,

I've the following code

<?php // Create category options

str_replace help
Hey there,

I'm a PHP newb, I'm having troubles with the str_replace function. I want to clean

Problems with returning true or false in eval()'d code
Hi guys,

Would appreciate some help with a problem when running eval() on a function that sho

Need help: how to catch acess of undefined class properties
Hello. I am learning OO with PHP and have hit a problem.
Some code runs as perfectly valid code,

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