Search:

Type: Posts; User: thadis_4

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    1,153

    I believe I added both the .cpp and the .h to the...

    I believe I added both the .cpp and the .h to the project in both the release and debug though I will check it when I get home.

    IMalc:
    What would you suggest as a class? I only did it this...
  2. Replies
    8
    Views
    1,153

    Yeah I just decided to use my own version of...

    Yeah I just decided to use my own version of square root to do the part of the built in one though I guess now that I think of it I could of just done the C++ one +1. Also I tried adding my two files...
  3. Replies
    8
    Views
    1,153

    manasij7479: I thought I added an option...

    manasij7479:
    I thought I added an option that said add to current project though I might of either misremembered or what I clicked just did not do what I expected.

    GReaper:
    I thought...
  4. Replies
    8
    Views
    1,153

    Problems with Header Files in CB

    Hello, I am just starting to learn about classes and currently am learning about how to declare classes in a separate file though I am having trouble as I keep getting the error code saying No such...
  5. Replies
    14
    Views
    2,888

    Thank you so much for all the help you have give...

    Thank you so much for all the help you have give me, think it really helps though I have a feeling I will need to know classes the way you explained it saying shuffle() does not have a return or a...
  6. Replies
    14
    Views
    2,888

    Ok I think I understand what you are saying...

    Ok I think I understand what you are saying though it took me a little while to understand how you used the modulus. Does it work that way because you will always have some sort of remainder that...
  7. Replies
    14
    Views
    2,888

    Oh I did not think about what might happen if it...

    Oh I did not think about what might happen if it just never ended up getting the correct set for the final card.

    I see what you are saying though how would you have rand() use only cards that have...
  8. Replies
    14
    Views
    2,888

    Yeah I guess it would be easier to use a struct...

    Yeah I guess it would be easier to use a struct and I think I could find a way to where only one of each card will be drawn for the whole deck. What I was trying to do is the program would pick a...
  9. Replies
    14
    Views
    2,888

    If you do not mind me asking why would a two...

    If you do not mind me asking why would a two dimensional array not work?
  10. Replies
    14
    Views
    2,888

    Well I have it as suit_size of 3 because the...

    Well I have it as suit_size of 3 because the array would then have array elements of 0, 1, 2, 3 so gives me 4 overall and same thing with the number_size.

    And I am using a two dimensional array...
  11. Replies
    14
    Views
    2,888

    Passing two Dimensional Arrays

    I am currently working on a black jack game for a school project. I decided to set up the deck to be used as a two dimensional array to symbolis the card amount and the card's suit. I currently...
  12. Replies
    3
    Views
    1,343

    Oh wow I feel like I should of known that. Thank...

    Oh wow I feel like I should of known that. Thank you to both of you for the help.
  13. Replies
    3
    Views
    1,343

    Error In a While Loop

    I am doing some Programming exercises from the book I am learning C++ from, C++ Primer Plus. I was doing one of the examples and I have ran into a problem with some of my code.



    #include...
  14. Oh thanks for that I have been trying to look for...

    Oh thanks for that I have been trying to look for it but I do not know my away around Code::Blocks or any compiler or IDE to know what any of the stuff means really. Also how do you use smart...
  15. Oh forgot to put the * in before that and did not...

    Oh forgot to put the * in before that and did not know you had to put the number of arrays you want on the side with the new. I have two more questions though about two things you brought up. Which...
  16. Using new while creating an array of a struct

    Hey I am working on an example questions from a book and the question is asking to use an example but they want me to make it so you have an array of 3 structures using the new command. I have tried...
  17. Replies
    9
    Views
    1,472

    Oh ok Thanks for all the help. I have been...

    Oh ok Thanks for all the help. I have been learning from a book so its nice to be able to ask someone the questions about stuff the book either didnt cover or concepts I just didnt get(like...
  18. Replies
    9
    Views
    1,472

    Does the compiler also store things like strings...

    Does the compiler also store things like strings as a number or is this just something for characters?
  19. Replies
    9
    Views
    1,472

    ok so basically what I did is handled...

    ok so basically what I did is handled automatically by the compiler in this case? Think I understand this better now. Thanks.
  20. Replies
    9
    Views
    1,472

    Thanks for answering those two questions but I...

    Thanks for answering those two questions but I have one more if you have a char variable will always be treated as an interger value if its on the right side of the "="?
  21. Replies
    9
    Views
    1,472

    Question about multi-word strings

    Hey I am learning C++ from the book "C++ Primer Plus" and I am on an exercise that has me write a program to write a program to ask from a persons full name(has to be able to handle names with 2...
  22. Thread: C++ functions

    by thadis_4
    Replies
    5
    Views
    2,025

    I am just learning too and these forums have...

    I am just learning too and these forums have helped me a lot too not only by answering questions about programming but just by reading threads that others have posted and looking at their code to try...
  23. Replies
    4
    Views
    967

    Thanks everyone for the response, I was mostly...

    Thanks everyone for the response, I was mostly worried that I could do something wrong with pointers and completely screw up my computer if I didnt delete them on accident. I also know that some of...
  24. Replies
    4
    Views
    967

    Pointer Question

    Hey I am currently teaching myself C++ programming and I have a question about when I need to delete pointers to free up memory. I have been going through the examples in my book I believe I somewhat...
  25. Thread: C++ functions

    by thadis_4
    Replies
    5
    Views
    2,025

    Well I can see a few things that I can see you...

    Well I can see a few things that I can see you probably need to add. You never actually call any of the functions you declared you just created variables with the same names of the functions. If you...
Results 1 to 25 of 34
Page 1 of 2 1 2