When I wrote my first article on CodeGuru,
Expandable, Data Type-Neutral Buffer Class,
I realized that there are lot of people seeking the code
for a circular file.
Hence, I developed my own circular file implementation, and want
to share this. Its interface is very simple. Everything basically
revolves around the Addline(CString) method which you use to
add a line at a time to the current file.
//Create New File with Name "default Log" with 100 Lines
//Create File with Name strFile Name But 100 lines
CCirFile(char * strFileName);
//You can specify file Name and File Size
CCirFile(char * ,int );
//All file initialization here
//You should call this function to add new line at start of file
int AddLine( CString );
It's not a true circular file implementation.
It adds each new line to the beginning of the file,
and moves the remaining lines, truncating the last line
It's slow and performance could be dramatically increased via
the use of multiple threads.
As mobile devices have pushed their way into the enterprise, they have brought cloud apps along with them.
This app explosion means account passwords are multiplying, which exposes corporate data and leads to help desk calls from frustrated users.
This paper will discover how IT can improve user productivity, gain visibility and control over SaaS and mobile apps, and stop password sprawl.
Download this white paper to learn:
How you can leverage your existing AD to manage app access.
Key capabilities to …
Java developers know that testing code changes can be a huge pain, and waiting for an application to redeploy after a code fix can take an eternity. Wouldn't it be great if you could see your code changes immediately, fine-tune, debug, explore and deploy code without waiting for ages?
In this white paper, find out how that's possible with a Java plugin that drastically changes the way you develop, test and run Java applications. Discover the advantages of this plugin, and the changes you can expect to see …