Beginners - March 2011 (Page 52)

Very new, trying to loop products.
 
Hi there, I'm very new and taking an online cpp class. My teacher has a lab due before teaching any of the loop info, so i've been trying to figure it out my...
[3 replies] Last: Please use tags. What you are doing is displaying what the product ... (by Danny Toledo)
What's wrong?
 
So I'm studying about class/objects and decided to make a simple program, but it's not working. #include <iostream> using namespace std; Class Square { ...
[2 replies] Last: Haha, thank you, really stupid mistake. Also forgot to add return 0; a... (by pq1wx1p)
classes
 
Hello everyone, i'm getting very wrong outputs with some of the functions. The getProduct() and getRatio() functions are supposed to reduce the fraction to the ...
[1 reply] : this function is wrong: int gcd (int x , int y) { if (y!=0) gcd... (by matsom)
Bubble Sort
 
We're supposed to create a program with a function bubble that receives the array num of 30 integers and sorts the values in the array, and returns the number o...
[3 replies] Last: Don't you have a book or something that would explain it to you? Or on... (by firedraco)
Multidimensional Array of Nodes
 
I am trying to make a 7x7x3 map for a game, representing a house 7 units wide by 7 units deep by 3 units tall (1st floor, 2nd floor, basement). The route I have...
[6 replies] Last: Well, thank you for all of your help and advice. It has been greatly a... (by kultrva)
How do i write a program to show the largest and smallest of 3 integers
 
This is what i have so far and i must only use the single selection form of the if statement, i tried everything. if ((num1>num2)&&(num1>num3)) { {...
[12 replies] Last: Im not paying cmt2011 because he/she is not my teacher and they got so... (by rikiwife)
March 2011 Pages: 1... 505152
  Archived months: [feb2011] [apr2011]

This is an archived page. To post a new message, go to the current page.