| | |
help to work on structures..
![]() |
•
•
Join Date: Nov 2008
Posts: 90
Reputation:
Solved Threads: 8
I am getting problem to work with the structures..I am works on DBMS project in c languge . I wanted to use multiple structures without the use of the pointers but unable to use it as:
so plz tell me the problem with it.Thanks in advance.
C Syntax (Toggle Plain Text)
struct File1 { ----- ----- }f1; struct FILE { --- --- struct File1 ; }
Last edited by ajay.krish123; Jul 3rd, 2009 at 8:12 am.
Your usage is incorrect.You can use it as :
You can also use the same thing above as this :
For more details have a look at this.
c Syntax (Toggle Plain Text)
struct File1 { //Your structure definition }; struct FILE { //Your other members struct File1 f1;//Here File1 acts as a abstract data type };
You can also use the same thing above as this :
c Syntax (Toggle Plain Text)
struct File1 { //Your structure definition }f1; struct FILE { //Your other members f1;//Here use f1 directly };
For more details have a look at this.
Last edited by csurfer; Jul 3rd, 2009 at 8:24 am.
I Surf in "C"....
![]() |
Similar Threads
- Need 2 techies for tech-support, work from home (Tech / IT Consultant Job Offers)
- Help with preg_match (PHP)
- Structures, external files, and functions (C)
- Data Structures (C)
- modifying the same member of many objects (C++)
- Why Data Structures???...QUESTIONS INSIDE (C++)
Other Threads in the C Forum
- Previous Thread: please hlep ()
- Next Thread: adding from 0 to a number that will be entered by the user .
| Thread Tools | Search this Thread |
* adobe ansi api array asterisks binarysearch calculate centimeter char character cm convert copyanyfile copyimagefile copypdffile cprogramme createcopyoffile createprocess() csyntax directory feet fflush fgets file floatingpointvalidation fork frequency function givemetehcodez global graphics gtkgcurlcompiling gtkwinlinux hacking highest homework i/o inches infiniteloop interest intmain() iso keyboard kilometer km linked linkedlist linux linuxsegmentationfault list locate lowest match meter microsoft mqqueue mysql number oddnumber odf open opendocumentformat openwebfoundation owf pattern pdf performance posix power probleminc program programming pyramidusingturboccodes read recv recvblocked repetition reversing scanf scheduling segmentationfault send single socketprograming socketprogramming stack standard string suggestions systemcall unix urboc user variable voidmain() wab whythiscodecausesegmentationfault win32api windows.h





