Click here to Skip to main content
15,947,389 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Deleted File Pin
recmisi13-Apr-09 16:33
recmisi13-Apr-09 16:33 
GeneralRe: Deleted File Pin
john563213-Apr-09 19:45
john563213-Apr-09 19:45 
AnswerRe: Deleted File Pin
Divyang Mithaiwala13-Apr-09 20:58
Divyang Mithaiwala13-Apr-09 20:58 
QuestionHow to cancel during serialization on CDocument Pin
Joseph Marzbani13-Apr-09 5:21
Joseph Marzbani13-Apr-09 5:21 
QuestionHow to cancel CDocument::Serialaize()? Pin
Joseph Marzbani13-Apr-09 5:17
Joseph Marzbani13-Apr-09 5:17 
QuestionQuestion on I/O stream and for loop Pin
Mohamed_Khalil13-Apr-09 2:02
Mohamed_Khalil13-Apr-09 2:02 
AnswerRe: Question on I/O stream and for loop Pin
Rajesh R Subramanian13-Apr-09 4:50
professionalRajesh R Subramanian13-Apr-09 4:50 
QuestionRe: Question on I/O stream and for loop Pin
David Crow13-Apr-09 5:08
David Crow13-Apr-09 5:08 
dr.nokia wrote:
in my project im reading input file from .txt

the file contains has two rows

first row contains A,B,C ans so on, in UPPER mode


Do you have something like:

std::ifstream fin;
fin.open("Letters.txt");
 
std::string strLine;
std::getline(fin, strLine);
std::replace(strLine.begin(), strLine.end(), ',', ' ');
 
std::stringstream ss(strLine);
std::vector<char> vecUpper;
std::copy(std::istream_iterator<char>(ss), std::istream_iterator<char>(), std::back_inserter(vecUpper));


"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons


QuestionCalling a VS2008 DLL from VS 6.0 dll Pin
rana ray13-Apr-09 0:43
rana ray13-Apr-09 0:43 
AnswerRe: Calling a VS2008 DLL from VS 6.0 dll Pin
_AnsHUMAN_ 13-Apr-09 1:10
_AnsHUMAN_ 13-Apr-09 1:10 
GeneralRe: Calling a VS2008 DLL from VS 6.0 dll Pin
Rajesh R Subramanian13-Apr-09 1:26
professionalRajesh R Subramanian13-Apr-09 1:26 
GeneralRe: Calling a VS2008 DLL from VS 6.0 dll Pin
_AnsHUMAN_ 13-Apr-09 1:34
_AnsHUMAN_ 13-Apr-09 1:34 
AnswerRe: Calling a VS2008 DLL from VS 6.0 dll Pin
Rajesh R Subramanian13-Apr-09 1:13
professionalRajesh R Subramanian13-Apr-09 1:13 
GeneralRe: Calling a VS2008 DLL from VS 6.0 dll Pin
Joe Woodbury13-Apr-09 11:58
professionalJoe Woodbury13-Apr-09 11:58 
GeneralRe: Calling a VS2008 DLL from VS 6.0 dll Pin
Rajesh R Subramanian13-Apr-09 21:15
professionalRajesh R Subramanian13-Apr-09 21:15 
AnswerRe: Calling a VS2008 DLL from VS 6.0 dll Pin
BinName13-Apr-09 16:29
BinName13-Apr-09 16:29 
QuestionRun c++ Pin
yesu prakash13-Apr-09 0:39
yesu prakash13-Apr-09 0:39 
AnswerRe: Run c++ Pin
Rajesh R Subramanian13-Apr-09 1:11
professionalRajesh R Subramanian13-Apr-09 1:11 
AnswerRe: Run c++ Pin
_AnsHUMAN_ 13-Apr-09 1:13
_AnsHUMAN_ 13-Apr-09 1:13 
GeneralRe: Run c++ Pin
dybs13-Apr-09 2:27
dybs13-Apr-09 2:27 
AnswerRe: Run c++ Pin
Hamid_RT13-Apr-09 3:04
Hamid_RT13-Apr-09 3:04 
Questiontwo dialog boxes in single application Pin
Rakesh512-Apr-09 23:51
Rakesh512-Apr-09 23:51 
AnswerRe: two dialog boxes in single application Pin
Rajesh R Subramanian12-Apr-09 23:53
professionalRajesh R Subramanian12-Apr-09 23:53 
AnswerRe: two dialog boxes in single application Pin
_AnsHUMAN_ 13-Apr-09 0:01
_AnsHUMAN_ 13-Apr-09 0:01 
AnswerRe: two dialog boxes in single application Pin
Hamid_RT13-Apr-09 3:05
Hamid_RT13-Apr-09 3:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.