| | |
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 api array arrays binarysearch calculate centimeter char cm convert copyanyfile copypdffile cprogramme createcopyoffile createprocess() csyntax directory dynamic feet fflush file floatingpointvalidation fork forloop frequency getlasterror givemetehcodez global graphics gtkgcurlcompiling hacking highest homework i/o inches incrementoperators intmain() iso kernel kilometer km linked linkedlist linux linuxsegmentationfault list locate logical_drives loopinsideloop. match matrix microsoft mqqueue mysql oddnumber odf open opendocumentformat openwebfoundation owf pattern pdf performance pointer posix power probleminc program programming pyramidusingturboccodes read recursion recv recvblocked repetition research scanf scheduling segmentationfault send shape single socketprograming socketprogramming stack standard strchr string suggestions systemcall test unix urboc user variable voidmain() wab whythiscodecausesegmentationfault win32api windows.h





