Search:

Type: Posts; User: StefPrez

Search: Search took 0.00 seconds.

  1. Yeah, I realize I do now! That was an old comment...

    Yeah, I realize I do now! That was an old comment from when I had everything done in predetermined values. I've implemented std::vector and it works great! I'm now running into a different issue when...
  2. Alright, so my goal value is greater than the max...

    Alright, so my goal value is greater than the max value of the int data type. It should still be within the limits of the double data type, right? Is this causing an issue with iVal? The contraints...
  3. Segmentation Fault 11, Looking for a layman's terms explanation

    So I finally finished up my first "real" C++ program which was trying to solve Problem 3 from Project Euler. It runs as expected except for when large values are entered. If I enter a value such as...
  4. Thanks for all the input and advice everyone!...

    Thanks for all the input and advice everyone! This problem was definitely a multifaceted learning experience for me. Regardless of how one learns the material, the important part is learning it. I...
  5. I know, I said that in the beginning of my post....

    I know, I said that in the beginning of my post. I was merely just determining factors first, then sorting prime factors from that list. I don't doubt there is a more efficient way to do it, however...
  6. So if I understand correctly, when a variable...

    So if I understand correctly, when a variable length array is declared, the initialized "values" of the array are just garbage until I reassign them with something useful. Is that correct?



    I...
  7. Static vs. Dynamic Arrays, Getting Undefined Behavior

    Hello everyone! First post, and pretty new to C++, so I apologize for any blatantly dumb questions that I may ask. Just trying to learn!

    I'm working on a Project Euler problem that has me looking...
Results 1 to 7 of 7