Talk About Network

Google





Programming > C - C++ Learning > Re: how to use ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 7 Topic 4069 of 4400
Post > Topic >>

Re: how to use float in array of structure

by Richard Heathfield <rjh@[EMAIL PROTECTED] > Mar 14, 2008 at 08:22 AM

juned2285@[EMAIL PROTECTED]
 said:

> while writing these codes, i face an error
>  struct st
> {
> char name[30];
> float per;
> }s[5];
> 
> when i use this structure, compiler gives the linking error.
> so how can i remove this error.

There's nothing wrong with the code you've posted. Your error is not in
the 
code that you have shown, but in the code that you have not shown.

-- 
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www.
+rjh@[EMAIL PROTECTED]
 users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
 




 7 Posts in Topic:
how to use float in array of structure
juned2285@[EMAIL PROTECTE  2008-03-14 00:23:56 
Re: how to use float in array of structure
Richard Heathfield <rj  2008-03-14 08:22:24 
Re: how to use float in array of structure
Bart van Ingen Schenau &l  2008-03-14 22:38:56 
Re: how to use float in array of structure
juned2285@[EMAIL PROTECTE  2008-03-14 22:16:18 
Re: how to use float in array of structure
Richard Heathfield <rj  2008-03-15 07:22:48 
Re: how to use float in array of structure
"Jim Langston"   2008-03-15 00:51:20 
Re: how to use float in array of structure
Richard Heathfield <rj  2008-03-15 07:58:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 9:35:06 PST 2009.