Click here to Skip to main content
15,891,513 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How do I load a 16x16 icon? Pin
Michael Dunn1-May-04 6:06
sitebuilderMichael Dunn1-May-04 6:06 
GeneralRe: How do I load a 16x16 icon? Pin
Barvus1-May-04 6:25
Barvus1-May-04 6:25 
GeneralRe: How do I load a 16x16 icon? Pin
Michael Dunn1-May-04 6:46
sitebuilderMichael Dunn1-May-04 6:46 
GeneralRe: How do I load a 16x16 icon? Pin
Barvus1-May-04 7:02
Barvus1-May-04 7:02 
GeneralRe: How do I load a 16x16 icon? Pin
f641-May-04 19:21
f641-May-04 19:21 
GeneralRe: How do I load a 16x16 icon? Pin
Barvus1-May-04 20:05
Barvus1-May-04 20:05 
GeneralRe: How do I load a 16x16 icon? Pin
f642-May-04 6:11
f642-May-04 6:11 
Questionwhy doesn't run well about string type in this way? Pin
vividtang1-May-04 2:15
vividtang1-May-04 2:15 
i want exercise iostream also support the file's input and output,so write the little program below,but after compile ,note"error C2065: 'String' : undeclared identifier",can you help me to solve it?
the program function is:read word from a text file named "in_file",and write every word into a output file named "out_file" .
#include<iostream.h>
#include<fstream.h>
#include<string.h>
int main()
{
ofstream outfile("out_file");
ifstream infile("password");
if(!infile)
{
cerr<<"error:unable to open input file!\n";
return -1;
}
if(!outfile)
{
cerr<<"error:unable to open output file!\n";
return -2;
}
String word;
while (infile>>word)
outfile<
AnswerRe: why doesn't run well about string type in this way? Pin
Jijo.Raj1-May-04 2:46
Jijo.Raj1-May-04 2:46 
GeneralRe: why doesn't run well about string type in this way? Pin
vividtang1-May-04 4:00
vividtang1-May-04 4:00 
AnswerRe: why doesn't run well about string type in this way? Pin
Michael Dunn1-May-04 6:12
sitebuilderMichael Dunn1-May-04 6:12 
GeneralPutting .Dll inside .Exe Pin
Opwar30-Apr-04 22:58
Opwar30-Apr-04 22:58 
GeneralRe: Putting .Dll inside .Exe Pin
Alexander M.,1-May-04 0:47
Alexander M.,1-May-04 0:47 
GeneralRe: Putting .Dll inside .Exe Pin
Opwar1-May-04 10:42
Opwar1-May-04 10:42 
GeneralRe: Putting .Dll inside .Exe Pin
Alexander M.,3-May-04 1:50
Alexander M.,3-May-04 1:50 
GeneralAccessing public variable Pin
Krugger40430-Apr-04 22:11
Krugger40430-Apr-04 22:11 
GeneralRe: Accessing public variable Pin
Ravi Bhavnani1-May-04 1:49
professionalRavi Bhavnani1-May-04 1:49 
QuestionHow to find the source application of a command Pin
Scozturk30-Apr-04 21:05
professionalScozturk30-Apr-04 21:05 
AnswerRe: How to find the source application of a command Pin
alex.barylski1-May-04 2:08
alex.barylski1-May-04 2:08 
GeneralTab Ctrl Customization Pin
Manish Sinha30-Apr-04 20:55
Manish Sinha30-Apr-04 20:55 
GeneralRe: Tab Ctrl Customization Pin
alex.barylski1-May-04 2:01
alex.barylski1-May-04 2:01 
GeneralWeb Browser Pin
Gem130-Apr-04 20:08
Gem130-Apr-04 20:08 
GeneralRe: Web Browser Pin
Krugger40430-Apr-04 22:15
Krugger40430-Apr-04 22:15 
GeneralRe: Web Browser Pin
alex.barylski1-May-04 1:59
alex.barylski1-May-04 1:59 
GeneralDisplaying a JPG in MFC Pin
toothless boots30-Apr-04 18:08
toothless boots30-Apr-04 18:08 

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.