Click here to Skip to main content
15,917,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralProgrammatically modifying an HTML document from visual C++ Pin
Freeman Taylor16-Sep-04 4:11
Freeman Taylor16-Sep-04 4:11 
GeneralRe: Programmatically modifying an HTML document from visual C++ Pin
David Crow16-Sep-04 5:07
David Crow16-Sep-04 5:07 
GeneralRe: Programmatically modifying an HTML document from visual C++ Pin
Freeman Taylor16-Sep-04 6:18
Freeman Taylor16-Sep-04 6:18 
GeneralRe: Programmatically modifying an HTML document from visual C++ Pin
Neville Franks16-Sep-04 10:33
Neville Franks16-Sep-04 10:33 
Generalfonts changing without me asking them to Pin
BlackDice16-Sep-04 3:57
BlackDice16-Sep-04 3:57 
GeneralRe: fonts changing without me asking them to Pin
Gary R. Wheeler19-Sep-04 15:48
Gary R. Wheeler19-Sep-04 15:48 
Generalserial port: client server communication Pin
thelearnervc16-Sep-04 3:02
thelearnervc16-Sep-04 3:02 
GeneralA tricky problem of converting to string Pin
Anonymous16-Sep-04 2:33
Anonymous16-Sep-04 2:33 
Hi,

Can anybody let me know the conversion function/method which will convert the TCHAR* to numeric (int/decimal).
Actually I fetch the values from the database, bind it to an two dimentional array of type TCHAR. The values will look something like this.

Value in database column is 100000 (numeric).

TCHAR colNameArray[256][256];

I bind the database column to array colNameArray. And the value appears like this as given below.
colNameArray[0][0] = 160
colNameArray[0][1] = 134
colNameArray[0][2] = 1
colNameArray[0][3] = 0

Which is actually 160 + 134*(256) + 1*(256^2) = 100000.

I am looking for some method which would take colNameArray as input as convert to to a string (ascii) or to integer or to numeric.
Converting to string is quite ok, so that I could convert to appropriate data types later.

Thanks in advance.
Prashant.


GeneralRe: A tricky problem of converting to string Pin
Paolo Ponzano16-Sep-04 2:48
Paolo Ponzano16-Sep-04 2:48 
GeneralRe: A tricky problem of converting to string Pin
PrashantJ16-Sep-04 3:43
PrashantJ16-Sep-04 3:43 
GeneralRe: A tricky problem of converting to string Pin
David Crow16-Sep-04 4:07
David Crow16-Sep-04 4:07 
GeneralRe: A tricky problem of converting to string Pin
PrashantJ16-Sep-04 4:36
PrashantJ16-Sep-04 4:36 
GeneralRe: A tricky problem of converting to string Pin
David Crow16-Sep-04 5:00
David Crow16-Sep-04 5:00 
General2 quick questions... Pin
0v3rloader16-Sep-04 2:24
0v3rloader16-Sep-04 2:24 
GeneralRe: 2 quick questions... Pin
Arsalan Malik16-Sep-04 2:48
Arsalan Malik16-Sep-04 2:48 
GeneralRe: 2 quick questions... Pin
David Crow16-Sep-04 3:47
David Crow16-Sep-04 3:47 
GeneralRe: 2 quick questions... Pin
0v3rloader16-Sep-04 4:26
0v3rloader16-Sep-04 4:26 
GeneralRe: 2 quick questions... Pin
David Crow16-Sep-04 4:39
David Crow16-Sep-04 4:39 
GeneralRe: 2 quick questions... Pin
0v3rloader16-Sep-04 5:19
0v3rloader16-Sep-04 5:19 
GeneralRe: 2 quick questions... Pin
David Crow16-Sep-04 6:30
David Crow16-Sep-04 6:30 
GeneralRe: 2 quick questions... Pin
0v3rloader16-Sep-04 8:01
0v3rloader16-Sep-04 8:01 
GeneralOleThreadMainWndName Pin
shiraztk16-Sep-04 1:53
shiraztk16-Sep-04 1:53 
GeneralProblem about char array Pin
sacoskun16-Sep-04 1:49
sacoskun16-Sep-04 1:49 
GeneralRe: Problem about char array Pin
Aamir Butt16-Sep-04 1:55
Aamir Butt16-Sep-04 1:55 
GeneralRe: Problem about char array Pin
Paolo Ponzano16-Sep-04 2:36
Paolo Ponzano16-Sep-04 2:36 

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.