Search:

Type: Posts; User: U79

Search: Search took 0.01 seconds.

  1. Need to report some things in a text file to the user...

    I need to make a program that asks a user for the name of a text file and reports the number of characters in the text file, and the number of end-of-line characters in the text file. I made a text...
  2. Replies
    32
    Views
    4,203

    Sweet, sweet working program. Thank you again so...

    Sweet, sweet working program. Thank you again so unbelievably much, everybody! This is the code that ended up working (now I just have to add coments! ;) ):


    // PROJECT 10-1.CPP

    #include...
  3. Replies
    32
    Views
    4,203

    It's still not working like this: // PROJECT...

    It's still not working like this:


    // PROJECT 10-1.CPP

    #include <iostream>
    #include <cstring>
    using namespace std;

    const int size = 500;
  4. Happiness has become me! Thank you so much,...

    Happiness has become me! Thank you so much, everybody! Here is the code I am using that works!


    // PROJECT 10-2.CPP
    // By Josh Milewski

    #include<iostream> // replaces crazy old iostream.h...
  5. Replies
    32
    Views
    4,203

    How exactly do I do that? // PROJECT...

    How exactly do I do that?


    // PROJECT 10-1.CPP

    #include <iostream>
    #include <cstring>
    using namespace std;

    char original_string[500], reversed_string[500];
  6. Replies
    32
    Views
    4,203

    Here's what I have now: // PROJECT 10-1.CPP...

    Here's what I have now:


    // PROJECT 10-1.CPP

    #include <iostream>
    #include <cstring>
    using namespace std;

    char original_string, reversed_string;
  7. Changing all characters in string to ASCII value of one up...help!

    I need to make a program that changes all the ASCII values of the characters in a string to one ASCII value above the ones in the string, so "ABCDEF" would become "BCDEFG" and "apple" would become...
  8. Replies
    32
    Views
    4,203

    Wah! I'm so confused! I'm just a newbie...Here...

    Wah! I'm so confused! I'm just a newbie...Here is what I have so far...now...Can you explain in very simple terms and tell me what has to be changed? Like, change it and post it back here? I'm...
  9. Replies
    32
    Views
    4,203

    Yes, I know I can do it that way, which would be...

    Yes, I know I can do it that way, which would be a lot easier, but I cannot. That is because I need to do this for a school project, and I am required to make my own function called reverse_string...
  10. Replies
    32
    Views
    4,203

    Can you tell me exactly what those are? I'm...

    Can you tell me exactly what those are? I'm really sorry, but I don't really know the terms.
  11. Replies
    32
    Views
    4,203

    Wait, you said "Both should be a char*." But...

    Wait, you said "Both should be a char*." But both what?
  12. Replies
    32
    Views
    4,203

    But can you help me with my simple program? What...

    But can you help me with my simple program? What I mean is, I don't understand those other programs...
  13. Replies
    32
    Views
    4,203

    Help! I need to reverse a string!!

    Sorry for the lack of comments, but it's not too complicated. I need to make a function that reverses a string inputed by the user. This is what I have so far, and I'm still learning C++, but I...
Results 1 to 13 of 13