User Profile

Collapse

Profile Sidebar

Collapse
xx1level1xx
xx1level1xx
Last Activity: Nov 28 '06, 07:06 AM
Joined: Nov 8 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • xx1level1xx
    replied to delete an alphabet
    in C
    I m a neophyte and this is my nonworking code:


    [void deleteS(char *str)
    {
    char* source= str;

    while(*source!= 0)
    {
    *source=*str;
    if (str!="S" ||str!="s")
    {

    source++;
    str++;
    }
    else if (str=="S"|| str== "s")
    {
    str++;
    ...
    See more | Go to post

    Leave a comment:


  • xx1level1xx
    replied to delete an alphabet
    in C
    ooop it should be void deleteS(char* str)
    See more | Go to post

    Leave a comment:


  • xx1level1xx
    started a topic delete an alphabet
    in C

    delete an alphabet

    #

    Write a function named deleteS that accepts one character pointer as a parameter and returns no value. The parameter is a C string. This function must remove all of the upper and lower case 's' letters from the string. The resulting string must be a valid C string.

    Your function must declare no more than one local variable in addition to the parameter; that additional variable must be of a pointer type. Your function...
    See more | Go to post

  • xx1level1xx
    started a topic help on mingle function
    in C

    help on mingle function

    How would i make the following function???? confused

    int mingle(const string a1[], int n1, const string a2[], int n2,
    string result[], int max);
    If a1 has n1 elements in nondecreasing order, and a2 has n2 elements in nondecreasing order, place in result all the elements of a1 and a2, arranged in nondecreasing order, and return the number of elements so placed. Return -1 if the result would have...
    See more | Go to post
No activity results to display
Show More
Working...