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...
Type: Posts; User: deckoff8
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...
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?
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...
that is really weird. it works now. Thanks for the help :)
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...
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?...
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.
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...
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...
Ah. Yeah that got it. Thanks a bunch smokeyangel :)
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...
I did not and that solved it. Thanks a lot :)
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.
...