Search:

Type: Posts; User: learning C++

Search: Search took 0.00 seconds.

  1. Gah, I'm so stupid. Such a stupid mistake. >_< ...

    Gah, I'm so stupid. Such a stupid mistake. >_<

    Thanks. *looks like a fool now* :(
  2. Question on how to remove all non-characters in string

    I'm making this Palindrome recursion program, and capitals are changed to lower case, and all blanks and punctuation must be ingnored. I've tested all my other functions and they work, except for the...
  3. Replies
    9
    Views
    2,475

    Cypherus, you got C++ How to Prgram 4th ed. by...

    Cypherus, you got C++ How to Prgram 4th ed. by Deitel?

    I just recently started to get time to practice coding too, right now I'm working on the programs at chapter 4. I've learned that a good...
  4. Thanks for all the replies. The people here are...

    Thanks for all the replies. The people here are really helpful and nice. :)



    Well, there is the 1st intro to C++ class, that's where I learned up to pointers. The 2nd intro course was on...
  5. It is accreditted. I go to NJIT New Jersey...

    It is accreditted. I go to NJIT New Jersey Instiute of Technology. Most of the professors do not know coding, or know old forms of code and the last time they really coded was a long time ago. Most...
  6. General question about C++ Programming/Computer Science

    Hi again.

    Basically, I'm really thinking about changing majors from Computer Science. I'm now going to be starting my 4th semester at it, and I still have very very basic C++ knowledge and...
  7. Replies
    8
    Views
    2,812

    I just don't get why this code: void...

    I just don't get why this code:



    void Tolkenize (char *input)
    char *token_ptr;

    token_ptr = strtok(input, " "); //Gets the first word

    cout << "\nDEBUG: This is the token: " <<...
  8. Replies
    8
    Views
    2,812

    Well, I finally got it to compile and run, but it...

    Well, I finally got it to compile and run, but it only works on the first run.



    void Tolkenize (char *input)
    {
    char *token_ptr;

    token_ptr = strtok(input, " "); //Gets the first word
  9. Replies
    8
    Views
    2,812

    Thanks! I'm starting to understand this chapter...

    Thanks! I'm starting to understand this chapter better. Only 17 more chapters left :p

    Then I'll move on to Visual GUI's in C++. :)
  10. Replies
    8
    Views
    2,812

    But can't you just place the token into a...

    But can't you just place the token into a declared string? Why would you need to have it sent to a pointer first?

    Also, when I use strok for this phone number string: (different program example)
    ...
  11. Replies
    8
    Views
    2,812

    Small string program help please

    Hi, I'm trying Chapter 5, programming question 35 in the Dietel book and I come accross these 2 errors:

    It's supposed to be a PigLatin word program, and I'm trying to take in a whole sentence,...
  12. Replies
    1
    Views
    1,261

    Question about rand() function

    Hi again,

    I read in the C++ book that rand() function returns a random number and that in order to get a random number in a range that you want, the formula is:

    1-6,
    1 + rand() % 6

    And...
  13. Replies
    8
    Views
    2,878

    Thanks all! Wow, all these replies so quickly and...

    Thanks all! Wow, all these replies so quickly and in a helpful manner. :)

    I did talk to my CS adviser, and she ended up admitting that she isn't a Computer Science major, nor has taken up any...
  14. Replies
    8
    Views
    2,878

    Starting C++ & Computer Science Major

    Hi all,

    I'm majoring in Computer Science at my local college and prior to comming to this college, I had absolutely no programming knowlege, just the enthusiasm that I liked computers.

    So after...
Results 1 to 14 of 14