Exemplo n.º 1
0
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;
}
Exemplo n.º 2
0
void KFList::AddKeyOrField(const char *keyOrField) {
	strcatt(2, this->m_List, " ", keyOrField);
}
Exemplo n.º 3
0
void Pairs::AddPair(const char *keyOrField, const char *value) {
	strcatt(5, this->m_Pairs, " ", keyOrField, " \"", value, "\"");
}
Exemplo n.º 4
0
SortCondition& SortCondition::store(const char *dest) {
	strcatt(2, this->m_Condition, " store ", dest);
	return *this;
}
Exemplo n.º 5
0
SortCondition& SortCondition::get(const char *pattern) {
	strcatt(2, this->m_Condition, " get ", pattern);
	return *this;
}
Exemplo n.º 6
0
SortCondition& SortCondition::limit(const char *offset, const char *count) {
	strcatt(3, this->m_Condition, " limit ", offset, count);
	return *this;
}