Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
c++ x 35
Member Avatar for &rea

hello, I have get through this problem, I want to divide these numbers but the result calculated by c++ is not right. I am quite sure it is due to the type of the variables but I don't know how to solve it. [code] unsigned long long u40=16825420246; unsigned long …

Member Avatar for &rea
0
124
Member Avatar for &rea

Hello! I have got an image and I want to change the value of his pixels and paste it into another image. pixel(r,c): is actual pixel b: changes from 0 to undetermined number, for example 100. The problem comes for example when b=2;I think that the method doesn't understand the …

Member Avatar for Prabakar
0
187
Member Avatar for &rea

Hello, I have got a problem with an initialization. [code] #define TAB 1000 int table_collision [][TAB]; void function() { for(int i=0;i<2;i++) { for(int j=0;j<TAB;j++) { table_collision[i][j] = 0; } } } [/code] When I look each value I see that the initialization doesn't work. For example table_collision[0][0]=20125560 table_collision[0][1]=20133568 table_collision[1][103]=1429512 there …

Member Avatar for jencas
0
77
Member Avatar for &rea

Hello, I have got a problem of An unhandled exception of type 'System.StackOverflowException'. I have read that it is possible that the reason is that I have too many method calls. I am working with a GUI and I didn't want that the code in Form() was too big so …

Member Avatar for &rea
0
123
Member Avatar for &rea

I am trying to use Elements (a property of matrix) that will save all the elements as an array so I could access the different elements but now I don't know how works this property. I have written that [code] L->Elements(cli::array<int>(1)^get()); [/code] and I get these errors: [code] error C2143: …

Member Avatar for &rea
0
109
Member Avatar for &rea

Hello, I have got a matrix and I want to get his elements so I can work with them in an unsigned int[][] or in a similar way. I have proved to get them with the method Element but it returns an array and I think it don't do what …

0
68
Member Avatar for &rea

Hello, I want to make a matrix like this: [code] System::Drawing::Drawing2D::Matrix^ L; L=gcnew( System::Drawing::Drawing2D::Matrix::Matrix(rect,plgpts)); [/code] rect works properly but not plgpts plgpts is an array of Points. So I make that: [code] cli::array<System::Drawing::Point>^ plgpts; plgpts=gcnew(cli::array<System::Drawing::Point, 3>); [/code] and I have this errors: Error C3149: 'cli::array<Type,dimension>' : cannot use this type …

Member Avatar for &rea
0
150
Member Avatar for &rea

Hello, I have been using C++ for not so long and today I have find a problem that I know it is not difficult but I haven't done it before so I have no idea. I have a matrix(System::Drawing::Drawing2D::Matrix^ L) and I want to apply this property OffsetX. since now …

Member Avatar for &rea
0
53
Member Avatar for &rea

Hello, I have got a problem declaring a matrix. I have got a picture (bitmap) and I take the whole image with a rectangle so I can "paste" it in a matrix. My problem is that the constructor says that I need an array of Point (Point[]) but I don't …

0
57
Member Avatar for &rea

Hello, I want to save the image binaryImage in a file (bmp) so that I can open binaryImage.bmp and this way working with it in another programme. I have tried different ways (see below) but I don't find a solution. I have no idea how to use this method.Could anyone …

Member Avatar for &rea
0
91
Member Avatar for &rea

Hello, I am programming an image application with a GUI. I open a grayscale image like this: [code] String^ s = openFileDialog1->FileName; s = s->Substring(s->LastIndexOf('\') + 1, (s->Length - s->LastIndexOf('\')) - 1); InputImageFileName = s; bmpInputImage = gcnew System::Drawing::Bitmap(openFileDialog1->FileName); [/code] then I create a new image [code] binaryImage=gcnew System::Drawing::Bitmap(bmpInputImage); [/code] …

Member Avatar for &rea
0
1K
Member Avatar for &rea

Hello, I am working with images and I have got a problem. I have this method and I want it to return an array of unsigned ints. I have not got problems of compilation but it does not work properly. Could anyone help me? Thank you in advanced. [code] unsigned …

Member Avatar for Duoas
0
164
Member Avatar for &rea

Hello, I am programming an image application for my thesis. I have got an image and I want to have the color of each pixel so I can make my own histogram. The problem is that I want to treat this histogram as an array but I don't know how …

0
58