Basically my task is having to sort a bunch of strings of variable length ignoring case. I understand there is a function strcasecmp() that compares cstrings, but doesn\'t work on strings. Right now I
I have struct as: struct stored { char *dates; // 12/May/2010, 10/Jun/2010 etc.. }; // const struct stored structs[] = {{\"12/May/2010\"}, {\"12/May/2011\"},
Hello (and thanks in advance) I\'m in a bit of a quandry, I cant seem to figure out why I\'m seg faulting.
My function is being passed a struct containing, among other things, a NULL terminated array of pointers to words making up a command with arguments.
When I declare a two-dimensional 开发者_如何学Carray like this: char myArray[20][30] = {\"ABC\", \"Is Easy As One Two Three\"};
Question is in the title, how do I initialize a char*[] and give values to i开发者_开发知识库t in C++, thank you.Though you\'re probably aware, char*[] is an array of pointers to characters, and I wou
Hello Most excellent Stackoverflowians Using visual studio 2008 Team System, I have a c++ dll (mfc statically linked regular dll) which开发者_StackOverflow社区 has a simple function
I have had really big problems understand the char* lately. Let\'s say I made a recursive function to revert a char* but depending on how I init开发者_开发知识库ialize it I get some access violations,
In my programming class we currently have开发者_开发知识库 a project that requires us to take arguments into the program. I then need to be able to check one of the arguments to see which value was pa
Helo guys, I am working wid CStringArray and i want to know how to find the number of datas added in a CStringArray .in the below i have a defined the size of the array as 10 but i have added only thr