Click here to Skip to main content
15,904,935 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Which file is internet option saved in? Pin
ray_li6-Oct-03 6:59
ray_li6-Oct-03 6:59 
GeneralRe: Which file is internet option saved in? Pin
David Crow6-Oct-03 7:28
David Crow6-Oct-03 7:28 
GeneralOpen File Pin
Anonymous6-Oct-03 2:39
Anonymous6-Oct-03 2:39 
GeneralRe: Open File Pin
David Crow6-Oct-03 3:01
David Crow6-Oct-03 3:01 
GeneralRe: Open File Pin
Anonymous6-Oct-03 3:06
Anonymous6-Oct-03 3:06 
GeneralRe: Open File Pin
Anonymous6-Oct-03 3:08
Anonymous6-Oct-03 3:08 
GeneralRe: Open File Pin
David Crow6-Oct-03 3:26
David Crow6-Oct-03 3:26 
GeneralRe: Open File Pin
Anonymous6-Oct-03 4:10
Anonymous6-Oct-03 4:10 
I added header <string> to support string.
My modified code:
string account, gallons;
while(!inpf.eof())
{inpf.get(account, 15, ' ');
inpf.get(gallons, 15, ' '); }
When I compile I get this error:
"'class std::basic_istream<char,struct std::char_traits<char=""> > &__thiscall std::basic_istream<char,struct std::char_traits<char=""> >::get(char *,int,char)' : cannot co
nvert parameter 1 from 'class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> >' to 'char *'
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called"
Any idea why? I am a new to C++
GeneralRe: Open File Pin
jhwurmbach6-Oct-03 4:25
jhwurmbach6-Oct-03 4:25 
Generalc praogramms to disabling CTRL ALT Del keys in windows 2000 Pin
AzNain6-Oct-03 1:17
sussAzNain6-Oct-03 1:17 
GeneralRe: c praogramms to disabling CTRL ALT Del keys in windows 2000 Pin
Rickard Andersson206-Oct-03 1:31
Rickard Andersson206-Oct-03 1:31 
GeneralRe: c praogramms to disabling CTRL ALT Del keys in windows 2000 Pin
David Crow6-Oct-03 3:02
David Crow6-Oct-03 3:02 
GeneralDrop-down menu in a ComboBox Pin
Rickard Andersson206-Oct-03 0:55
Rickard Andersson206-Oct-03 0:55 
GeneralRe: Drop-down menu in a ComboBox Pin
Anand Paranjpe6-Oct-03 1:37
Anand Paranjpe6-Oct-03 1:37 
GeneralRe: Drop-down menu in a ComboBox Pin
Roger Allen6-Oct-03 5:04
Roger Allen6-Oct-03 5:04 
GeneralAttach debugger programatically Pin
jmkhael6-Oct-03 0:46
jmkhael6-Oct-03 0:46 
GeneralRe: Attach debugger programatically Pin
Duncan Edwards Jones6-Oct-03 1:27
professionalDuncan Edwards Jones6-Oct-03 1:27 
GeneralRe: Attach debugger programatically Pin
jmkhael6-Oct-03 2:25
jmkhael6-Oct-03 2:25 
GeneralRe: Attach debugger programatically Pin
Steve S6-Oct-03 3:13
Steve S6-Oct-03 3:13 
GeneralRe: Attach debugger programatically Pin
jmkhael6-Oct-03 3:41
jmkhael6-Oct-03 3:41 
GeneralRe: Attach debugger programatically Pin
Mike Dimmick6-Oct-03 4:41
Mike Dimmick6-Oct-03 4:41 
GeneralRe: Attach debugger programatically Pin
Steve S6-Oct-03 5:01
Steve S6-Oct-03 5:01 
GeneralWindow + Dialog Pin
HeiniBlad6-Oct-03 0:20
HeiniBlad6-Oct-03 0:20 
QuestionHow better to create html help to created MFC project ? Pin
vgrigor6-Oct-03 0:17
vgrigor6-Oct-03 0:17 
AnswerRe: How better to create html help to created MFC project ? Pin
KaЯl6-Oct-03 3:14
KaЯl6-Oct-03 3:14 

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.