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.
How do you find a needle in a haystack when you don't even know what the needle looks like?
That's the problem today's enterprises face in trying to spot advanced targeted cyber attacks. These attacks don't match known attack signatures, because hackers have custom created them to infiltrate your network and steal your data.
Big Data Security Analytics uses Big Data techniques to sift through mountains of data to identify the suspicious things you should focus on.
In this program, Gartner Distinguished …
Live Event Date: April 8, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT
Great mobile apps make it easy to login using Facebook, collaborate and share things with others. It's nice to receive timely notifications and messages on your mobile devices when important events occur. And being able to continue your experience across all of your devices from your phone, to your tablet, and to your PC, is a great feature of robust and successful mobile apps. These capabilities are enabled by backend services, web APIs and cloud …