Search:

Type: Posts; User: Lucid15

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    10,767

    ok so i got someone to show me their program...

    ok so i got someone to show me their program which i now understand. but i need to know how i can implement the other functions such as sin cos and all of that ...
    #include <stdio.h>
    #include...
  2. Replies
    7
    Views
    10,767

    Im actually pretty confused as someone helped me....

    Im actually pretty confused as someone helped me. Can you do an example of this on the + function?
  3. Replies
    7
    Views
    10,767

    supposedly i think this one works but i cannot...

    supposedly i think this one works but i cannot get it to compile. It's somebody else's in the class which i am trying to compare to..
    #include <stdio.h>
    #include <string.h>
    #include <assert.h>...
  4. Replies
    7
    Views
    10,767

    How would i fix it? just make it pop before...

    How would i fix it? just make it pop before computing the output?
  5. Replies
    7
    Views
    10,767

    Reverse Polish Notation

    I am trying to write a calculator that calculates most mathematical operations in Reverse Polish Notation. However, i know im doing it right but when i try compiling it with just cc advcalc.c it...
  6. Thread: Characters

    by Lucid15
    Replies
    35
    Views
    4,122

    what is a struct?

    what is a struct?
  7. Thread: Characters

    by Lucid15
    Replies
    35
    Views
    4,122

    i am now getting a segmentation fault.... man...

    i am now getting a segmentation fault.... man...
  8. Thread: Characters

    by Lucid15
    Replies
    35
    Views
    4,122

    But i need it to display all of which are equal...

    But i need it to display all of which are equal to the max values... so that if some are the same values at max it prints both of them.. will this do that?
  9. Thread: Characters

    by Lucid15
    Replies
    35
    Views
    4,122

    ok i think im getting somewhere now. but still...

    ok i think im getting somewhere now. but still getting an error.
    //Compares upto 100 files, and decides which one has the most characters(bytes) and which has the most words.
    #include <stdio.h>...
  10. Thread: Characters

    by Lucid15
    Replies
    35
    Views
    4,122

    lol, sorry. i fixed that didnt update it before i...

    lol, sorry. i fixed that didnt update it before i posted.
  11. Thread: Characters

    by Lucid15
    Replies
    35
    Views
    4,122

    i have this code now to just check to see if it...

    i have this code now to just check to see if it can get one file right.
    //Compares upto 100 files, and decides which one has the most characters(bytes) and which has the most words.
    #include...
  12. Thread: Characters

    by Lucid15
    Replies
    35
    Views
    4,122

    getting a "can't open (null)" code in the terminal

    getting a "can't open (null)" code in the terminal
  13. Thread: Characters

    by Lucid15
    Replies
    35
    Views
    4,122

    it still will not print the number of characters...

    it still will not print the number of characters in a file.... it just doesnt output anything..
    //Compares upto 100 files, and decides which one has the most characters(bytes) and which has the...
  14. Thread: Characters

    by Lucid15
    Replies
    35
    Views
    4,122

    sorry small typo... go off of this code. ...

    sorry small typo... go off of this code.
    //Compares upto 100 files, and decides which one has the most characters(bytes) and which has the most words.
    #include <stdio.h>
    #include <stdlib.h>
    int...
  15. Thread: Characters

    by Lucid15
    Replies
    35
    Views
    4,122

    when i try to run the program to make it just...

    when i try to run the program to make it just tell me how many characters are in a file i get a segmentation fault...
    //Compares upto 100 files, and decides which one has the most characters(bytes)...
  16. Thread: Characters

    by Lucid15
    Replies
    35
    Views
    4,122

    hmm...thank you. any more input? im still...

    hmm...thank you. any more input? im still confused as all hell
  17. Thread: Characters

    by Lucid15
    Replies
    35
    Views
    4,122

    Here is my FIXED code as of NOW.. //Compares...

    Here is my FIXED code as of NOW..

    //Compares upto 100 files, and decides which one has the most characters(bytes) and which has the most words.
    #include <stdio.h>
    #include <stdlib.h>
    int i;...
  18. Thread: Characters

    by Lucid15
    Replies
    35
    Views
    4,122

    I also need to add in that i would like my...

    I also need to add in that i would like my program to print the file name that has the most characters and/or words and if there are some that are equal print ALL of those. Im confused now..
  19. Thread: Characters

    by Lucid15
    Replies
    35
    Views
    4,122

    here is my unfinished code so far... ...

    here is my unfinished code so far...

    //Compares upto 100 files, and decides which one has the most characters(bytes) and which has the most words.
    #include <stdio.h>
    #include <stdlib.h>
    int i;...
  20. Thread: Characters

    by Lucid15
    Replies
    35
    Views
    4,122

    still getting the same warning... i wnat argv at...

    still getting the same warning... i wnat argv at 1. i compile with ./a.out then followed by the inputted file names. So i would start reading at argv[1].
  21. Thread: Characters

    by Lucid15
    Replies
    35
    Views
    4,122

    its not liking this line.. for (i=1;argv[i]...

    its not liking this line..

    for (i=1;argv[i] <= argc;i++)
    im gettting this error in the terminal when compiling
    2-9.c: In function ‘main’:
    2-9.c:12: warning: comparison between pointer and...
  22. Thread: Characters

    by Lucid15
    Replies
    35
    Views
    4,122

    Characters

    Hello,
    I am trying to make a program that will open up as many files as the user specifies in the command line (argv) and compare each file to see which has the most characters(bytes) and which...
  23. Replies
    34
    Views
    5,465

    Any luck?

    Any luck?
  24. Replies
    34
    Views
    5,465

    Ok thank you so much! That would be greatly...

    Ok thank you so much! That would be greatly appreciated, my friend and i are stumped on this problem..
  25. Replies
    34
    Views
    5,465

    The most recent one, if i enter 3,3,2,2 it shows...

    The most recent one, if i enter 3,3,2,2 it shows 2...2. When it should show 3,2. Meaning the mode is 3 and 2
Results 1 to 25 of 101
Page 1 of 5 1 2 3 4