Views
Edit Set
Welcome to my blog :-) .If you're new here, you may want to subscribe to my full RSS feed. Thanks for visiting!
EditSet:
This will be great useful in strings.You can specify the characters you want to include or exclude in C.This will work with scanf.
Include set:
Ex:scanf(”%[a-z]“,a);
means it will read all the characters between a to z and if other character in encountered, it will stop reading the variable.
Ex:if the input is adithyaU, then the value of string variable ‘a’ will be adithya only.
You can specify the individual chars also
Ex:scanf(”%[a,d,i]“,a);
will read only the chars a,d,i
if input adithya then the value of ‘a’ will be adi only.
Special characters and white spaces may also be included in the edit set
Ex:scanf(”%[*],a);
will read only chars *
Exclude set
ex:scanf(”%[^t]“,a);
means it wil read all the characters until t is encountered
Here all the chars means special chars and white space chars are also included.That means draw back of scanf over gets can be overcome by using exclude set
if i input adithya then the value of ‘a’ will be adi
ex:scanf(”%[^A-Z]“,a);
means no Capital’s are allowed
ex:scanf(”%[^\n]“,a);
read ALL chars until enter key is encountered(Function as gets())
The use of edit set is illustrated in the following program:
Write a c program which makes scanf to accept the special as well as white space chars
Example Program:
#include<stdio.h>
void main()
{
char str[100];
printf(”Enter any string\n”);
scanf(”%[^\n]s”,str); //<—– Imp step——–
printf(”\n You entered string %s \n”,str);
}
Views
Presenmaker 1.0
“convert your ideas into animation…”
Presenmaker stands for presentation maker. It’s a free software developed by me which can be used to create interactive agent animations in seconds. By using Presenmaker you can convert a lengthy text file into agent animation. It is very useful to create interactive presentations, tutorials, to read lengthy lessons etc…
Features in Presenmaker 1.0
* Text to speech
* Create interactive agent animations with various options
* Read clipboard option
* Convert a text file into agent animation
* Export the agent animation as VB script which can be viewed in any computer
* Watch clipboard option
* Password protection
* 3 agents are supported :Merlin, genie and James
* Reminding services for agent animations
* Read a text file option and many more
System requirements
To use Presenmaker, the requirements are:
1. Windows 2K, XP, 2003,vista or higher (There is a little problem in case of windows 98 and I am trying to solve it).
2. .NET framework 2
Download

File name: install presenmaker.exe
File size: 8.05 MB
Link1
Link2
Note: Installation will take some time. Have patience.
You can open Presenmaker by selecting Start>>All programs >> adithya>> presenmaker. It is recommended to close all the windows before using Presenmaker.
Before using Presenmaker, make sure you read online help documentation or view Presenmaker tour.
And don’t forget to give responses. Your responses are very critical to me. If you have any suggestions or detected any bugs, post it here. At least tell me whether you have downloaded the software or not. This is just the initial release version and the future versions will include many many more features…



