Click here to Skip to main content
15,900,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionIs my PC standalone or connected to Network Pin
vibindia4-Mar-07 22:01
vibindia4-Mar-07 22:01 
AnswerRe: Is my PC standalone or connected to Network Pin
Sebastian Schneider4-Mar-07 22:39
Sebastian Schneider4-Mar-07 22:39 
AnswerRe: Is my PC standalone or connected to Network Pin
Dmitry Khudorozhkov4-Mar-07 23:18
Dmitry Khudorozhkov4-Mar-07 23:18 
GeneralRe: Is my PC standalone or connected to Network Pin
Mark Salsbery5-Mar-07 6:51
Mark Salsbery5-Mar-07 6:51 
GeneralRe: Is my PC standalone or connected to Network Pin
Dmitry Khudorozhkov5-Mar-07 7:05
Dmitry Khudorozhkov5-Mar-07 7:05 
GeneralRe: Is my PC standalone or connected to Network Pin
Mark Salsbery5-Mar-07 7:11
Mark Salsbery5-Mar-07 7:11 
GeneralRe: Is my PC standalone or connected to Network Pin
Dmitry Khudorozhkov5-Mar-07 7:19
Dmitry Khudorozhkov5-Mar-07 7:19 
Questionvector to std::string Pin
Programm3r4-Mar-07 21:32
Programm3r4-Mar-07 21:32 
Hi all,

I have the following class, with structure and function:
class CIniFile
{
public:
	struct Record
	{
		string Comments;
		char Commented;
		string Section;
		string Key;
		string Value;
	};
        static vector<Record> GetSection(string SectionName, string FileName);


So now I call the function:
vector<CIniFile::Record> s = CIniFile::GetSection("Client Files",IniFileName);


My question is how can convert s to a string ?? Or is there another way of getting it to a string or char*.
Many Thanx
Regards,



The only programmers that are better than C programmers are those who code in 1's and 0's..... Smile | :)

Smile | :) Programm3r

My Blog: ^_^

QuestionRe: vector to std::string Pin
prasad_som4-Mar-07 21:40
prasad_som4-Mar-07 21:40 
AnswerRe: vector to std::string Pin
Programm3r4-Mar-07 21:50
Programm3r4-Mar-07 21:50 
GeneralRe: vector to std::string Pin
prasad_som4-Mar-07 21:51
prasad_som4-Mar-07 21:51 
AnswerRe: vector to std::string Pin
Programm3r4-Mar-07 21:40
Programm3r4-Mar-07 21:40 
Questionerror LNK2019 Pin
Programm3r4-Mar-07 23:35
Programm3r4-Mar-07 23:35 
AnswerRe: error LNK2019 Pin
Programm3r4-Mar-07 23:58
Programm3r4-Mar-07 23:58 
QuestionRe: error LNK2019 Pin
prasad_som4-Mar-07 23:58
prasad_som4-Mar-07 23:58 
GeneralRe: error LNK2019 Pin
Programm3r5-Mar-07 0:10
Programm3r5-Mar-07 0:10 
Questioncorruption of the heap Pin
Programm3r5-Mar-07 0:41
Programm3r5-Mar-07 0:41 
AnswerRe: corruption of the heap Pin
prasad_som5-Mar-07 1:00
prasad_som5-Mar-07 1:00 
QuestionRe: corruption of the heap [MOD] Pin
Programm3r5-Mar-07 1:15
Programm3r5-Mar-07 1:15 
AnswerRe: corruption of the heap [MOD] Pin
prasad_som5-Mar-07 1:28
prasad_som5-Mar-07 1:28 
GeneralRe: corruption of the heap [MOD] Pin
Programm3r5-Mar-07 1:38
Programm3r5-Mar-07 1:38 
AnswerRe: corruption of the heap [MOD] Pin
prasad_som5-Mar-07 1:41
prasad_som5-Mar-07 1:41 
GeneralRe: corruption of the heap [MOD] Pin
Programm3r5-Mar-07 2:02
Programm3r5-Mar-07 2:02 
QuestionClearing the contents of the following... [modified] Pin
Programm3r5-Mar-07 2:55
Programm3r5-Mar-07 2:55 
QuestionRe: Clearing the contents of the following... Pin
prasad_som5-Mar-07 3:24
prasad_som5-Mar-07 3:24 

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.