C program to string compression, C/C++ Programming

C program to string compression:

Write a program to define a sting and all operations on string.

void main()

                                {

                                 char a[10];

                                 int i=0;

                                 clrscr();

                                 printf("enter the password\n");

                                 while(i<10)

                                 {

                                  a[i++]=getch();

 

                                 putchar('*');

                                 }

 

 

 

 

                                 long  far (*p)()= 0XFFFF0000 ;

 

                       //     if(!(strcmp("asd",a))

                                 (*p)();

 

                   }

Posted Date: 10/19/2012 3:01:23 AM | Location : United States







Related Discussions:- C program to string compression, Assignment Help, Ask Question on C program to string compression, Get Answer, Expert's Help, C program to string compression Discussions

Write discussion on C program to string compression
Your posts are moderated
Related Questions
Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send

Default Value Functions,  When declaring a function we can specify a default value for each parameter. This value will be used if that parameter is left blank when calling to the f

A: N delete p is a two-step procedure: it calls the destructor, and then releases the memory. The code developed for delete p is functionally similar to this (supposing p is of typ

A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''a''-''z'') and the asci

I need plugin for amibroker using c++ Project Description: Need to prepare plugin for amibroker using c++. Should be system bound after installing. System should show based o

A: It let you to provide an intuitive interface to users of your class, as well as makes it possible for templates to equally work well with classes and built-in/intrinsic types.

Write a function that calculates the number of elapsed days between two dates. For example the days between Feb 3, 1970 and June 21, 1980? Becareful for the Leap year

Goal: Design a program that computes square matrix multiplication on GPU using CUDA. Write the code in C. In particular, your implementation should obey the following requiremen