LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-17-2009, 01:43 PM   #1
linux_chris
LQ Newbie
 
Registered: Dec 2008
Posts: 18

Rep: Reputation: 0
What is the equivalent of CArchive and CMemFile in linux?


Hi, I am porting a VC++ project into Linux GCC. I am facing issues with CArchive and CMemFile. I have replaced CArchive with fstream. But what is the alternative and how can I implement CMemFile in Linux?.

Thanks in Advance,
-Chris
 
Old 02-18-2009, 06:58 PM   #2
servat78
Member
 
Registered: Jan 2009
Posts: 100

Rep: Reputation: 17
You could try mmap (memory mapping) for mapping files and devices into memory. I never used it myself, but AFAIK it is the nearest match in UNIX-land to CMemFile.

Debian

Last edited by servat78; 02-19-2009 at 11:35 AM.
 
Old 02-25-2009, 01:31 PM   #3
linux_chris
LQ Newbie
 
Registered: Dec 2008
Posts: 18

Original Poster
Rep: Reputation: 0
Hi Servat78,
I got the sameple code from

http://www.linuxquestions.org/questi...ial-cc-511265/

Thanks
Chris
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A linux equivalent to Locate32? spacejesus Linux - Software 5 12-13-2009 02:07 PM
MP3DirectCut, Linux equivalent? arubin Linux - Software 3 05-18-2008 05:17 AM
Quickbooks equivalent in linux sailu_mvn Linux - Software 3 11-28-2005 09:41 AM
truss(1) equivalent in Linux ? ashishva Programming 1 06-13-2003 06:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration