Search:

Type: Posts; User: mytrademark

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    646

    Thank you both so much. Works perfectly now!

    Thank you both so much. Works perfectly now!
  2. Replies
    4
    Views
    646

    I currently just put 'd' in the &apos spot...

    I currently just put 'd' in the &apos spot because I wanted to see if it would compile and run
  3. Replies
    4
    Views
    646

    Little bit of help please

    I am writing a program which reads in strings from a file in.txt and then converts it to html friendly text and outputs it to out.txt. When I try to run it I get a segmentation fault, so I am not...
  4. Replies
    2
    Views
    1,528

    Oh, and I know there are variables I didn't use,...

    Oh, and I know there are variables I didn't use, sorry for any confusion regarding that.
  5. Replies
    2
    Views
    1,528

    Ordering strings in an array by length

    So for this program I have to have the user input 10 strings. Then the menu asks them how they would like their strings outputted. The first two options (which are print the way they were input, and...
  6. Replies
    4
    Views
    1,678

    I just get confused with exactly how to get what...

    I just get confused with exactly how to get what I want out of the function.

    Okay so I have fixed up most of what I need, the only part I really don't get right now is how to use pointers properly...
  7. Replies
    4
    Views
    1,678

    Help with max value of an array

    Hi, my program needs to return the max value of an array given the input of the user. I believe I am pretty close to getting it to work, but I know I have a few errors. Calling functions still...
  8. Replies
    2
    Views
    1,967

    This is what I am getting when I run it: ...

    This is what I am getting when I run it:


    trademark@bravo:~/60-106$ ./a.out
    MAIN MENU
    ============
    Option Action
    ------ ------------------------------------------
    A - Purchase...
  9. Replies
    2
    Views
    1,967

    Can't get loop to keep running

    I'm not sure why, but after I give the input when it prompts me, my program ends.

    Here is my program:



    #include<stdio.h>
    #include<ctype.h>
    #include<string.h>
  10. Replies
    3
    Views
    1,432

    Okay so I worked on it for a bit and I'm getting...

    Okay so I worked on it for a bit and I'm getting much closer. This is what I've changed it to.



    #include<stdio.h>

    int main()
    {

    int width=0;
  11. Replies
    3
    Views
    1,432

    Help with part of program

    I have two thirds of my program working, but the last part I am having a hard time figuring out.

    For the last part of the program it should output a 'plus' symbol using asterisks. The size of this...
  12. Replies
    3
    Views
    1,087

    Perfect, thanks a lot for the help.

    Perfect, thanks a lot for the help.
  13. Replies
    3
    Views
    1,087

    Also, I deleted the comment that I posted at the...

    Also, I deleted the comment that I posted at the beginning of the program so the line that the error is occurring on should actually be 23. Sorry for any confusion.
  14. Replies
    3
    Views
    1,087

    Error that I can't figure out.

    Hello, I am writing a program for one of my classes and I've worked out all of the errors except one. I've spent the last hour trying to figure out what I've done wrong but I still can't. Any help...
  15. Replies
    9
    Views
    886

    Thanks for all the help, there are just a few...

    Thanks for all the help, there are just a few syntax errors left that I can't figure out.




    #include<stdio.h>
    void readdata (float*, float*, float*, float*, float*);
    float area (float,...
  16. Replies
    9
    Views
    886

    Help please

    Hi, I've been trying to get this program to work for class. I have been having trouble with functions and decided to make the program more simple, but I am still getting errors. Any help would be...
Results 1 to 16 of 16