Click here to Skip to main content
15,914,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Really Urgent (Function to get the size of a file) Pin
REU11-Oct-05 7:42
REU11-Oct-05 7:42 
Questionconstructor : 2 step constructor ... Pin
Maximilien11-Oct-05 6:47
Maximilien11-Oct-05 6:47 
AnswerRe: constructor : 2 step constructor ... Pin
Prakash Nadar11-Oct-05 7:13
Prakash Nadar11-Oct-05 7:13 
QuestionGreat News! Pin
Al Baraki11-Oct-05 6:01
Al Baraki11-Oct-05 6:01 
AnswerRe: Great News! Pin
Prakash Nadar11-Oct-05 6:09
Prakash Nadar11-Oct-05 6:09 
GeneralRe: Great News! Pin
Bob Stanneveld11-Oct-05 6:28
Bob Stanneveld11-Oct-05 6:28 
AnswerRe: Great News! Pin
Maximilien11-Oct-05 6:13
Maximilien11-Oct-05 6:13 
QuestionString Help Pin
Anonymous11-Oct-05 5:59
Anonymous11-Oct-05 5:59 
1. A program that uses function strcmp to compare two strings input by the user. The program should state whether the first string is less than, equal to or greater than the second string.

2. A program that uses function strncmp to compare two strings input by the user. The program should input the number of characters to compare. The program should state whether the first string is less than, equal to or greater than the second string.

3. A program that inputs a telephone number as a string in the form (555) 555-5555. The program should use function strtok to extract the area code as a token, the first three digits of the phone number as a token, and the last four digits of the phone number as a token. The seven digits of the phone number should be concatenated into one string. Both the area code and the phone number should be printed.

Get the string from the user using
cin.getline (sentence, 80);


4. A program that inputs a line of text, tokenizes the line with function strtok and outputs the tokens in reverse order.


Please help and thanks alot Smile | :)

QuestionRe: String Help Pin
David Crow11-Oct-05 6:06
David Crow11-Oct-05 6:06 
AnswerRe: String Help Pin
icabod11-Oct-05 6:09
icabod11-Oct-05 6:09 
AnswerRe: String Help Pin
John M. Drescher11-Oct-05 6:16
John M. Drescher11-Oct-05 6:16 
QuestionCatch program termination Pin
status()11-Oct-05 5:56
status()11-Oct-05 5:56 
QuestionConnect to Registry Pin
Mila02511-Oct-05 4:06
Mila02511-Oct-05 4:06 
AnswerRe: Connect to Registry Pin
RadioOpa11-Oct-05 4:35
RadioOpa11-Oct-05 4:35 
AnswerRe: Connect to Registry Pin
Roger Stoltz11-Oct-05 5:05
Roger Stoltz11-Oct-05 5:05 
QuestionUnicode presentation CEdit Pin
RadioOpa11-Oct-05 2:59
RadioOpa11-Oct-05 2:59 
AnswerRe: Unicode presentation CEdit Pin
RadioOpa11-Oct-05 21:17
RadioOpa11-Oct-05 21:17 
QuestionMultiByteToWideCHar Help? Pin
Amit j Patil11-Oct-05 2:35
Amit j Patil11-Oct-05 2:35 
AnswerRe: MultiByteToWideCHar Help? Pin
nm_11411-Oct-05 11:30
nm_11411-Oct-05 11:30 
GeneralRe: MultiByteToWideCHar Help? Pin
Amit j Patil12-Oct-05 21:05
Amit j Patil12-Oct-05 21:05 
QuestionPossible CDC issue Pin
wdhough11-Oct-05 1:43
wdhough11-Oct-05 1:43 
QuestionDiff between CFile and CStdioFile Pin
karmendra_js11-Oct-05 1:35
karmendra_js11-Oct-05 1:35 
AnswerRe: Diff between CFile and CStdioFile Pin
ThatsAlok11-Oct-05 1:46
ThatsAlok11-Oct-05 1:46 
AnswerRe: Diff between CFile and CStdioFile Pin
Roger Stoltz11-Oct-05 1:54
Roger Stoltz11-Oct-05 1:54 
QuestionConvert bmp to Text Pin
sonu25211-Oct-05 0:39
sonu25211-Oct-05 0:39 

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.