Search:

Type: Posts; User: bob887

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    1,560

    In my final code I switched to using strings...

    In my final code I switched to using strings instead of c-style strings.



    string encrypt_string(string& input){
    for(string::iterator i = input.begin(); i != input.end(); ++i){
    *i...
  2. Replies
    11
    Views
    1,560

    edit: solved it, thanks very much for all the...

    edit: solved it, thanks very much for all the help :)
  3. Replies
    11
    Views
    1,560

    Ah, I was wondering if that happened. When can I...

    Ah, I was wondering if that happened. When can I delete the pointer? Is it possible to delete space allocated in a method from main? I ended up changing the way I did it and used strings instead. I...
  4. Replies
    11
    Views
    1,560

    Alright, thank you all, I got that part of my...

    Alright, thank you all, I got that part of my code working(I also created a string version of the encrypt and encrypt functions).

    Hopefully I can get the i/o stuff done without having much trouble.
  5. Replies
    11
    Views
    1,560

    I suppose I could probably do that, was just...

    I suppose I could probably do that, was just reading about pointers so I figured this would be something to practice it a bit. Thanks for the advice, I got it working. As I said, my main goal is...
  6. Replies
    11
    Views
    1,560

    problem with sizeof

    I am working on making a simple program which allows rot13 encryption and decryption of files. I am starting small and I am working on making code to perform rot13 to and from on a char*. For some...
  7. Thread: Make utility

    by bob887
    Replies
    3
    Views
    1,782

    Alright thanks, I originally had Code::blocks and...

    Alright thanks, I originally had Code::blocks and I liked it, just decided to practice being able to self compile a bit while reading one of the books. Thanks for the response.
  8. Thread: Make utility

    by bob887
    Replies
    3
    Views
    1,782

    Make utility

    Im sorry if this is the wrong section.

    I am reading a book on c++ and I am using windows to program(not that good with linux at the moment) The book got to a section on using make files to...
  9. Replies
    3
    Views
    1,537

    Awesome thanks a lot for helping out, the...

    Awesome thanks a lot for helping out, the Inheritance confuses me a little but I think I am starting to pick it up.
  10. Replies
    3
    Views
    1,537

    Inheritance problems

    I am working with fraction classes in a book, I have run into a problem I cant seem to get around, I was going to read through and skip the examples, but it appears the last few chapters all deal...
  11. Replies
    7
    Views
    1,265

    Awesome thanks so much, I was missing #include...

    Awesome thanks so much, I was missing #include <iostream> and using namespace std; in the header file.

    Thanks so much for helping me out with something thats fairly basic, I really appreciate it.
  12. Replies
    7
    Views
    1,265

    I did write it, originally I had it exactly the...

    I did write it, originally I had it exactly the same as the book,

    a fraction header file, included in two other files, then one file containing fraction function definitions, and a final one with...
  13. Replies
    7
    Views
    1,265

    Well I got it working, when using headers, does...

    Well I got it working, when using headers, does it matter where they are saved?

    Also, In my fraction class from the book, I created a member function as


    friend ostream &operator<<(ostream...
  14. Replies
    7
    Views
    1,265

    Compiling with headers

    This may seem like a basic question.

    I am reading c++ without fear and I am near the end. He switches from writing all programs in one file to using include directives.

    While I understand how...
Results 1 to 14 of 15