Search:

Type: Posts; User: Guru_

Search: Search took 0.01 seconds.

  1. Thread: Problem

    by Guru_
    Replies
    4
    Views
    1,004

    Seems I can't change the title now.

    Seems I can't change the title now.
  2. Thread: Problem

    by Guru_
    Replies
    4
    Views
    1,004

    Problem

    It doesn't display the cost correctly. It just calculates the total x without taking into account the discount. What would I have to change/add to get the total cost after it calculates the discount?...
  3. Thread: Coding trouble

    by Guru_
    Replies
    11
    Views
    1,359

    :eek:what?

    :eek:what?
  4. Thread: Coding trouble

    by Guru_
    Replies
    11
    Views
    1,359

    Parts of the code I didn't post. The main trouble...

    Parts of the code I didn't post. The main trouble I have is on the if else then part
  5. Thread: Coding trouble

    by Guru_
    Replies
    11
    Views
    1,359

    Coding trouble

    Fixed!
  6. Replies
    18
    Views
    8,843

    D'oh xD Thanks for everyone's help.

    D'oh xD

    Thanks for everyone's help.
  7. Replies
    18
    Views
    8,843

    I don't end up with the same results.

    I don't end up with the same results.
  8. Replies
    18
    Views
    8,843

    [QUOTE=dwks;888729]I get two solutions from my...

    [QUOTE=dwks;888729]I get two solutions from my methods, and presumably the first one is invalid (it starts with a 0). I first used an extremely inefficient brute force method, the bulk of which looks...
  9. Replies
    18
    Views
    8,843

    Forgot the 4. There should be only solution but...

    Forgot the 4. There should be only solution but the answer I'm getting doesnt match.
  10. Replies
    18
    Views
    8,843

    I only get 2 solutions. This is what I have...

    I only get 2 solutions.

    This is what I have for part of the loop.
    if((100*T+10*O+O)==1000*G+100*O+10*O+D)
  11. Replies
    18
    Views
    8,843

    c++ program not working

    Solved. Thanks for everyone's help >3
  12. Replies
    2
    Views
    1,255

    Actually I have it defined, I just didnt paste it...

    Actually I have it defined, I just didnt paste it xD

    int count_file_values(char input_filename[]);
    void load_array_from_file(char input_filename[], int things[], int array_size);
    void...
  13. Replies
    2
    Views
    1,255

    Character problem

    I’m trying to code a program that displays the alphabet in alphabetical order. The file has the letters in random order and then I coded to where its in alphabetical order. The problem is when I...
  14. Thread: Question?

    by Guru_
    Replies
    3
    Views
    1,079

    I understood the avg = sum part, but what did you...

    I understood the avg = sum part, but what did you mean before that?
  15. Thread: Question?

    by Guru_
    Replies
    3
    Views
    1,079

    Question?

    How do I find the average of the values that are within the array? I was planning on using interger division since I'm using interger values.



    #include <iostream>
    #include <fstream> ...
  16. Thread: C++ Question

    by Guru_
    Replies
    3
    Views
    1,002

    C++ Question

    The problem I have is how to do a switch where I have to call the certain choices.




    int main(void)
    {
    do
    {
    cout << "Hello there ." << endl;
Results 1 to 16 of 18