int main( )
char n ;
int no = 0 ;
printf("Enter a no " );
while( (n = (char)getche( )) != '\r') //Check for enter key
if( n >= '0' && n <= '9' )
n = n - 48 ;
no = (no * 10) + n ;
printf("\n %d " , no ) ;
return 0 ;
i,m astuedent in university ,and my doctor want from every student aproject ,and i want code to make from that (requirement,design,and testing) please send me code by c++ language such as about how identification digit system works and welcome
I think what your teacher wants is for you to develop the project yourself.
Pick a topic.
Read up on it. (Google is a good place to start.)
Get working on it.
If you have some specific problem with some detail, come back here and ask a question.
We are not in the business of writing your project for you.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
When I am designing a dialog box with static text boxes to display numbers can I initialize control variables as arrays through the wizard?
As an example, say I am collecting information in 8 channels and would like to display this information in a 8 separate text boxes. I want to store the information in the variable int m_chan but I don't see the array option in the 'Add Variable...' in VS2010.
The wizard is limited; you should get used to skip the wizard. Many times it's even faster to add something to your code, than using the wizard. What you want is possible (as shown already), but not with the wizard.
I have created a win32 dll(VC++). And I know the appropriate .net assembly file which contains the required methods.
I want to access those methods from my DLL.
I came to know , it can possible through C++/CLI interface.
But i'm very new to C++/CLI . So kindly help me to create such interface in C++ which can access those methods using certain assembly/any way.
If have any any sample example (running),then please share me soon. I tried a lot in google , but till now i didn't get any helpful samples .
That is problematic. I am rather certain it is not easy even for an experienced programmer. So rather than figuring out details your going to be fighting your lack of knowledge.
It the following a possible solution?
1. Create an managed C++ executable. It wraps your target library and provides the functionality that your other app needs (from the library.)
2. Provide a communications API for that executable. Either sockets, files or stdin/out.
3. Test it
4. Use unmanaged C++ system calls to run the executable and communicate with it.
litu kumar wrote:
If have any any sample example (running)
Google seemed to provide plenty of answers. I used the following.
How do you get every string from every element, control and window from a running process. I am creating an app that keeps people focused and on-task, and what I wanna do is scan every running process, and if the process contains a restricted word from anything (whether be buttons, text boxes, the window title, the text on the window of the application process), it will be closed immediately.
Simple Thanks and Regards,
Brandon T. H.
Programming in C and C++ now, now developing applications, services and drivers (and maybe some kernel modules...psst kernel-mode drivers...psst).
Many of life's failures are people who did not realize how close they were to success when they gave up. - Thomas Edison
Last Visit: 31-Dec-99 18:00 Last Update: 28-Jul-15 13:31