Click here to Skip to main content
15,916,945 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
Questionsolve this problem! Pin
sam o neil29-Oct-05 21:02
sam o neil29-Oct-05 21:02 
AnswerRe: solve this problem! Pin
toxcct30-Oct-05 0:58
toxcct30-Oct-05 0:58 
GeneralRe: solve this problem! Pin
sam o neil30-Oct-05 1:19
sam o neil30-Oct-05 1:19 
GeneralRe: solve this problem! Pin
toxcct30-Oct-05 8:07
toxcct30-Oct-05 8:07 
AnswerRe: solve this problem! Pin
mikanu1-Nov-05 12:43
mikanu1-Nov-05 12:43 
QuestionHelp with automatic e-mail Pin
cemaaiem29-Oct-05 11:30
cemaaiem29-Oct-05 11:30 
AnswerRe: Help with automatic e-mail Pin
Brad Bruce29-Oct-05 12:36
Brad Bruce29-Oct-05 12:36 
QuestionDesperate Need of Help in C++.. Pin
MarkoOkuka27-Oct-05 16:39
MarkoOkuka27-Oct-05 16:39 
Ok, i have tried a few other sites, but have yet to get a response and i'm getting really nervous...
Tomorrow I have a C++ test in my grade 11 computer science course and my teacher gave us a few problems to do/practise at home. (Note we use Visual C++ from Visual Studio 6.0)

Problem 1. Have the user input a 4-digit character array or string. Have your program convert this string into an integer value without using the atoi function.

As it clearly states, i cannot use the atoi function. Now a previous question wanted the opposite (integer to char array) with itoa function and i got that working with the code i have in the txt file.

Problem 2. Have the user guess at random number. Have the computer tell the user either “Higher” or “Lower” until correct. The program will show the total number of guesses. Also, if the user is a moron, tell them so. For example, assume the correct number is 12. If the user inputs 7 and your program informs the user “higher”, if at any later time the user inputs a number of 7 or lower, the program is permitted to call the user a “moron”.


My question is if someone can please help me by coding this, just so that i can review the code and be ready for the test tomorrow. I've missed the class the last 4 days with the flu and have fallin a little behind. Also, if you could code it at a similar level as the code in the txt file, i would really appriciate it because thats how far our class as gotten so far. Please refer to the text file.

PS: I know it may not be exactly whta you'd want to do, but i would really appriciate it and it would help me dramatically.

Link to the .txt file...
http://www.megaupload.com/?d=RU48CFTR
AnswerRe: Desperate Need of Help in C++.. Pin
Christian Graus27-Oct-05 17:19
protectorChristian Graus27-Oct-05 17:19 
Questionis it stack or heap? Pin
georgemarios27-Oct-05 6:01
georgemarios27-Oct-05 6:01 
AnswerRe: is it stack or heap? Pin
IdUnknown27-Oct-05 6:27
IdUnknown27-Oct-05 6:27 
GeneralRe: is it stack or heap? Pin
georgemarios27-Oct-05 6:40
georgemarios27-Oct-05 6:40 
QuestionHow to generate a custom warning at compile time in C++ Pin
Anonymous26-Oct-05 18:41
Anonymous26-Oct-05 18:41 
AnswerRe: How to generate a custom warning at compile time in C++ Pin
Anonymous27-Oct-05 1:02
Anonymous27-Oct-05 1:02 
QuestionConverting a C++ style string into something execvp can use. Pin
Anonymous26-Oct-05 9:47
Anonymous26-Oct-05 9:47 
AnswerRe: Converting a C++ style string into something execvp can use. Pin
Christian Graus26-Oct-05 10:39
protectorChristian Graus26-Oct-05 10:39 
QuestionHigh Compression based software Solution Pin
ANPPS26-Oct-05 8:56
ANPPS26-Oct-05 8:56 
AnswerRe: High Compression based software Solution Pin
Christian Graus26-Oct-05 10:49
protectorChristian Graus26-Oct-05 10:49 
QuestionDamn that 4kbytes of leak memory Pin
Alex Cutovoi26-Oct-05 7:42
Alex Cutovoi26-Oct-05 7:42 
AnswerRe: Damn that 4kbytes of leak memory Pin
Christian Graus26-Oct-05 10:49
protectorChristian Graus26-Oct-05 10:49 
AnswerRe: Damn that 4kbytes of leak memory Pin
georgemarios27-Oct-05 1:43
georgemarios27-Oct-05 1:43 
QuestionWin32 to .Net DLLs, character sets Pin
wikoh26-Oct-05 7:12
wikoh26-Oct-05 7:12 
Question,HOW TO PROGRAM POPUP DICTIONARY? Pin
Anonymous26-Oct-05 0:05
Anonymous26-Oct-05 0:05 
AnswerRe: ,HOW TO PROGRAM POPUP DICTIONARY? Pin
toxcct26-Oct-05 0:35
toxcct26-Oct-05 0:35 
AnswerRe: ,HOW TO PROGRAM POPUP DICTIONARY? Pin
cynferdd26-Oct-05 0:43
cynferdd26-Oct-05 0:43 

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.