Click here to Skip to main content
15,921,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralStrange Behaviour of GetAdaptersInfo() Pin
Hashim Saleem11-Jul-03 9:01
Hashim Saleem11-Jul-03 9:01 
GeneralProblem accessing remote datasource Pin
Terry O'Nolley11-Jul-03 7:51
Terry O'Nolley11-Jul-03 7:51 
Questionwhat function will convert a char to its number value Pin
johnstonsk11-Jul-03 7:39
johnstonsk11-Jul-03 7:39 
AnswerRe: what function will convert a char to its number value Pin
John M. Drescher11-Jul-03 7:43
John M. Drescher11-Jul-03 7:43 
GeneralRe: what function will convert a char to its number value Pin
johnstonsk11-Jul-03 7:56
johnstonsk11-Jul-03 7:56 
GeneralRe: what function will convert a char to its number value Pin
John M. Drescher11-Jul-03 7:59
John M. Drescher11-Jul-03 7:59 
AnswerRe: what function will convert a char to its number value Pin
Shay Harel11-Jul-03 7:45
Shay Harel11-Jul-03 7:45 
GeneralRe: what function will convert a char to its number value Pin
johnstonsk11-Jul-03 7:54
johnstonsk11-Jul-03 7:54 
What I am trying to do is I have read in a file and put specific name into an array.

For eash name in the array I want to do something different.

I would like to do a switch statemnt on each name in the name array, but a switch has to be an int.

So, I was going to try to spin through the array and for each element in the char array I was going to get its numeric value and compare it to the numeric value of the char I was looking for.

If the numeric values were the same then the chars must be the same and then we have a match.

I hope that all made sense.

thanks, steven
GeneralRe: what function will convert a char to its number value Pin
John M. Drescher11-Jul-03 7:56
John M. Drescher11-Jul-03 7:56 
GeneralRe: what function will convert a char to its number value Pin
johnstonsk11-Jul-03 7:59
johnstonsk11-Jul-03 7:59 
GeneralRe: what function will convert a char to its number value Pin
John M. Drescher11-Jul-03 8:02
John M. Drescher11-Jul-03 8:02 
AnswerRe: what function will convert a char to its number value Pin
John R. Shaw11-Jul-03 9:21
John R. Shaw11-Jul-03 9:21 
AnswerRe: what function will convert a char to its number value Pin
Terry O'Nolley11-Jul-03 9:27
Terry O'Nolley11-Jul-03 9:27 
GeneralRe: Whoops Pin
John R. Shaw11-Jul-03 10:15
John R. Shaw11-Jul-03 10:15 
GeneralRe: Whoops Pin
Terry O'Nolley12-Jul-03 3:58
Terry O'Nolley12-Jul-03 3:58 
GeneralRe: what function will convert a char to its number value Pin
johnstonsk11-Jul-03 10:26
johnstonsk11-Jul-03 10:26 
GeneralRe: what function will convert a char to its number value Pin
John R. Shaw14-Jul-03 7:23
John R. Shaw14-Jul-03 7:23 
AnswerRe: what function will convert a char to its number value Pin
Mike Dimmick11-Jul-03 9:47
Mike Dimmick11-Jul-03 9:47 
GeneralRe: what function will convert a char to its number value Pin
Daniel Turini11-Jul-03 10:15
Daniel Turini11-Jul-03 10:15 
GeneralRe: what function will convert a char to its number value Pin
Mike Dimmick11-Jul-03 12:19
Mike Dimmick11-Jul-03 12:19 
GeneralRe: what function will convert a char to its number value Pin
Daniel Turini11-Jul-03 23:48
Daniel Turini11-Jul-03 23:48 
GeneralRe: what function will convert a char to its number value Pin
Mike Dimmick12-Jul-03 1:16
Mike Dimmick12-Jul-03 1:16 
AnswerRe: what function will convert a char to its number value Pin
drabudawood13-Jul-03 20:12
drabudawood13-Jul-03 20:12 
QuestionWhy is the constructor protected ? Pin
Shay Harel11-Jul-03 7:25
Shay Harel11-Jul-03 7:25 
AnswerRe: Why is the constructor protected ? Pin
John M. Drescher11-Jul-03 7:40
John M. Drescher11-Jul-03 7:40 

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.