Click here to Skip to main content
15,891,033 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: How to remove type library informationn from atl dll? Pin
kcynic3-Dec-09 2:19
kcynic3-Dec-09 2:19 
News[Message Deleted] Pin
Ahmed Charfeddine4-Nov-09 2:07
Ahmed Charfeddine4-Nov-09 2:07 
AnswerRe: How do you profile your C++ code ? Pin
Richard MacCutchan4-Nov-09 3:11
mveRichard MacCutchan4-Nov-09 3:11 
AnswerRe: How do you profile your C++ code ? Pin
Ahmed Charfeddine4-Nov-09 3:19
Ahmed Charfeddine4-Nov-09 3:19 
GeneralRe: How do you profile your C++ code ? Pin
Richard MacCutchan4-Nov-09 4:55
mveRichard MacCutchan4-Nov-09 4:55 
GeneralRe: How do you profile your C++ code ? Pin
Ahmed Charfeddine4-Nov-09 5:06
Ahmed Charfeddine4-Nov-09 5:06 
QuestionBitmap image in static control is flicker Pin
am 20093-Nov-09 22:15
am 20093-Nov-09 22:15 
Questionstd::copy question [modified] Pin
followait3-Nov-09 14:33
followait3-Nov-09 14:33 
#include <algorithm>
#include <fstream>
#include <sstream>

int main()
{
	std::fstream fs("d:/test.txt");
	std::stringstream ss;
	ss << "hello" << std::endl;
	std::copy(std::istream_iterator<char>(ss),
		std::istream_iterator<char>(),
		std::ostream_iterator<char>(fs));
	fs.close();
	return 0;
}


The code not work, I have some questions:
1. What does this mean: std::istream_iterator<char>() ?
2. Is the position of the stream iterator depent on the current postion of the stream itselft?
Thanks.
3. How to make the code work?

modified on Wednesday, November 4, 2009 9:13 AM

AnswerRe: std::copy question Pin
Stuart Dootson3-Nov-09 23:40
professionalStuart Dootson3-Nov-09 23:40 
GeneralRe: std::copy question Pin
followait4-Nov-09 3:17
followait4-Nov-09 3:17 
QuestionHow to use WTL8 Wizard in VC6.0 ? Pin
wangningyu1-Nov-09 4:11
wangningyu1-Nov-09 4:11 
AnswerRe: How to use WTL8 Wizard in VC6.0 ? Pin
Stuart Dootson2-Nov-09 21:23
professionalStuart Dootson2-Nov-09 21:23 
GeneralRe: How to use WTL8 Wizard in VC6.0 ? Pin
wangningyu3-Nov-09 3:42
wangningyu3-Nov-09 3:42 
QuestionFiring a COM Event From Another Thread Pin
Rob Caldecott29-Oct-09 10:50
Rob Caldecott29-Oct-09 10:50 
AnswerRe: Firing a COM Event From Another Thread Pin
Lim Bio Liong1-Nov-09 23:53
Lim Bio Liong1-Nov-09 23:53 
AnswerRe: Firing a COM Event From Another Thread Pin
Roger Stoltz2-Nov-09 5:43
Roger Stoltz2-Nov-09 5:43 
AnswerRe: Firing a COM Event From Another Thread Pin
Lim Bio Liong2-Nov-09 18:50
Lim Bio Liong2-Nov-09 18:50 
QuestionCOM Instantiation. Pin
mh@markhoscik.plus.com29-Oct-09 4:50
mh@markhoscik.plus.com29-Oct-09 4:50 
QuestionHow to implement drived Interface using ATL? Pin
kcynic20-Oct-09 17:10
kcynic20-Oct-09 17:10 
AnswerRe: How to implement drived Interface using ATL? Pin
«_Superman_»21-Oct-09 11:47
professional«_Superman_»21-Oct-09 11:47 
GeneralRe: How to implement drived Interface using ATL? Pin
kcynic22-Oct-09 0:41
kcynic22-Oct-09 0:41 
GeneralRe: How to implement drived Interface using ATL? Pin
Lim Bio Liong4-Nov-09 18:30
Lim Bio Liong4-Nov-09 18:30 
GeneralRe: How to implement drived Interface using ATL? Pin
kcynic4-Nov-09 18:47
kcynic4-Nov-09 18:47 
GeneralRe: How to implement drived Interface using ATL? Pin
Lim Bio Liong4-Nov-09 18:50
Lim Bio Liong4-Nov-09 18:50 
GeneralRe: How to implement drived Interface using ATL? Pin
kcynic4-Nov-09 18:58
kcynic4-Nov-09 18:58 

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.