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

phpMailer will not connect using SMTP
I am trying to use phpMailer with smtp:

Code: [Select]$mailer = new PHPMailer();
$mailer-&

Bar charts using Graphical Framework.
I am using Graphical Frameworks(GFW) to create a chart Graphic . There is no problem with the data d

i have no idea why this isn't working
Code: <?php
session_start();
include("connect.php");

error_reporting(E

How can I get my program to read a larger array ??
Hi:

I have this program that reads from an array to do calculations. The array are just t

Material Issuing for receiving batch
Dear All experts in MM/ PP,

Material issuing from main stores to factory is currently usi

Creating an invoice
Using fpdf I am trying to create an invoice to send to clients. The products are sold in pricing tie

Multiple Dropdown Selections
I have a form that let's a user insert a page with the ability to select categories. I want them to

Date Format
Hi there,

I have a date format like this right now:
Sat, 17 Oct 2009 17:04:00

I ne

Accept only alpha characters
I've got this bit of code ready for accepting a phrase:

Code: if (!eregi ("", $_POS

Problem with "dynamic" index page
Hi. I have one question. In my index.php page I have this kind of code:
Code: // listaa sivut

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