Click here to Skip to main content
15,892,059 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: WTL - Dockable ToolBar Pin
Ed Gadziemski14-Nov-02 10:32
professionalEd Gadziemski14-Nov-02 10:32 
GeneralRe: WTL - Dockable ToolBar Pin
Member 6784515-Nov-02 2:48
Member 6784515-Nov-02 2:48 
GeneralRe: WTL - Dockable ToolBar Pin
Ed Gadziemski15-Nov-02 7:28
professionalEd Gadziemski15-Nov-02 7:28 
GeneralSearching STL Map Inside STL Map Object :: C++ Pin
valikac13-Nov-02 11:21
valikac13-Nov-02 11:21 
GeneralRe: Searching STL Map Inside STL Map Object :: C++ Pin
Joaquín M López Muñoz13-Nov-02 11:27
Joaquín M López Muñoz13-Nov-02 11:27 
GeneralRe: Searching STL Map Inside STL Map Object :: C++ Pin
valikac13-Nov-02 12:16
valikac13-Nov-02 12:16 
QuestionHow to output STL string into a file Pin
Michael Liu12-Nov-02 10:22
Michael Liu12-Nov-02 10:22 
AnswerRe: How to output STL string into a file Pin
Christian Graus12-Nov-02 10:26
protectorChristian Graus12-Nov-02 10:26 
You're using C++ to output to the console, and C to output to the file. Use iostreams instead.

#include <iostream>
#include <fstream>
#include <string>

using std::string;
using std::ofstream;

...

string s("This is a test of the veracity of my system");
ofstream op("c:\\test.txt");
op << s;
// can call op.close(), but the destructor does it anyhow.


Christian

No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002

Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002

During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
QuestionMFC dependencies... how to get rid of 'em? Pin
LukeV12-Nov-02 7:33
LukeV12-Nov-02 7:33 
AnswerRe: MFC dependencies... how to get rid of 'em? Pin
Tim Smith12-Nov-02 7:47
Tim Smith12-Nov-02 7:47 
GeneralRe: MFC dependencies... how to get rid of 'em? Pin
LukeV12-Nov-02 7:50
LukeV12-Nov-02 7:50 
GeneralRe: MFC dependencies... how to get rid of 'em? Pin
LukeV12-Nov-02 8:01
LukeV12-Nov-02 8:01 
GeneralRe: MFC dependencies... how to get rid of 'em? Pin
Tim Smith12-Nov-02 9:34
Tim Smith12-Nov-02 9:34 
Generalpassing a pointer around Pin
Jose Cruz8-Nov-02 4:19
Jose Cruz8-Nov-02 4:19 
GeneralRe: passing a pointer around Pin
valikac10-Nov-02 5:44
valikac10-Nov-02 5:44 
GeneralRe: passing a pointer around Pin
Jose Cruz11-Nov-02 6:08
Jose Cruz11-Nov-02 6:08 
Generalstl map in a DLL... Pin
Matt Gullett7-Nov-02 2:13
Matt Gullett7-Nov-02 2:13 
GeneralRe: stl map in a DLL... Pin
[James Pullicino]7-Nov-02 3:25
[James Pullicino]7-Nov-02 3:25 
GeneralRe: stl map in a DLL... Pin
Matt Gullett7-Nov-02 3:51
Matt Gullett7-Nov-02 3:51 
GeneralRe: stl map in a DLL... Pin
Tim Smith7-Nov-02 3:59
Tim Smith7-Nov-02 3:59 
GeneralRe: stl map in a DLL... Pin
[James Pullicino]7-Nov-02 22:01
[James Pullicino]7-Nov-02 22:01 
GeneralRe: stl map in a DLL... Pin
Alexandru Savescu7-Nov-02 3:39
Alexandru Savescu7-Nov-02 3:39 
GeneralRe: stl map in a DLL... Pin
Matt Gullett7-Nov-02 3:48
Matt Gullett7-Nov-02 3:48 
GeneralRe: stl map in a DLL... Pin
Alexandru Savescu7-Nov-02 3:51
Alexandru Savescu7-Nov-02 3:51 
GeneralRe: stl map in a DLL... Pin
Joaquín M López Muñoz7-Nov-02 8:34
Joaquín M López Muñoz7-Nov-02 8:34 

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.