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?
Type: Posts; User: fenixataris182
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?
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?
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...
how do you loop through all characters in a string?
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[]...
this is what i have so far.
#include <iostream>
using std::cout;
using std::endl;
void encrypt ( char e[] );
void decrypt ( char *ePtr );
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?
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>
...
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...
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?
...
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...
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...
we haven't done strings yet in class.
yeah, its supposed to reverse the digits of a number
ex. 3454 becomes 4543
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...