Advertisement

1 - 10 of 7736 containing alltags:("arrays") (0.004 seconds)
What is the best (very subjective here) method to properly index an array of classes, given a pointer to a base class, which could possibly point to an array of derived classes? Right now, I have ...
Zones: C++Date Answered: 01/31/1997 Grade: C Views: 5
Could you please write a program that uses an array of pointers to access the elements of multidemsional array? Also explain the declaration of int *daytab[13] please. Please include each step  tha...
Zones: CDate Answered: 04/07/1997 Grade: B Views: 0
Hello Experts, I am trying to create an instance of an array and make it a property of the parent form by using the "new" statement. However, when I try to access the property, the browser doesn't...
Zones: JavaScriptDate Answered: 04/14/1998 Grade: C Views: 0
Tags: array
In C if one first alocates memory with malloc, and later wants to modify the ammount of memory it has allocated, will use realloc. In C++, if one assigns memory with new(like in a constructor that ...
Zones: C++Date Answered: 03/07/1998 Grade: A Views: 0
I have a byte[] array of size 4 which I want to convert into a 4-byte int or Integer. What method should I use to do this? I have tried: String key = new String(bArray, 0, 3); int result = Integer...
Zones: JavaDate Answered: 04/12/1998 Grade: A Views: 0
mylistbox give an error 381 whenever i try to add items to the list property in a subroutine. eg, private sub Additem() dim i as integer for i =0  to 19 listbox.list(i) = array(i) next end sub       ca...
Zones: Visual BasicDate Answered: 04/16/1998 Grade: A Views: 0
In my program I am using an array[0..9,0..9] of Extended. But I would like to have the user to determine the size of the array, instead of pre-defining it. It doesn't have to be an array. It can be...
Zones: Delphi ProgrammingDate Answered: 06/12/1998 Grade: A Views: 0
I am attempting to simulate some yet to built hardware - so I need a rather large array to hold the data... And I want to be able to save/read to/from disk... I have a three dim array that I wan...
Zones: Visual BasicDate Answered: 07/02/1998 Grade: A Views: 0
I tried following code with out success:    Class String      {...........};    main()      {String s1[99];        .........      } Can you tell me how to do that (the length of s1[0] may not be th...
Zones: C++Date Answered: 08/06/1998 Grade: A Views: 0
Is there any way in which I can delete an element from an array without implementing linked-list? In my program, I need to find the minimum value from the array and delete the element with minimum ...
Zones: C++Date Answered: 09/10/1998 Grade: C Views: 0