Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to save a link list to file

Status
Not open for further replies.

asemnor

Junior Member level 3
Junior Member level 3
Joined
Mar 8, 2005
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,509
I am writing an application program in C++ to check inventory.
My main problem is how to save the link list to file.Please help!!
 

Very easy

typdef struct
{
char data1 ;
char data2;
....
} mylist ;


mylist listbuf[NOOF_LISTS];

yourstorefunction(char* liststart_pointer, int length)


invoke your function as

yourstorefuntion(listbuf, sizeof(mylist) * NOOF_LISTS);

store everything byte by byte starting from from
first byte of listbuf record .
 

i think inventory should make use of database system for better data management.

you can try free database software: mysql.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top