int main() { char s[100]="mridul malpani ",*q,*p=" -5623"; const char a="fada"; const char * b="asas"; int d; a=b; q="wants to f**k heena"; strcatt(s,q); printf("--%s",s); printf("\n%s %d %d %d",q,strlen(q),strcmp(s,q),atoi(p)); getchar(); return 0; }
void KFList::AddKeyOrField(const char *keyOrField) { strcatt(2, this->m_List, " ", keyOrField); }
void Pairs::AddPair(const char *keyOrField, const char *value) { strcatt(5, this->m_Pairs, " ", keyOrField, " \"", value, "\""); }
SortCondition& SortCondition::store(const char *dest) { strcatt(2, this->m_Condition, " store ", dest); return *this; }
SortCondition& SortCondition::get(const char *pattern) { strcatt(2, this->m_Condition, " get ", pattern); return *this; }
SortCondition& SortCondition::limit(const char *offset, const char *count) { strcatt(3, this->m_Condition, " limit ", offset, count); return *this; }