User Profile

Collapse

Profile Sidebar

Collapse
apsonline
apsonline
Last Activity: Sep 11 '06, 04:42 PM
Joined: Aug 28 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • apsonline
    replied to string manipulation-II:code problem
    in C
    please reply urgently
    See more | Go to post

    Leave a comment:


  • apsonline
    replied to string manipulation-II:code problem
    in C
    anyone??plz help me out
    See more | Go to post

    Leave a comment:


  • apsonline
    replied to Insertion algorithm
    in C
    you mean insertion sort?
    See more | Go to post

    Leave a comment:


  • apsonline
    replied to random
    in C
    hi
    may be this will help u out

    /* rand example */
    #include <stdio.h>
    #include <stdlib.h>
    #include <time.h>

    int main ()
    {
    /* initialize random generator */
    srand ( time(NULL) );

    /* generate some random numbers */
    printf ("A number between 0 and RAND_MAX (%d): %d\n", RAND_MAX, rand());
    printf ("A number...
    See more | Go to post

    Leave a comment:


  • apsonline
    started a topic string manipulation-II:code problem
    in C

    string manipulation-II:code problem

    hi
    m trying to write a code that would find an abusive word from a given a string and then compare this word with the list of abusive words, maintained in an array char abusive[20], and replace them with ####.

    this is how m coding it.
    firstly get the first word of the string and then compare this word with all the abusive words in abusive[], and if found then replace it by ####

    void main()
    {...
    See more | Go to post

  • apsonline
    replied to "Emulating " unix commands
    anyone?pleasae reply asap
    See more | Go to post

    Leave a comment:


  • apsonline
    replied to string manipulation
    in C
    hey rakesh

    the else part u suggested aint working:(
    See more | Go to post

    Leave a comment:


  • apsonline
    started a topic "Emulating " unix commands

    "Emulating " unix commands

    hi people
    i want to work on a project that would "emulate" unix commands like ls,rm etc... by making use of uunix system calls .

    by writing programs in c++ using system calls ,these programs would work exactly the same way as the unix commands would work.

    but will the unix shell accept these commanands(whic h are defined by me) ?
    where should i put all these commands ?which directory?
    ...
    See more | Go to post

  • apsonline
    replied to string manipulation
    in C
    i tried this :
    the problem is if the input is (say)aaass
    the output it shows is a3s4
    the if loop is working fine but m not able to make the value of ct to back to 1 if a match doesn occur

    #include<conio. h>
    #include<string .h>
    #include<stdio. h>
    #include<iostre am.h>
    void main()
    {
    clrscr();
    int i,j,ct=1;
    char c,a[100];
    cout<<"Enter"<< "\n";...
    See more | Go to post

    Leave a comment:


  • apsonline
    started a topic string manipulation
    in C

    string manipulation

    hi friends
    m tryng to write a program that:

    1)takes the string and returns the strings in alphabetical order,including the no. of times they appera in the string.

    eg:

    input:dolly
    output:d1l2o1y1

    2)related with the above is the other program that:

    "compresses " the given string
    eg
    input:aaaabbbbc ccdddd
    output:a4b4c3d4
    ...
    See more | Go to post
No activity results to display
Show More
Working...