Click here to Skip to main content
15,905,232 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I need AIR & I'm pulling my hair out over Random doubles within a specified range Pin
Dominik Reichl26-Jun-03 7:50
Dominik Reichl26-Jun-03 7:50 
GeneralStandard Error and Warning Images Pin
Steve Thresher26-Jun-03 3:31
Steve Thresher26-Jun-03 3:31 
GeneralRe: Standard Error and Warning Images Pin
basementman26-Jun-03 3:54
basementman26-Jun-03 3:54 
GeneralRe: Standard Error and Warning Images Pin
Steve Thresher26-Jun-03 4:35
Steve Thresher26-Jun-03 4:35 
GeneralRe: Standard Error and Warning Images Pin
Ryan Binns26-Jun-03 5:19
Ryan Binns26-Jun-03 5:19 
Generalusing a vector with CComboBox::AddString() in MFC Pin
keegan26-Jun-03 2:52
keegan26-Jun-03 2:52 
GeneralRe: using a vector with CComboBox::AddString() in MFC Pin
Maximilien26-Jun-03 3:18
Maximilien26-Jun-03 3:18 
GeneralRe: using a vector with CComboBox::AddString() in MFC Pin
keegan26-Jun-03 3:27
keegan26-Jun-03 3:27 
you mean you got that for loop to work? Here's the error statement i get:

error C2664: 'CComboBox::AddString' : cannot convert parameter 1 from 'std::allocator<_Ty>::value_type' to 'LPCTSTR'
with
[
_Ty=std::string
]


vector<string> values;

is how im defining my vector, im passing that into a function that reads into from a text file and passes it back by reference.

i replaced 'vector.at(i)' with "hello" and that works fine. it just doesnt like my vector of strings.

Frown | :( how does yours work and mine doesn't.
GeneralRe: using a vector with CComboBox::AddString() in MFC Pin
Maximilien26-Jun-03 3:35
Maximilien26-Jun-03 3:35 
GeneralRe: using a vector with CComboBox::AddString() in MFC Pin
keegan26-Jun-03 3:48
keegan26-Jun-03 3:48 
GeneralRe: using a vector with CComboBox::AddString() in MFC Pin
Shay Harel26-Jun-03 7:57
Shay Harel26-Jun-03 7:57 
GeneralWizard sheet 97 Pin
Member 42425926-Jun-03 2:49
Member 42425926-Jun-03 2:49 
Generalmalloc, free problem ...... Pin
_crs_26-Jun-03 2:44
_crs_26-Jun-03 2:44 
GeneralRe: malloc, free problem ...... Pin
David Crow26-Jun-03 3:09
David Crow26-Jun-03 3:09 
GeneralRe: malloc, free problem ...... Pin
_crs_26-Jun-03 3:47
_crs_26-Jun-03 3:47 
GeneralRe: malloc, free problem ...... Pin
David Crow26-Jun-03 3:56
David Crow26-Jun-03 3:56 
GeneralSerial Comms Problem Pin
louis26-Jun-03 2:30
louis26-Jun-03 2:30 
GeneralRe: Serial Comms Problem Pin
justin22326-Jun-03 20:13
justin22326-Jun-03 20:13 
Generalcomms config Pin
andyg.10126-Jun-03 2:26
andyg.10126-Jun-03 2:26 
GeneralRe: comms config Pin
David Crow26-Jun-03 3:14
David Crow26-Jun-03 3:14 
GeneralRe: comms config Pin
andyg.10126-Jun-03 3:47
andyg.10126-Jun-03 3:47 
GeneralRe: comms config Pin
David Crow26-Jun-03 3:59
David Crow26-Jun-03 3:59 
GeneralRe: comms config Pin
andyg.10126-Jun-03 4:16
andyg.10126-Jun-03 4:16 
GeneralRe: comms config Pin
David Crow26-Jun-03 4:21
David Crow26-Jun-03 4:21 
GeneralRe: comms config Pin
andyg.10126-Jun-03 4:30
andyg.10126-Jun-03 4:30 

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.