|
I will be thankful if anyone can describes me the coding of " scientific calculator by Tahir Naeem".specially MFC functions in this calculator..........plzzzzzzzzzz.......
before 4th may 2006........plzzzzzzzzzzzzzzzzzzzzzz
I m waiting.........
|
|
|
|
|
Could you stop begging? plzzzzzzzzzz plzzzzzzzz plzzzzzzzz?
|
|
|
|
|
Is it possible to open Shared Memory in a C# Windows application, that was created in a C++ app using the CreateFile, CreateFileMapping API.
(& if it is possible, can I get a hint where to start looking for some "instructions" (e.g., sample code)?)
|
|
|
|
|
i am using visual c++ 2005 in my project,i am stuck in one step i.e., converting any image given to matrix, this matrix is very essential for the futher processing my project, can any one please help in telling me how to convert the given image to matrix
|
|
|
|
|
You have to be way more specific. How is your image stored? How are you reading it in?
John
|
|
|
|
|
to be more specific here matrix means a two dimensional array of interger,
here we have to find the intensity of each pixel and store then int he array
for example consider an image with resoultion 5x5 if the intesity of
0x0 pixel is 10 and 0x1 pixel is 20 then
the matrix will be
10 20 .. .. .. ..
.. .. .. .. .. ..
.. .. .. .. .. ..
.. .. .. and so on
|
|
|
|
|
|
thank u for the participation in solving the problem sir,
to be more specific here matrix means a two dimensional array of interger,
here we have to find the intensity of each pixel and store then in the array
for example consider an image with resoultion 5x5 if the intesity of
0x0 pixel is 10 and 0x1 pixel is 20 then
the matrix will be
10 20 .. .. .. ..
.. .. .. .. .. ..
.. .. .. .. .. ..
.. .. .. and so on
and one more thing is, i am not able to find a function in visual c++ 2005 to get the intensity of the pixel, for example C-language provides getpixel function, in vc++ this function is there but it operates only on bitmap files but i need to find intensity of the pixel even to jpg, and other forms of the image file
|
|
|
|
|
this is a really big task.
i recommend you look into something like GDI+, or a toolkit like CIXImage (here on CodeProject), or even a commercial product (for example, the one at the bottom of this post).
if you want to be able to read any kind of image file into a buffer that you can pick pixels from, you're going to have to spend some time and effort with a toolkit that can handle all the file format parsing for you.
Cleek | Image Toolkits | Thumbnail maker
|
|
|
|
|
thank u for posting ur suggestion sir,
is there any other way so that i can distinguish each and every pixel apart from intensity of the pixel
|
|
|
|
|
Hi,
AFIK there is no other way to distinguish pixels becuase an image is a record of intensity values.
But you can use the derivatives of the intensity value like brightness, contrast, color, gamma etc...
Regarding your first question...I second chris...because its a huge task to convert any image into a matrix form. Better you opt any tools or libraries. Or else do it for the widely used image formats instead of all.
Bye,
Cool Ju
Dream Ur Destiny
|
|
|
|
|
Hello all;
I have build an mfc application and added a microsoft web browser activex control to the application.
Now I need to record (save into a file) the position of user mouse clicks. How do i do that ??
Thanx
llp00na
|
|
|
|
|
|
I would like to create a program that would start another program running (multiple times but I'll start with just once). I'm not sure the best way to go about this, any thoughts? I was thinken maybe initiating a bat file. however I am not sure about how to go about this either. I've tried the open(c:\\M2.bat,...) function but I seem to get an -1 in the handle. any thoughts would be great.
I'm using C++ Builder.
Cheers*
|
|
|
|
|
Debs* wrote: I would like to create a program that would start another program running (multiple times but I'll start with just once).
See here.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"We will be known forever by the tracks we leave." - Native American Proverb
|
|
|
|
|
Cheers* Exactly what I needed.
|
|
|
|
|
how to determine programmly if the floating number gets this value?
its after beign printed out thru printf() that reveals the floating number equal to such strange value
|
|
|
|
|
float s have 3 unprintable values :
- NaN : Not a number (like tan(pi/2))
- negative infinite
- positive infitite
here, you have a NaN ...
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
how to dermine if it is NaN or positive, negative infinity?
9ine
|
|
|
|
|
|
It stands for INDefinite, which is a quiet NaN.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"We will be known forever by the tracks we leave." - Native American Proverb
|
|
|
|
|
I'm using the grid control from
http://www.codeproject.com/miscctrl/gridctrl.asp[^]
I placed a custom control, and made it of class MFCGridCtrl as the article says to.
And I #include "gridctrl.h". However I dont see this custom control (which I name IDC_GRID) in the class wizard, in the member variables tab. What do I need to do to make this grid show up in the cwizard?
thanks,
sb
|
|
|
|
|
Remove (or bettter, change its name ) the .clw file in your project folder. Then reopen class wizard and it will ask you to rebuild the file from source, say yes.
This should work.
|
|
|
|
|
Thanks!Appreciate your help!
I see it now.
|
|
|
|
|