Search:

Type: Posts; User: abhiii

Search: Search took 0.00 seconds.

  1. Thread: newbie question

    by abhiii
    Replies
    1
    Views
    821

    newbie question

    hi
    I'm trying to write a program which counts the number of occurances of a given word .The program i wrote isn't working properly what is the mistake in the program

    # include <stdio.h>

    main...
  2. Replies
    2
    Views
    2,187

    help with homework

    hi
    I have to write a program of a vertical histogram of the letters of the alphabets.It should be like
    * *
    * * *
    * * * *
    * * * *
    a b d f
    so far i have been able to calculate the...
  3. Replies
    8
    Views
    1,499

    I tried by placing If (argv[1] == "-r") ...

    I tried by placing


    If (argv[1] == "-r")

    and


    if ((argv[1] == "-" )&& (argv[2] == "r"))
  4. Replies
    8
    Views
    1,499

    command line arguments problem

    Hi,
    I have to write a program which accepts a set of numbers and sort them in descending order and if "-r" is included in the command line then it should sort the numbers in ascending order.The...
  5. Thread: newbie question

    by abhiii
    Replies
    1
    Views
    977

    newbie question

    Hi,
    I'm trying to write a program which just reads from a file and prints the characters on the screen, plz take a look at the code and tell me whats wrong


    # include <stdio.h>
    # include...
  6. Thread: need help

    by abhiii
    Replies
    23
    Views
    2,651

    need help

    Hi
    I'm still learning programming in c and i have a problem with a program which is supposed to read the contents of a file specified in the command line argument and print the contents of the file...
Results 1 to 6 of 6