Search:

Type: Posts; User: RpgActioN

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    989

    Class Syntax Help

    I'm doing exercises out of a book for self-learning purposes, and one of the exercises is:

    Design, implement and test class Average. An object of type Average should accept values that are put...
  2. Replies
    7
    Views
    964

    Okie dokie, thanks for your help :) While...

    Okie dokie, thanks for your help :)

    While you're here, could you explain if it is possible to and why using an increment or decrement operator would have a different effect on something than...
  3. Replies
    7
    Views
    964

    So only variables defined in that scope are...

    So only variables defined in that scope are destroyed? Is it true in all cases that a variable defined outside a scope and used inside a sub-scope will, after the sub-scope has been executed, retain...
  4. Replies
    7
    Views
    964

    How is this possible?

    I've heard from countless places the same thing on the scope of variables: once you enter a sub-scope and leave that sub-scope, any variables created or changes made to existing variables are...
  5. Yeah... I get that now... I don't know where I...

    Yeah... I get that now... I don't know where I got it in my head that I needed more than one per cout or cin... <.<
  6. Expected primary expression before '

    I've taken about a three or four months break from programming without even having an extremely good grasp on it in the first place, so I decided to write a really quick program to refresh my memory....
  7. In stdlib.h there is a function system(); - it...

    In stdlib.h there is a function system(); - it takes command like parameters.

    system("dir") should suffice.
  8. Replies
    9
    Views
    2,463

    Read it one more time, this time consider the...

    Read it one more time, this time consider the comments i added...
  9. Replies
    9
    Views
    2,463

    //a caesar cipher is an old form of encryption...

    //a caesar cipher is an old form of encryption that takes some text, //and offsets each letter by the same number of places in the //alphabet, like abcde with a key of +5 would be efghi


    #include...
  10. Replies
    9
    Views
    2,463

    Well, I've since been poring over my code and...

    Well, I've since been poring over my code and adding to it, and here's what I've got....

    I have NO IDEA why this isn't working. It is 100% logical, everything is in syntax... It will compile, but...
  11. Replies
    9
    Views
    2,463

    First, look at the code below... #include...

    First, look at the code below...



    #include <iostream>
    #include <cstring>
    #include <cstdlib>

    int main() //Return all possibilities of caesar encryption outcomes
    {
  12. Replies
    9
    Views
    2,463

    Heh I'm a bit new to programming, pardon my...

    Heh I'm a bit new to programming, pardon my noobness. I should add a noted menu escape for returning to the menu when you don't feel like giving a function parameters you don't have/need. How about...
  13. Replies
    9
    Views
    2,463

    Can I make a nested loop out of this?

    Ok, I'm making a multipurpose crypto calc, and I need a brute forcer for all possible caesar ciphers... I know exactly how to do it, and I could finish the code right now, only that would make it...
Results 1 to 13 of 13