The source file sample.txt contains:
EDIT
BLAH
WHATEVER
and, what I get in output of this program is :
Type: Posts; User: keats
The source file sample.txt contains:
EDIT
BLAH
WHATEVER
and, what I get in output of this program is :
Yes, this is the only thing that I am concerned right now, No I do not delete it. See:
int ccarray_insert(ccarray *c, char* str, int pos)
{
c->ptr[pos] = str;
printf("%s ", c->ptr[pos] );
}
ok changed:
#include <stdio.h>
#include <string.h>
#define WORD_LIST(X) "resource/" X
typedef struct char_type
I dont know whats terribly going wrong with this, well I know there's some memory allocation with this but I tried hard to fix it and when it gets fixed it doesn't shows up the desired value, this is...
The backspace problem is solved with the following code ...
if(key == 0x0a || key == 0x0d)
if(x != MAXX && y !=MAXY)
key = '\n';
cprintf("%c",key);
if(key ==...
in this part by the help of gotoxy(), I'm first looking at the current location of x and y and then moving one space back on x-axis ... but as you said to expand it, I did it in the program quoted...
Please Please Please Help me, gotoxy() along with the weird working of backspace is driving me crazy ... the comments are given with the stepts where I am falling ...
BTW ... this is the code for...
im not doing string comparison, im doing comparison character by character ...
Here's the code but its still not working ...
#include<stdio.h>
#include<conio.h>
#define LIM 100
#define TRUE 1
void swapCh(char var1,char var2)
Actually I wanted to do it manually, without using stings.h header file ... I have said this above ... and its also probably on bold ....
Actually I was supposed to make a program to check for a entered string that weather its a palindrome or not, I wanted to make a function isPal() but it all jinxed and im all confused where to start...