Summary: Hey Guys, I'm running into some trouble with returning a two dimensional array from a function in C, specifically a type double, 2-d array returned fr...
Summary: Hi, How do you dimension a 2-D array in C? I know in C++, I can use dynamic allocation (pointer to pointer). In C, I read about malloc. How does mall...
Summary: For a project of mine in C++, i need to create a 2d that displays something along these lines,while i need a little help getting started since i am fa...
Summary: Hi, I don't know how to do the following because I don't know how to use the string array in C++. Please Help!!! Thanx! #include <iostream.h> #incl...
Summary: I've been trying to make a vector of arrays in c++: vector<char[16]> but, apparently, that doesn't work. So, I've been trying to figure out how to...
Summary: Hello, I've got a problem putting together dynamic arrays in C. I can do it fine in C++ but I've never had any real instruction in C and all of this ...
Summary: Hi, I am trying to do a Binary Search for a 15 number array in C. I included the whole code but the only part I am seeking help with is the Binary Se...
Summary: I'm trying to write a program for the famous Game of Life. He wants us to read the 2-dimensional array containing all the "live" and "dead" organisms...
Summary: Hello there I need a lil' help in a c++ program I have to write. I should write a recursive function that gets a single-dimensioned array in the lengt...
Summary: Are we playing "Who can post the longest message"? :-) Sorry Jeff, I'm afraid your Jack has you beat:-) I just wanted to point out a couple of thing...
Summary: the sum of the data in row 1 or (0) for array of size [49][14] : array[49][14] - int sum=0; for(int i;j<14;i++){ sum=array[0][j]*j + sum; } - Note:...
Summary: The syntax for dynamic 2-D arrays is a little tricky. Look at this link: http://www.csc.liv.ac.uk/~grant/Teaching/COMP205/dynamic2Darray.html Here is ...
Summary: I am writing a program in C which will extract data from an array. The array contains the data: char test[] = "TRACKING ID: 1365 DATE: 20030901 TIME: ...
Summary: It looks like you'll need to declare an array of char then use sprintf to convert the number i into a string before you can use string concatenation. ...
Summary: In C, how can u read values into an array (ex. array[row][col]) and exit from the for loop right after the user types 0 in the 1st column of any row? ...
Summary: Well, first, where are you at in terms of what you DO know? You're using XP pro. Does that mean you want to write a win32 program in MASM? This is n...
Summary: hi I have a problem with dynamic arrays. In my program, i have to add elements to an existing array.Here is the way im doing this: Create a temporary ...
Summary: Supposing str[] is the array in which you stored the word and substr[] is the array in which you are storing the substring. i=0; while(str[i]!='.') { ...
Summary: Well this seems to me to be a silly question to ask and I didn't realize it would be so hard to find an answer to. How can I declare global arrays in ...
Summary: Hi folks. Me again :). First up thank you all again for the help last time (in case you missed my last reply...dont want you to think im ungrateful :)...
Summary: "Is there another way of using ArrayLists" Yes. Microsoft recommends that you inherit from System.Collections.CollectionBase and make your own "IntCo...
Summary: An array is nothing more than a block of memory. This block of memory has a length of 5 (that's your subscript) times the sizeof(int) (which is 4). ...
Summary: I get 4 arguments at the command line in a C program. I need to to access one of the argument string, argv[2], and change a few of the characters in ...