- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
I spent 4 hours trying to find out how I can add the digits of a number. Could you give me an idea? |
|
Re:
i want the code o snake game by using c lanuage anyone can help?:) |
|
please i have a little problem creating a class and making it run. The class is created separately as a header file with it's source code. whenever i build the source code of the class, i get an error that says: undefined reference to 'WinMain@16'. And whenever I run the … |
|
Re:
pleas ehelp with this program im clueless in what to do for it • The program will ask three questions 1. What is your sex 2. Do you work in a n office 3. What is your race If the sex is Male and the race is white, and the … |
|
#include<iostream> using namespace std; int main(){ int fish =6; int * fishp = &fish; cout<<fishp<<endl; return 0;} this runs ok, but i get the same memory address when i cout either fishp or &fishp. how is it possible for a pointer to have the same address as the address it's … |
|
Re:
Hello everyone Am actually a newbie and learning C++ on my own. Have been trying to generate a code that prompts a student to enter his/details and after finishing. it couts his/her information. And prompts another student data to be entered. i have already some simple code here but it’s … |
|
Re:
Sample Run ( OUTPUT ) Enter a word: computer The well-ordered words of length 3 that can be formed from the letters in the word "computer" are: cem ceo cep cer cet ceu cmo cmp cmr cmt cmu cop cor cot cou cpr cpt cpu crt cru ctu emo emp … |
|
Re:
• The program consists of a Class customer and the Main function. • The class customer contains private data items as item value, interest payment, tax payment and total payment. • The class customer includes two public functions as lease Cal() and lease Show(). • lease Cal() function receives item … |
|
Re:
I have this program Define a function hypotenuse that calculates the length of the hypotenuse of a right triangle when the other two sides are given (22__hsideasideb=+). Use this function in a program to determine the length of the hypotenuse for each of the triangles shown below. The function should … |
|
Re:
exerted by the rider’s foot yet not exceed the stress placed on the crank arm’s sprocket attachment, is provided by this formua: r^3 = d*p/s*π r is the radius of the cylindrical rod in inches. d is the length of the crank arm in inches. P is the weight placed … |
|
Re:
write a program to enter ten numbers and display the highest using array. |
|
Re:
Everything works fine, but the outputted numbers are supposed to be asterisks instead of digits. Ideas? #include <iostream> using std::cout; using std::cin; int main () { int number = 0; char star = '*', stars = '*'; cout << "Please enter a base number to create the triangle: "; cin … |
|
Re:
coding for printing diamond pattern using recursion as following * * * * * * * * * * * * * * * * |