Actually i am implementing an application for smart card.
But i am confused. whether the read and write methods of SLE4418_28 and
SDI010 will be same or different. I have a sample code for SLE4418_28. So can this code help me to implement the read and write methods for SDI010.
Thanks for your the answer, but I want to understand why after stage 6, str1 and strref have not been changed after str2 changed to "bb" ?
It's important for me to understand this, probably I miss something.
Well, you know, roughly speaking, a reference is a sugar-added-pointer, so let's write your code again, this time using the real thing (BTW no need to say that Klingon developers don't use references, references are for sissies... )
I am wondering if I can use a VC6 program to remote control another windows application runing on the same XP desktop ?
ie Can a VC6 program send messages to another windows application to perform actions on it that the user would normaly do with the keyboard and mouse. Essential the analogy is that of pipeing input into a command line program from another source, eg a file.
Perhaps there is a windows application that will already do this without me needing to write one ?
Yes, this can be done. You can write your own or look into automated testing frameworks that do this kind of thing. They usually allow you to write a test script that specifies all mouse and keyboard actions that are sent to the target window.
If you're using VS 2008, you could download and install the MFC Feature pack for Visual C++ 2008[^]. The MFC library has been enhanced to support feature rich UI with office ribbon control, and other funky stuff. I've not used that much, but there are some sample projects that can be downloaded from MSDN.
It is a crappy thing, but it's life -^Carlo Pallini
The file format is defined as followed:
• Every line contains one point
• The point definition contains x, y and z coordinates delimited by a space character
• Each line is ended by the new line character
Please note that only “visible” points from top view must be written to the file (the skin of the point cloud from top view) (Illustration 4).
1. Point class for the definition of a point in 3d and (some) methods for vector algebra
2. Strictly use of STL and C++ stream library
3. Visual C++ 6.0 or .NET as a development environment
4. High level test function to test the resulting component. This defines also the “interface” of the component to be written.
- Create a small documentation 1 page with 2 pictures to present the mathematical approach of the sphere move point intersection. It should clearly communicate the mathematical approach and how the “mathematical” code is generated from that
- Use of vector algebra (dot product, cross product etc.) is highly recommended. The use of sin and cos functions is not desired.
Calculation speed is important but secondary in comparison to a good object oriented approach. E.g. a sphere, linear move of a sphere, point writer etc. should be modeled as classes. Try to use many of compact classes instead of large classes and large functions.
- Comments in the source code are welcomed. Please use “good” names for classes and functions.
- Move of a sphere between f (t) and f (t Δt) can be assumed as a linear move of the center of the sphere.