Search:

Type: Posts; User: awkeller

Search: Search took 0.00 seconds.

  1. Thread: Need help

    by awkeller
    Replies
    2
    Views
    2,630

    Need help

    Here is the errors I am getting:

    project7.c: In function `choices':
    project7.c:82: warning: passing arg 2 of `delete' makes pointer from integer wit...
  2. Variable Allocation in a simple operating system

    I am getting the following errors for my program:
    line 138: unterminated string or character constant
    line 35: possible real start of unterminated constant
    For the program I am supposed to allow...
  3. Replies
    1
    Views
    1,391

    need help quick

    i need help quick, how do i get my program to print the total moves????? thank you. here is my code:

    int towers(int, int, int, int);

    int level[3];
    int main()
    {
    /* Gets input from user */...
  4. Thread: Total moves

    by awkeller
    Replies
    3
    Views
    1,452

    I tried figuring out how to print the total...

    I tried figuring out how to print the total moves, I tried the following but it always says "Total moves: 1" no matter how many disks i enter.

    #include<stdio.h> ...
  5. Thread: Total moves

    by awkeller
    Replies
    3
    Views
    1,452

    Total moves

    Where and how would I add a part in my program that tells how many moves were done? here is my code:

    #include<stdio.h>
    void...
  6. Replies
    7
    Views
    2,556

    Stone_Coder What is the code in C not C++?

    Stone_Coder
    What is the code in C not C++?
  7. Replies
    7
    Views
    2,556

    The Towers of Hanoi

    I have to write a program that the user enters the number of disks from tower 1 to tower 3. The rules are: only one disk can be moved at any time and no disk can be placed on top of a disk with a...
  8. Thread: Arrays

    by awkeller
    Replies
    13
    Views
    1,556

    If you can't say anything nice, then just keep...

    If you can't say anything nice, then just keep your damn mouth shut. Just because you may be somewhat of an expert, doesn't mean you put down everyone else. If you don't like what they posted or...
  9. Replies
    3
    Views
    1,388

    why are you floating n if you want them to enter...

    why are you floating n if you want them to enter an integer?
  10. Thread: Arrays

    by awkeller
    Replies
    13
    Views
    1,556

    so would this work forl array t[2][5]? for...

    so would this work forl array t[2][5]?

    for (row=0, row < 2, row++)
    for (column=0, column < 5, column++)
    t[row][column]=0;
  11. Thread: Arrays

    by awkeller
    Replies
    13
    Views
    1,556

    is this right?: for (row = 0; row

    is this right?:

    for (row = 0; row <=2; row++)
    t[row][5] = 0;
    for (column = 0; column <=5, column++)
    t[2][column] = 0;

    im still tryin to figure out the part about printing the elements of the...
  12. Thread: Arrays

    by awkeller
    Replies
    13
    Views
    1,556

    Arrays

    How would I write a nested for statement that initializes each element of the array t[2][5] to zero?

    Also how do I display the elements of the first row of array t[2][5]?

    Thank you.
  13. Replies
    4
    Views
    1,286

    Multiplication problem

    My code is part of a calculator program. it computes
    4
    *
    4
    E
    and then gives the answer 16 which is correct but if i do more than 2 numbers, the answer is completely wrong giving crap. why does...
  14. Replies
    1
    Views
    896

    Segmentation fault

    what does a segmentation fault mean????
  15. Replies
    3
    Views
    1,340

    Need Major Help On My Program!!

    My program is to calculate the value of an expression involving arithmetic operators. The expression should be evaluated based on operator precedence. The program should prompt the user to input the...
  16. Thread: Help!!!!

    by awkeller
    Replies
    1
    Views
    870

    Help!!!!

    I'm not asking anyone to do my homework but I am desperate to get help. I need a huge boost in the right direction. My program is to calculate the value of an expression involving arithmetic...
  17. Thread: math program

    by awkeller
    Replies
    1
    Views
    826

    math program

    for my math program, how do i tell it to carry out the operations, for example if the user entered:
    3
    *
    9
    -
    2
    +
    5
    E(termination character)
  18. Thread: Termination

    by awkeller
    Replies
    2
    Views
    1,467

    Termination

    How do I write a line in a program that will terminate the program if the user enters E?
    for example they will be doing a math problem and it should go like this:
    34
    *
    2
    +
    9
    /
    3
    E (this...
Results 1 to 18 of 19