Click here to Skip to main content
15,893,487 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Debug Assertion Failed! Expression: SUCCEEDED(hRes) Pin
Matthew Faithfull1-May-08 22:40
Matthew Faithfull1-May-08 22:40 
GeneralRe: Debug Assertion Failed! Expression: SUCCEEDED(hRes) Pin
wilfredrex1-May-08 23:24
wilfredrex1-May-08 23:24 
QuestionCXX0017: Error: symbol "hr" not found Pin
nilam24771-May-08 22:07
nilam24771-May-08 22:07 
QuestionRe: CXX0017: Error: symbol "hr" not found Pin
Rajkumar R1-May-08 22:32
Rajkumar R1-May-08 22:32 
AnswerRe: CXX0017: Error: symbol "hr" not found Pin
Matthew Faithfull1-May-08 22:36
Matthew Faithfull1-May-08 22:36 
QuestionRe: CXX0017: Error: symbol "hr" not found Pin
nilam24771-May-08 23:47
nilam24771-May-08 23:47 
AnswerRe: CXX0017: Error: symbol "hr" not found Pin
Matthew Faithfull1-May-08 23:53
Matthew Faithfull1-May-08 23:53 
QuestionHw to get rid of blank line Pin
pl_kode1-May-08 21:38
pl_kode1-May-08 21:38 
I am parsing a file line by line using getline, but not able to get rid of the blank line in it. Please help me out....

Following is the code snippet..

while(file)
{
if(getline(file,line))
{
if (line.find('#')||line.find(""))
{continue;}
else
{
length = line.find("=");
if(length != string::npos)
{
Left.assign(line, 0, line.find("="));
Right.assign(line, length+1, line.size());
}
cout<<Left<<":"<<Right<<endl;
}}}
AnswerRe: Hw to get rid of blank line Pin
Rajkumar R1-May-08 23:28
Rajkumar R1-May-08 23:28 
QuestionAbout Raw Socket Pin
manish.patel1-May-08 20:52
manish.patel1-May-08 20:52 
AnswerRe: About Raw Socket Pin
Rajesh R Subramanian1-May-08 20:59
professionalRajesh R Subramanian1-May-08 20:59 
QuestionNeed help for WebBrowser control Pin
H4u321-May-08 20:51
H4u321-May-08 20:51 
AnswerRe: Need help for WebBrowser control Pin
Rajkumar R1-May-08 21:54
Rajkumar R1-May-08 21:54 
QuestionCluster No. Pin
john56321-May-08 20:19
john56321-May-08 20:19 
AnswerRe: Cluster No. Pin
David Crow2-May-08 4:53
David Crow2-May-08 4:53 
QuestionSetting Caret position for CRichEditCtrl Pin
prithaa1-May-08 19:47
prithaa1-May-08 19:47 
AnswerRe: Setting Caret position for CRichEditCtrl Pin
_AnsHUMAN_ 1-May-08 20:22
_AnsHUMAN_ 1-May-08 20:22 
AnswerRe: Setting Caret position for CRichEditCtrl Pin
Mark Salsbery2-May-08 5:27
Mark Salsbery2-May-08 5:27 
GeneralRe: Setting Caret position for CRichEditCtrl Pin
prithaa7-May-08 23:02
prithaa7-May-08 23:02 
Questionhow to add third pary COMDLL into win32 project Pin
amit_pansuria1-May-08 19:42
amit_pansuria1-May-08 19:42 
AnswerRe: how to add third pary COMDLL into win32 project Pin
_AnsHUMAN_ 1-May-08 20:17
_AnsHUMAN_ 1-May-08 20:17 
QuestionHow can I use properties file Pin
pl_kode1-May-08 19:32
pl_kode1-May-08 19:32 
AnswerRe: How can I use properties file Pin
_AnsHUMAN_ 1-May-08 20:27
_AnsHUMAN_ 1-May-08 20:27 
GeneralRe: How can I use properties file Pin
pl_kode1-May-08 21:03
pl_kode1-May-08 21:03 
GeneralRe: How can I use properties file Pin
_AnsHUMAN_ 2-May-08 0:09
_AnsHUMAN_ 2-May-08 0:09 

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.