Forum: C++ Jun 7th, 2004 |
| Replies: 2 Views: 10,870 Can someone help in explaining the advantage/use of the C++ SAFEARRAY as I am not finding much useful material out there.
This may be my answer to returning a large multidimensional array from a... |
Forum: C++ Jun 1st, 2004 |
| Replies: 2 Views: 3,123 Thanks--> that is what I thought as this is what I tried:
#include <iostream>
using namespace std;
int scan = 10;
int xyz=3;
int pixels=512; |
Forum: C++ Jun 1st, 2004 |
| Replies: 2 Views: 3,123 Can similar code be written for 3 dimensions:
#include <exception>
#include <iostream>
using std::cin;
using std::cout;
using std::endl;
void display(long double **);
void de_allocate(long... |
Forum: C++ Jun 1st, 2004 |
| Replies: 7 Views: 2,647 Wow. I completely missed that. That was a typo. I am bad. I got so focused on why my ouput was wrong and looked at my pointer etc and completely ignored the array declaration. HAHAHAHAHA. Oh... |
Forum: C++ May 31st, 2004 |
| Replies: 8 Views: 17,908 Do I need to use the new/delete? thanks |
Forum: C++ May 31st, 2004 |
| Replies: 7 Views: 2,647 Why is the last element not 7
int array[3];
int *ary;
ary=array;
array[0]=0;
array[1]=0;
array[2]=0; |
Forum: C++ May 31st, 2004 |
| Replies: 4 Views: 8,361 My question is as the title indicates
Thanks |
Forum: C++ May 31st, 2004 |
| Replies: 8 Views: 17,908 This what I've done and get:
I've moved array xyz_data[10][3][512] from being a private data member to a public data member of class scan_data. Called my member function(scan_data::add_image)(see... |
Forum: C++ May 31st, 2004 |
| Replies: 8 Views: 17,908 Thanks for the info. However, my question has not been anwered. The above I am already aware of and anything I have forgotten I can go find my textbook from university. What I can not find in that... |
Forum: C++ May 28th, 2004 |
| Replies: 8 Views: 17,908 Hello:
(I am using Borland C++ Builder 6 Professional)
Before you jump all over me I've already read the post Returing Arrays C/C++ and completely understand. For some reason I am still having... |
Forum: C++ May 28th, 2004 |
| Replies: 3 Views: 8,372 |
Forum: C++ May 28th, 2004 |
| Replies: 3 Views: 8,372 Hello:
(I am using Borland C++ Builder 6 Professional)
Before you jump all over me I've already read the post Returing Arrays C/C++ and completely understand. For some reason I am still having... |