Click here to Skip to main content
15,889,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Play avi on status bar via thread Pin
Rajkumar R11-Mar-08 4:10
Rajkumar R11-Mar-08 4:10 
GeneralRe: Play avi on status bar via thread Pin
Rajkumar R11-Mar-08 5:57
Rajkumar R11-Mar-08 5:57 
QuestionHow to convert char** to char array Pin
Gofur Halmurat11-Mar-08 1:33
Gofur Halmurat11-Mar-08 1:33 
AnswerRe: How to convert char** to char array Pin
Maxwell Chen11-Mar-08 2:17
Maxwell Chen11-Mar-08 2:17 
GeneralRe: How to convert char** to char array Pin
Gofur Halmurat11-Mar-08 2:31
Gofur Halmurat11-Mar-08 2:31 
QuestionRe: How to convert char** to char array Pin
Rajkumar R11-Mar-08 2:45
Rajkumar R11-Mar-08 2:45 
GeneralRe: How to convert char** to char array Pin
Gofur Halmurat11-Mar-08 2:48
Gofur Halmurat11-Mar-08 2:48 
GeneralRe: How to convert char** to char array Pin
Rajkumar R11-Mar-08 5:40
Rajkumar R11-Mar-08 5:40 
Gofur Halmurat wrote:
i call splitString() function with char** parametr.

with char**, you mean simply typecast type of multidimentional array of characters or array of pointers to array. Both cannot be interchanged.

char aString[10][10] = {"Test1", "Test2", "Test3"};
char *aString2[10] = {"Test1", "Test2", "Test3"};
former uses contigious buffer while later stores pointers to some other location. So you have to be sure what kind of data the function expects.

in your example any way you can type cast like this.

char (*localString)[10][10];
localString = reinterpret_cast<char (*)[10][10]>(aString); note astring should be a multidimentional array as in your example.

if you are really expecting the muldimensional array, restrict the user by using the array in function argument.
GeneralRe: How to convert char** to char array Pin
David Crow11-Mar-08 5:34
David Crow11-Mar-08 5:34 
GeneralBitmaps in View Pin
Anu_Bala11-Mar-08 1:28
Anu_Bala11-Mar-08 1:28 
GeneralRe: Bitmaps in View Pin
ptr_Electron11-Mar-08 1:52
ptr_Electron11-Mar-08 1:52 
GeneralRe: Bitmaps in View [modified] Pin
Rajkumar R11-Mar-08 2:02
Rajkumar R11-Mar-08 2:02 
GeneralRe: Bitmaps in View Pin
ptr_Electron11-Mar-08 2:06
ptr_Electron11-Mar-08 2:06 
GeneralLdap Auth Pin
ika211-Mar-08 1:28
ika211-Mar-08 1:28 
QuestionWeb Programming in C++? Pin
Wamuti11-Mar-08 0:22
Wamuti11-Mar-08 0:22 
GeneralRe: Web Programming in C++? Pin
Christian Graus11-Mar-08 0:26
protectorChristian Graus11-Mar-08 0:26 
GeneralRe: Web Programming in C++? Pin
Nemanja Trifunovic11-Mar-08 3:34
Nemanja Trifunovic11-Mar-08 3:34 
GeneralRe: Web Programming in C++? Pin
Wamuti11-Mar-08 21:12
Wamuti11-Mar-08 21:12 
GeneralRe: Web Programming in C++? Pin
Demian Panello11-Mar-08 2:58
Demian Panello11-Mar-08 2:58 
GeneralRe: Web Programming in C++? Pin
Nemanja Trifunovic11-Mar-08 3:37
Nemanja Trifunovic11-Mar-08 3:37 
QuestionHOW TO USE DLL FUNCTIONS Pin
bhat11-Mar-08 0:21
bhat11-Mar-08 0:21 
AnswerRe: HOW TO USE DLL FUNCTIONS Pin
Maxwell Chen11-Mar-08 0:23
Maxwell Chen11-Mar-08 0:23 
AnswerRe: HOW TO USE DLL FUNCTIONS Pin
CPallini11-Mar-08 0:27
mveCPallini11-Mar-08 0:27 
AnswerRe: HOW TO USE DLL FUNCTIONS Pin
Christian Graus11-Mar-08 0:37
protectorChristian Graus11-Mar-08 0:37 
AnswerRe: HOW TO USE DLL FUNCTIONS Pin
Rajkumar R11-Mar-08 6:11
Rajkumar R11-Mar-08 6:11 

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.