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

C / C++ / MFC

 
JokeRe: hi plz help me Pin
Naveen12-May-09 22:14
Naveen12-May-09 22:14 
QuestionGet groups and the number of associated users in that group in a system ? Pin
Mogaambo12-May-09 19:54
Mogaambo12-May-09 19:54 
AnswerRe: Get groups and the number of associated users in that group in a system ? Pin
«_Superman_»12-May-09 20:07
professional«_Superman_»12-May-09 20:07 
AnswerRe: Get groups and the number of associated users in that group in a system ? Pin
Madhu Nair12-May-09 20:50
Madhu Nair12-May-09 20:50 
QuestionProblem in using toolbar. Pin
Le@rner12-May-09 19:47
Le@rner12-May-09 19:47 
Question[Message Deleted] Pin
lek25812-May-09 19:22
lek25812-May-09 19:22 
JokeRe: Creating ISO9660 Image File(URGENT PLEASE) Pin
Michael Schubert13-May-09 0:15
Michael Schubert13-May-09 0:15 
GeneralRe: Creating ISO9660 Image File(URGENT PLEASE) [modified] Pin
enhzflep13-May-09 5:15
enhzflep13-May-09 5:15 
I think many (ab)users of this forum would benefit from the following piece of code:

char *answerForumQuestion(char *requestString, bool isUrgent)
{
  // provide negative feedback for requests marked as urgent
  if (isUrgent)
    if (rand() % 2)
       return NULL;
    else return ptrToRequestStringErrorMessage;

  // decide whether to try or not
  if (isClear(requestString) && showEffort(requestString))
  {
        // provide an answer where possible
        if forumReaderUnderstands(requestString)
           return formulateAnswer(requestString);
  }

  // for all other cases do nothing
  return NULL;
}


During execution of this post, rand() returned 10......
QuestionTo read a complete string Pin
Pankaj D.Dubey12-May-09 18:52
Pankaj D.Dubey12-May-09 18:52 
AnswerRe: To read a complete string Pin
Chandrasekharan P12-May-09 19:10
Chandrasekharan P12-May-09 19:10 
AnswerRe: To read a complete string Pin
Madhu Nair12-May-09 19:20
Madhu Nair12-May-09 19:20 
AnswerRe: To read a complete string Pin
«_Superman_»12-May-09 19:31
professional«_Superman_»12-May-09 19:31 
GeneralRe: To read a complete string Pin
Pankaj D.Dubey12-May-09 19:50
Pankaj D.Dubey12-May-09 19:50 
GeneralRe: To read a complete string Pin
«_Superman_»12-May-09 20:03
professional«_Superman_»12-May-09 20:03 
GeneralRe: To read a complete string Pin
Pankaj D.Dubey12-May-09 20:16
Pankaj D.Dubey12-May-09 20:16 
GeneralRe: To read a complete string Pin
«_Superman_»12-May-09 21:05
professional«_Superman_»12-May-09 21:05 
GeneralRe: To read a complete string Pin
Madhu Nair12-May-09 21:14
Madhu Nair12-May-09 21:14 
GeneralRe: To read a complete string Pin
Pankaj D.Dubey12-May-09 21:28
Pankaj D.Dubey12-May-09 21:28 
GeneralRe: To read a complete string Pin
Chandrasekharan P12-May-09 21:54
Chandrasekharan P12-May-09 21:54 
GeneralRe: To read a complete string Pin
«_Superman_»12-May-09 21:55
professional«_Superman_»12-May-09 21:55 
GeneralRe: To read a complete string Pin
Rajesh R Subramanian12-May-09 22:39
professionalRajesh R Subramanian12-May-09 22:39 
GeneralRe: To read a complete string Pin
«_Superman_»12-May-09 22:49
professional«_Superman_»12-May-09 22:49 
GeneralRe: To read a complete string Pin
Pankaj D.Dubey12-May-09 22:40
Pankaj D.Dubey12-May-09 22:40 
GeneralRe: To read a complete string Pin
«_Superman_»12-May-09 22:56
professional«_Superman_»12-May-09 22:56 
GeneralRe: To read a complete string Pin
Pankaj D.Dubey12-May-09 23:04
Pankaj D.Dubey12-May-09 23:04 

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.