Click here to Skip to main content
15,911,039 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Two functions send arguments to a single function. Pin
David Crow23-Jan-08 2:48
David Crow23-Jan-08 2:48 
QuestionMenu bar problem Pin
trioum22-Jan-08 22:58
trioum22-Jan-08 22:58 
GeneralRe: Menu bar problem Pin
KarstenK23-Jan-08 1:16
mveKarstenK23-Jan-08 1:16 
GeneralRe: Menu bar problem Pin
Nitheesh George23-Jan-08 23:05
Nitheesh George23-Jan-08 23:05 
QuestionATL CImage class issue Pin
Antonyemac22-Jan-08 22:30
Antonyemac22-Jan-08 22:30 
GeneralRe: ATL CImage class issue Pin
Mark Salsbery23-Jan-08 6:42
Mark Salsbery23-Jan-08 6:42 
Questionhow to save a file? Pin
gentleguy22-Jan-08 22:27
gentleguy22-Jan-08 22:27 
AnswerRe: how to save a file? Pin
CPallini22-Jan-08 22:58
mveCPallini22-Jan-08 22:58 
GeneralRe: how to save a file? Pin
gentleguy23-Jan-08 1:32
gentleguy23-Jan-08 1:32 
GeneralRe: how to save a file? Pin
CPallini23-Jan-08 2:10
mveCPallini23-Jan-08 2:10 
GeneralRe: how to save a file? Pin
gentleguy23-Jan-08 2:16
gentleguy23-Jan-08 2:16 
GeneralRe: how to save a file? Pin
CPallini23-Jan-08 2:20
mveCPallini23-Jan-08 2:20 
GeneralRe: how to save a file? Pin
gentleguy23-Jan-08 19:46
gentleguy23-Jan-08 19:46 
GeneralRe: how to save a file? Pin
CPallini23-Jan-08 21:04
mveCPallini23-Jan-08 21:04 
GeneralRe: how to save a file? Pin
gentleguy23-Jan-08 21:05
gentleguy23-Jan-08 21:05 
QuestionRe: how to save a file? Pin
CPallini23-Jan-08 21:12
mveCPallini23-Jan-08 21:12 
GeneralRe: how to save a file? Pin
gentleguy24-Jan-08 0:22
gentleguy24-Jan-08 0:22 
GeneralRe: how to save a file? Pin
CPallini24-Jan-08 0:49
mveCPallini24-Jan-08 0:49 
GeneralRe: how to save a file? Pin
gentleguy24-Jan-08 1:32
gentleguy24-Jan-08 1:32 
QuestionRe: how to save a file? Pin
CPallini24-Jan-08 1:54
mveCPallini24-Jan-08 1:54 
QuestionRe: how to save a file? Pin
David Crow23-Jan-08 2:44
David Crow23-Jan-08 2:44 
Generalstd::fstream and std::transform about lower case question Pin
Maxwell Chen22-Jan-08 19:16
Maxwell Chen22-Jan-08 19:16 
GeneralProblem is solved. Pin
Maxwell Chen22-Jan-08 19:34
Maxwell Chen22-Jan-08 19:34 
GeneralRe: std::fstream and std::transform about lower case question Pin
Stephen Hewitt22-Jan-08 19:44
Stephen Hewitt22-Jan-08 19:44 
This worked for me:
// VanillaConsole.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <iostream>
#include <iterator>
#include <algorithm>
 
int main(int argc, char* argv[])
{
	using namespace std;
 
	cin >> noskipws;
 
	istream_iterator<char> isi(cin);
	istream_iterator<char> isi_end;
	ostream_iterator<char> osi(cout);
 
	transform(isi, isi_end, osi, ::tolower);
 
	return 0;
}


Steve

GeneralRe: std::fstream and std::transform about lower case question Pin
Maxwell Chen23-Jan-08 16:09
Maxwell Chen23-Jan-08 16:09 

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.