Beginners - March 2014 (Page 25)

Function assignment problems
 
I have an assignment where I'm supposed to take an old code and rewrite it using functions. I'm stil...
[9 replies] Last: What are you doing? int main () { double fv; calculateblah (flo... (by closed account iAk3T05o)
pointers and conditions
 
I do not understand how you could have a pointer to a string literal. and the condition to, ...
[5 replies] Last: oh! And I was thinking that non-null pointer is something different. T... (by NPcomplete)
by enemy
Value of an object?
 
Hello! It says i na textbook: "A variable of a class type is called an OBJECT ." But, also: ...
[2 replies] Last: Hello, cire!!! The value of a variable is the data contained in the... (by enemy)
Problem with temporary object at class initialization
 
Hi .. the below code is generating an error of No matching function for call to room::room(room) . ...
[4 replies] Last: I must've missed your next-to-last post. Yes, in order for that state... (by cire)
It keeps saying : The variable " Middle isn't initialised !!>> Any help <<?
 
#include <iostream> using namespace std; void main () { float mt1 , mt2 , mt3 , fnal , q1 ,...
[7 replies] Last: #include <iostream> using namespace std; void main () { float mt1 ... (by Student1995)
Loop skips first cin command while repeating?
 
Hi! Using Visual Studio and trying to write this code but it's giving me some serious grief tonight....
[2 replies] Last: Ah, you lifesaver you. Thanks again. (by sierranm)
Array confusion
 
I'm writing a code that reads data from an input file and uses it to calculate the acceleration of a...
[no replies]
Doing something wrong.
 
So, I have just started finishing fixing up all the majority of the work, and I realized when I ente...
[4 replies] Last: Oh jeez. That was stupid of me. I didn't even realize that the lines y... (by sierranm)
Making these method spit odd numbers
 
How can I make this method do three-digit odd numbers... any suggestions? void GenerateThree...
[1 reply] : You need 3-digits numbers. That is 100-999 You need odd numbers. That ... (by MiiNiPaa)
Boolean Function to search Vector Elements??
 
I'm trying to make a Boolean function that will search the elements of a vector of strings and retur...
[2 replies] Last: Thanks! (by Stephenpoole4)
Validation Loop
 
This will compile and run, but after I enter tickets sold the Prompt close without displaying income...
[1 reply] : See this sticky thread: http://www.cplusplus.com/forum/beginner/1988... (by AbstractionAnon)
String array HELP
 
Is there any way to fix this bug? I would like to print the string array but if some of the element ...
[2 replies] Last: so I just have to change it by &&? THANKS L B (by closed account ivDwAqkS)
using command prompt to change array size
 
Okay, so here is what I need to do : Commands for your command prompt: 1. quit-Your program shou...
[no replies]
Matrix help!
 
Hello, I'm having a bit of a problem. I need to write a program that will read a matrix from tex...
[1 reply] : edited. any insight? (by JorgeG0511)
count with array
 
Hello people, now I'm learning array. I now know how to count integers with while loop but I'm not...
[9 replies] Last: You can't just take out the do in its current location. The while lo... (by wildblue)
Question about how to rewrite this loop
 
I think I might be having a brain fart, but I can't figure this out. I have a loop that has the foll...
[3 replies] Last: Ok I have come up with one solution and that is to make this section o... (by Wallboy)
Writing an array to find how many numbers the user has entered.
 
Okay, so I have been trying to figure this out for hours now and my teacher was no help. Here is th...
[1 reply] : You could use do{} while() loop. Inside you get number, check if it's ... (by MatthewRock)
Run-Time Check Failure #3
 
]Hello guys.!! I have the following code which calculate the average temperature, high temperature, ...
[7 replies] Last: Crucifixflipper - I don't intend to be rude now, so no offence, but do... (by MatthewRock)
Tree with multiple nodes + memory leak
 
I am trying to implement a search algorithm,it needs a tree with four(NOTE n=4) nodes.Is the struct ...
[5 replies] Last: > What alternative would you suggest? making `states' a container. cop... (by ne555)
by Kuma97
My calculator doesnt run!
 
This is my first calculator and it´s the first time I use functions or switch so I need help becuse...
[2 replies] Last: Thanks XD I´m just getting started (by Kuma97)
March 2014 Pages: 1... 2324252627... 79
  Archived months: [feb2014] [apr2014]

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