Search:

Type: Posts; User: setleaf

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Oops! Yeah I totally meant to multiply.

    Oops! Yeah I totally meant to multiply.
  2. If you want to keep the current variables you...

    If you want to keep the current variables you have then you need to initialize a discountPercentage with ".50". Then read the char into discountHalfOff. As for your if statement it's if...
  3. So how far have you gotten with the code?

    So how far have you gotten with the code?
  4. Replies
    103
    Views
    10,198

    I play golf pretty regularly in the summer, and...

    I play golf pretty regularly in the summer, and try to go snowboarding once or twice each winter. I thoroughly enjoy firearms and shooting, both for recreational and hunting purposes. I would like...
  5. If I had to just choose one, it would probably be...

    If I had to just choose one, it would probably be Accelerated C++. I really like how the book teaches its material, and you can always find a C++11 new features guide or something online to look at...
  6. Hi, welcome to the forums! I'm new to...

    Hi, welcome to the forums! I'm new to programming also, and I chose to go with C++ as my introductory language. The tutorials on this website got me started, but I've also purchased a few books...
  7. I'm currently going back and forth between...

    I'm currently going back and forth between reading Accelerated C++ and ​Programming: Principles and Practice Using C++ (2nd Edition). I think both books have a lot to offer a new comer like myself,...
  8. Replies
    136
    Views
    6,739

    *Forest Gump Voice* Sorray for ruining yo debaate.

    *Forest Gump Voice* Sorray for ruining yo debaate.
  9. Replies
    136
    Views
    6,739

    I just bought a new computer with windows 8.1...

    I just bought a new computer with windows 8.1 installed. :eek:
  10. Replies
    55
    Views
    2,313

    Unless you enter a negative number then value...

    Unless you enter a negative number then value will never be less than lowest because it's initialized to 0.
  11. Replies
    55
    Views
    2,313

    Did that work for your problem? I still don't...

    Did that work for your problem? I still don't quite understand why your dividing your average by 7. Once you subtract high and low from average, it essentially contains only 5 entries...so dividing...
  12. Replies
    55
    Views
    2,313

    If you're trying to get the average of the 5...

    If you're trying to get the average of the 5 numbers that are not the lowest or the highest, wouldn't you only divide them by 5 instead of 7? The way I would go about this is checking rather the...
  13. Replies
    3
    Views
    1,060

    Thanks for the information! Seems like a pretty...

    Thanks for the information! Seems like a pretty cool feature.
  14. Replies
    3
    Views
    1,060

    Visual Studio - "stdafx.h" Questions

    I finally got around to installing/starting to use Visual Studio Professional 2013, and I noticed that when I create a new console project I get an:


    #include "stdafx.h"


    Some quick googling...
  15. Thread: Leading zeroes

    by setleaf
    Replies
    22
    Views
    1,347

    I would like to try my hand at helping, but I'm...

    I would like to try my hand at helping, but I'm not sure what you're trying to achieve.
  16. Thread: This book...

    by setleaf
    Replies
    11
    Views
    640

    I downloaded the .pdf file and read a few of the...

    I downloaded the .pdf file and read a few of the short stories, but horror fiction isn't really my genre of choice. I prefer to get my horror fix on film.
  17. Replies
    6
    Views
    788

    That's because your variables to hold the users...

    That's because your variables to hold the users highest and second highest input are initialized to 0. So if the user enters a negative number it won't be greater than 0, so the contents of the...
  18. Kelton2, I tested the instructions I wrote. If...

    Kelton2, I tested the instructions I wrote. If you translate that to code, it will work.
  19. I read through and saw that you told him/her...

    I read through and saw that you told him/her exactly what to do to get the program working. Just thought I would try my hand at explaining it without actually posting the code.
  20. Posting in here instead of your other post....

    Posting in here instead of your other post.

    You need four variables.

    One to store the amount of numbers the user wants to enter.(amount)
    One to store the temporary number the user...
  21. Replies
    5
    Views
    2,265

    A very slight modification to the previous...

    A very slight modification to the previous mulTable code would give you that easily. Did you play around with it at all to see if you could make it do what you wanted?
  22. Replies
    5
    Views
    2,265

    Disclaimer: This may or may not be the best way...

    Disclaimer: This may or may not be the best way of doing this.

    So, if you print your array out with the values it currently holds you get:

    1 2 3
    4 5 6
    7 8 9

    If you multiply these, you...
  23. Replies
    5
    Views
    2,265

    The reason your getting all 0's as your output is...

    The reason your getting all 0's as your output is because in your mulTable function you set your mul variable to 0, and never increment it. So your only multiplying the values in your array by 0...
  24. Replies
    3
    Views
    485

    Ideally I want to participate in the design and...

    Ideally I want to participate in the design and creation of software. I did some google research and it seems some people say they're essentially the same, and others lean one way or another. I guess...
  25. Replies
    3
    Views
    485

    Choosing a College Major

    I'm starting to look into 4 year universities that I may transfer to. I had initially decided on majoring in Software Engineering, but I've only seen that actual Major in one college that I'm...
Results 1 to 25 of 48
Page 1 of 2 1 2