Search:

Type: Posts; User: k_rock923

Search: Search took 0.01 seconds.

  1. Some help with class member functions and pointers

    Hello. I've been working with Sams Teach Yourself C++ in 24 hours and Accelerated C++ over the past few weeks. I designed a simple Cat class that is almost identical to the one they use in the...
  2. Replies
    8
    Views
    10,323

    If I may, I spent quite some time trying to do...

    If I may, I spent quite some time trying to do the same thing. The key to finding perfect numbers efficiently is to first find Mersenne primes. Every mersenne primes correlates to exactly one...
  3. Replies
    4
    Views
    964

    Help with simple division

    Hello. I'm just beginning learning C++ and I'm having a problem with simple division. First, here's the code that I'm having a problem with. . .



    #include<iostream>

    int main()
    {
    double...
  4. Thread: Now What?

    by k_rock923
    Replies
    7
    Views
    1,071

    Thanks everyone for your suggestions. I ended up...

    Thanks everyone for your suggestions. I ended up using Zach's idea because it was simple and I haven't learned arrays yet. This is what I came up with. . .Does it look ok? I want this to be good...
  5. Thread: Now What?

    by k_rock923
    Replies
    7
    Views
    1,071

    Now What?

    Hi, I'm very new at programming and I'm trying to get this to work. I want to make a program that figures out the average grade of tests for a marking period. The user inputs the number of tests...
  6. Replies
    8
    Views
    1,505

    yea i know its a weird design but i'm very new at...

    yea i know its a weird design but i'm very new at this
  7. Replies
    8
    Views
    1,505

    when i compile, its saying "'string' undeclared"...

    when i compile, its saying "'string' undeclared"

    and can i use strcomp to compare the other two variables as well, or just the strings. maybe the way i wrote the program isn't really conducive to...
  8. Replies
    8
    Views
    1,505

    if i do that, it doesn't compile ...

    if i do that, it doesn't compile

    edit//nevermind, i just saw your edit
  9. Replies
    8
    Views
    1,505

    this doesn't seem to work

    a while ago someone helped me make a pig latin program. I took his suggestions and created myself. I'm trying to make an easter egg so that when you enter my girlfriends name it outputs "I love...
Results 1 to 9 of 9