thx for time i try to play around with codes
Type: Posts; User: evilangel6
thx for time i try to play around with codes
#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
char *pt;
int prt;
int check_string(char *s);
int is_in(char *s,char c);
char str[20],chr;
void startmenu();
void startchoice();
think my compiler doesnt support getch()
tried it but still cant work
void enterstring()
{
fflush(stdin);/*does this work better than getchar()?*/
printf("\n\n\n\n\n\t\t\tenter a...
void enterstring()
{
while(getchar()!='\n');
printf("a string:");
fgets(str,20,stdin);
while(*str=='\n'||*str=='\0')
{
printf("\t\tneed to enter a...