Search:

Type: Posts; User: papous

Search: Search took 0.00 seconds.

  1. Thread: printing error

    by papous
    Replies
    2
    Views
    916

    printing error

    hi there
    my prog prompts for the number of students in a class and then for a mark for each of them.then it is supose to display a histogram of how many student have the same mark, as a bar...
  2. Replies
    5
    Views
    5,703

    help

    somebody help guys
  3. Replies
    5
    Views
    5,703

    i changed the code into this.now the characters...

    i changed the code into this.now the characters that will be printed are passed through command line via argv, but i still do something wrong.help guys


    #include<stdio.h>
    #include<stdlib.h>...
  4. Replies
    5
    Views
    5,703

    comparing chars with pointer to char

    the code below is suppose to read from a file and to print out all alphanumeric characters(a-z,A-Z,0-0) spaces and newlines, throwing away the rest.


    #include<stdio.h>
    #include<stdlib.h>...
  5. what can i say man.you are the best

    what can i say man.you are the best
  6. problem passing an option as command line argument

    This program reads a file given as command line argument
    and outputs all the lines in the file that contain the
    sequence of characters WORD. WORD is passed in as command line argument. I added an...
  7. Replies
    2
    Views
    1,908

    thanks again Salem. sometimes am realy stupid.

    thanks again Salem. sometimes am realy stupid.
  8. Replies
    2
    Views
    1,908

    line reading problem

    am posting this code again.i changed this code to read a file and write out the first line, and all non blanks lines preceded by a blank line.


    /*This program reads a file given as command line...
  9. Replies
    12
    Views
    2,806

    thanks Salem.that was real good.

    thanks Salem.that was real good.
  10. Replies
    12
    Views
    2,806

    should i better deal with EOF instead of looking...

    should i better deal with EOF instead of looking for NULL?
  11. Replies
    12
    Views
    2,806

    still not working

    here is the code,but is still not working fine:

    #include<stdio.h>
    #include<stdlib.h>

    typedef char * STRNG;
    STRNG code[80];
    STRNG get_line(FILE * inf)
    {
    STRNG s;
  12. Replies
    12
    Views
    2,806

    still not working

    here is the code,but is still not working fine:

    #include<stdio.h>
    #include<stdlib.h>

    typedef char * STRNG;
    STRNG code[80];
    STRNG get_line(FILE * inf)
    {
    STRNG s;
  13. Replies
    12
    Views
    2,806

    line reading problem

    i am trying to wtite a small program which reads a file and writes out the nmber of lines in that file.i wrote a function which reads one line which works fine.my problem is how to make this program...
Results 1 to 13 of 13