anybody here who could teach me how..or the function on printing an output file in linked list..
louise07 -4 Newbie Poster
Recommended Answers
Jump to PostStill too vague. Printing is system dependent, and sometimes hardware dependent. You can try opening a file to "LPT1", or "PRN", and pray that it works. Otherwise, tell us your OS and compiler so that we can give you more specific help.
Jump to PostTry my first suggestion. It's vastly simpler than the Win32 option. Since you're using a dinosaur compiler, you might also have stdprn available. For example:
#include <stdio.h> for ( it = head; it != NULL; it = it->next ) fprintf ( stdprn, "%d\n", it->data );
All 6 Replies
Lerner 582 Nearly a Posting Maven
louise07 -4 Newbie Poster
Narue 5,707 Bad Cop Team Colleague
louise07 -4 Newbie Poster
Narue 5,707 Bad Cop Team Colleague
louise07 -4 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.