Search Results

Showing results 1 to 12 of 12
Search took 0.01 seconds.
Search: Posts Made By: TJW
Forum: C++ Jun 7th, 2004
Replies: 2
Views: 10,870
Posted By TJW
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
Posted By TJW
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
Posted By TJW
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
Posted By TJW
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
Posted By TJW
Do I need to use the new/delete? thanks
Forum: C++ May 31st, 2004
Replies: 7
Views: 2,647
Posted By TJW
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
Posted By TJW
Forum: C++ May 31st, 2004
Replies: 8
Views: 17,908
Posted By TJW
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
Posted By TJW
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
Posted By TJW
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
Posted By TJW
Forum: C++ May 28th, 2004
Replies: 3
Views: 8,372
Posted By TJW
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...
Showing results 1 to 12 of 12

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC