Search:

Type: Posts; User: Troll

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,500

    You are a genius. Much thanks!

    You are a genius.

    Much thanks!
  2. Replies
    2
    Views
    1,500

    I'm so close! Minesweeper

    There's just this tiny logical error in my code somewhere.

    There's mulitple print outs that won't appear in the final program, but I'm using them to figure out were I went wrong. How do I get the...
  3. Thread: Minesweeper!

    by Troll
    Replies
    6
    Views
    2,330

    Thank you guys! Part of the problem was that I...

    Thank you guys! Part of the problem was that I was using a bad console. I copy-pasted my code into a new console wizard and it compiled beautifully after the corrections.

    Thanks again!
  4. Thread: Minesweeper!

    by Troll
    Replies
    6
    Views
    2,330

    Thank you! It sure does help. However, those...

    Thank you! It sure does help.
    However, those linker errors are still haunting my code(and my conscience)



    #include <iostream>
    #include <conio>
    #include <iomanip>
    using namespace std;
  5. Thread: Minesweeper!

    by Troll
    Replies
    6
    Views
    2,330

    Minesweeper!

    I'm nearly finished now and I need help fixing errors.
    Any help would be greatly appreciated.

    I get three Linker Errors. How do linker errors occur?




    #include <iostream>
    #include <conio>
  6. Replies
    4
    Views
    1,384

    Thank you! I'll most likely have other questions...

    Thank you! I'll most likely have other questions later tongiht.
  7. Replies
    4
    Views
    1,384

    another two-dimensional array question

    This is a minesweeper game program with the goal of finding 5 bombs by making coordinate guesses: Here's my main function so far. My question is, why do I get an "Undefined symbol 'minefield' "...
  8. Replies
    2
    Views
    989

    Thank you very much!

    Thank you very much!
  9. Replies
    2
    Views
    989

    two-dimensional array question

    I'm starting to design a basic minesweep type program. The minefield is going to be a two-dimensional array. When it prints out, the field gets shifted over one space in the 10th row since 10 is...
  10. Replies
    6
    Views
    1,439

    Alrighty! I could have sworen I changed that...

    Alrighty! I could have sworen I changed that also.

    Everything works as intented now.

    Thanks for the quick help! Have a great week!
  11. Replies
    6
    Views
    1,439

    Ok, lets try again with updated code.... I'm...

    Ok, lets try again with updated code....

    I'm still not getting a Char answer, or any answer for that matter for a letter grade.




    #include <iostream.h>
    #include <fstream.h>
    #include...
  12. Replies
    6
    Views
    1,439

    Thank you so much! now there's only one...

    Thank you so much!


    now there's only one more problem. the character grade that's supposed to be derived from the If-Else If statements isn't giving me a character....

    Thank you.
  13. Replies
    6
    Views
    1,439

    File Input and mutator/accessor function help

    #include <iostream.h>
    #include <fstream.h>
    #include <conio.h>
    using namespace std;



    class Student
    {
    private:
  14. Replies
    3
    Views
    1,005

    Ok, I fiddled with it a bit and this seems to...

    Ok, I fiddled with it a bit and this seems to work. (which follows your advice)

    Thank you very much!




    GolfHole get_golf_hole_info()
    {
    GolfHole info;
  15. Replies
    3
    Views
    1,005

    I don't quite know how to correct my code with...

    I don't quite know how to correct my code with your suggestion.

    "Add cin.ignore() after using cin >> and before calling getline() or get(). You could also just always call cin.ignore() after cin...
  16. Replies
    3
    Views
    1,005

    getline statement

    In the function at the bottom, I need a getline statement to accomodate the cin statement so that we can enter a string of text with spaces in it for "hole_type". I ran the program and after...
Results 1 to 16 of 16