C++ Reading a .txt file

In C++, I am attempting to read several fields for a text file into my program. I was told I could use the code below to fetch the c-sting variable housed in the middle of the .txt file. I am having no luck getting the cin.get() to work in the middle of the code.

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button. This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon.
The tool is part of…

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it.
My software Visual Studio 2008 crystal report v11
My issue was I wanted to add crystal report to a form and show…

This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel.
Part 1 of this series discussed basic error handling code using VBA.
http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…