Search:

Type: Posts; User: deckoff8

Search: Search took 0.01 seconds.

  1. Problem with K&R function getword (page 136) and '\n'

    Hey guys. I'm doing one of the K&R exercises, 6-3 to be exact, and I am hitting a bit of a snag. The getword function they provided for me is

    #include <getch.h>
    #include <ctype.h>

    int...
  2. Replies
    5
    Views
    1,455

    Interesting. The double quotes thing didnt work,...

    Interesting. The double quotes thing didnt work, What did work was putting a single quote after the *, so it was

    expr 2 2 *'
    is this difference because I am running vista?
  3. Replies
    5
    Views
    1,455

    * key in command prompt

    Hey guys. I was trying to write a Polish Calculator to run from the command line, and it didn't work because everytime I typed in "*" it would recognize it as a list of every program in the same...
  4. Replies
    7
    Views
    980

    that is really weird. it works now. Thanks for...

    that is really weird. it works now. Thanks for the help :)
  5. Replies
    7
    Views
    980

    The code is the thing in the first post. So I...

    The code is the thing in the first post. So I saved that file as "find" in a folder, go into command, go to my folder, and type in
    find "-x whatever"
    However, that treats "-x whatever" as one long...
  6. Replies
    7
    Views
    980

    I got it mostly to work, I just had to do find...

    I got it mostly to work, I just had to do find "whatever" to bring let me type in stuff to find out whatever. However, I couldn't get the -n or -x option to work. Could someone help a newbie please?...
  7. Replies
    7
    Views
    980

    Thanks for the reply. What parameters do I want...

    Thanks for the reply. What parameters do I want exactly? I named my file find, and so i type "find whatever", and it says parameter format not correct.
  8. Replies
    7
    Views
    980

    Question on section 5.10 from K&M

    Hey guys, newbie to programming here, was hoping someone could explain something to me. I'm using the K&M second edition, and now I'm at section 5.10 on Command-Line Arguments and I have no clue...
  9. Replies
    1
    Views
    1,742

    K&M exercise 1-24

    Hey guys. I was having some trouble with exercise 1-24 in the K&M. I asks for a program to check a C program for rudimentary syntax errors like unbalanced parentheses, brackets and braces. I know my...
  10. Replies
    2
    Views
    1,178

    Ah. Yeah that got it. Thanks a bunch smokeyangel...

    Ah. Yeah that got it. Thanks a bunch smokeyangel :)
  11. Replies
    2
    Views
    1,178

    Exercise 1-13 in K&M

    Hey guys. Have been self teaching myself programming and got stuck on another problem. For problem 1-13 in the K&M, it asks for a program that makes a histogram of lengths of words. I figured that...
  12. I did not and that solved it. Thanks a lot :)

    I did not and that solved it. Thanks a lot :)
  13. Really newbie question from C Programming Language by Kernighan

    Hey guys. Just started learning to code, and loving it so far. However, I have hit a snag with the often recommended C Programming Language by Kernighan and Ritchie, so I thought I would ask here.
    ...
Results 1 to 13 of 13