Search:

Type: Posts; User: fenixataris182

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,439

    can a pointer variable store the address of...

    can a pointer variable store the address of another variable?

    does an array's name store the address of the array's first element?

    Is an array's name a pointer, constant, and a variable?
  2. Replies
    5
    Views
    1,439

    A couple questions

    what arithmetic can you do with pointers? addition, subtraction, multiplication?

    If you assign a 0 to a pointer would it make the pointer point to nothing?
  3. Thread: ascii

    by fenixataris182
    Replies
    10
    Views
    1,290

    I'm still having trouble. The bolded parts is...

    I'm still having trouble. The bolded parts is what i think is wrong. What do i need to do to them?


    #include <iostream>

    using std::cout;
    using std::endl;

    void encrypt ( char e[] );
    void...
  4. Thread: ascii

    by fenixataris182
    Replies
    10
    Views
    1,290

    how do you loop through all characters in a...

    how do you loop through all characters in a string?
  5. Thread: ascii

    by fenixataris182
    Replies
    10
    Views
    1,290

    It's only modifying the first letter. How do i...

    It's only modifying the first letter. How do i modify the function so that it will modify all of the letters?


    #include <iostream>

    using std::cout;
    using std::endl;

    void encrypt ( char e[]...
  6. Thread: ascii

    by fenixataris182
    Replies
    10
    Views
    1,290

    this is what i have so far. #include...

    this is what i have so far.


    #include <iostream>

    using std::cout;
    using std::endl;

    void encrypt ( char e[] );
    void decrypt ( char *ePtr );
  7. Thread: ascii

    by fenixataris182
    Replies
    10
    Views
    1,290

    ascii

    for a project i need to encrypt a message and have the encrypted version be the next character in the alphabet (like secret would be tfdsfu) what code would i use for that?
  8. Replies
    5
    Views
    6,139

    I've done some more work on it. now when i run it...

    I've done some more work on it. now when i run it it just says ouch!!! again and again. It's supposed to simulate a tortoise and hare race. Can someone help me please?


    #include <iostream>
    ...
  9. Replies
    5
    Views
    6,139

    Tortoise and Hare Project

    I have this tortoise and hare project. I'm having trouble with moving the hare and testing it's position. Am I doing anything else wrong?


    #include <iostream>

    using std::cout;
    using...
  10. Replies
    8
    Views
    2,860

    I worked on it some more and it still has...

    I worked on it some more and it still has problems. It won't calculate the greatest common divisor. No matter what it always comes up with the lowest of the two numbers. What needs to be fixed?

    ...
  11. Replies
    8
    Views
    2,860

    Greatest Common Divisor problem

    I'm having trouble with creating a program that calculates the greatest common divisor between two numbers. I would greatly appreciate some help.



    #include <iostream>

    using std::cout;
    using...
  12. I took your advice, but i still get errors. Can I...

    I took your advice, but i still get errors. Can I please get some more help. I really appreciate it.


    #include <iostream>

    using std::cout;
    using std::cin;
    using std::endl;

    #include...
  13. we haven't done strings yet in class.

    we haven't done strings yet in class.
  14. yeah, its supposed to reverse the digits of a...

    yeah, its supposed to reverse the digits of a number
    ex. 3454 becomes 4543
  15. Reversing Digits Project (Help Please)

    for my introduction to c++ class i was given an assignment to create a program that reverses the digits of a number. The class is online so it's hard for the instructor to help me. I've been waiting...
Results 1 to 15 of 15