Beginners - December 2013 (Page 53)

by Blank
magic program
 
can someone help me please? Write a program that asks the user to enter a month (in numeric form), a...
[2 replies] Last: Do this: cin >> month >> day >> year; But not this: cin >> month,d... (by Nikko YL)
Help with Binary Tree
 
I am having trouble with a program for my Computer Science class. We are supposed to make a binary t...
[1 reply] : I have the other files if more code is needed. I just need help gettin... (by ADTR2012)
Sum/Average Volume Program
 
I'm a beginner, how would I make it so that I can have someone input the length, width and height fo...
[1 reply] : #include <iostream> using namespace std; int main() { double arr ... (by q1670741824)
unresolved external 'WinMain'
 
error while running the code although there is no error when debug #include <iostream.h> #in...
[3 replies] Last: what ide are you using ? take a look at this similar thread : http://... (by nvrmnd)
Problem with class arrays.
 
Hi, I'm writing a program that will read a text file, save the data into a class array, and then pri...
[no replies]
by zychin
Simple Calculator with switch function not working
 
Hi, I am new to c++, and I have encountered a problem in my calculator program. When I execute it wi...
[2 replies] Last: Thanks, didn't see that. (by zychin)
Why can I change a const's value
 
Supposedly, a constant is read-only reference. Its value cannot be changed. But the following progr...
[6 replies] Last: &y is defined as a constant alias for x. 0x22ff48 is just a physical a... (by hooshdar3)
Modulus
 
What does "1%2" evaluate to and why? Thanks!
[2 replies] Last: That was the error in my code then, thanks condor. (by heyyouyesyouiloveyou)
Removing an Array Element
 
Hello, I am trying to figure out how to remove an element that has been input through the keyboard. ...
[3 replies] Last: while (name == list .name) { for (int i = 0; i < size; i++) ... (by Excuseyou)
by mckf68
Solve use of dictionary for hangman
 
I try to add use of dictionary for my hangman program. File opens correctly and my random choice sti...
[2 replies] Last: Thank you so much, was not aware of the clear() function and eof bit s... (by mckf68)
by ombl4
Array doesn't perform calculations - need advice
 
Process returned 0 (0x0) execution time : 0.146 s Press any key to continue.
[no replies]
Segmentation Fault: 11
 
I am trying out a sorting algorithm that involves a large string of numbers. And whenever I try to r...
[2 replies] Last: Yes I am able to display all of the random integers. I don't think tha... (by aviatorblue62)
Blackjack help
 
I've been asked to modify the c++ blackjack program out of my text book, I need to shuffle the deck ...
[no replies]
Assign element of array into string
 
Making program that reads data from a fancy text file, calculates qb ratings, then outputs everythin...
[no replies]
lvalue required as left operand of assignment?
 
Hello, I was trying to divide counter by 4 and use the number left over to set up a if condition, bu...
[1 reply] : The problem is indeed on line 28: if (counter%4=0) Should be if (c... (by long double main)
Rounding question
 
How would one go about getting C++ to round a number such as 15511210043330986055303168 to something...
[5 replies] Last: Thanks! That link is useful!! (by newlearn33)
program compiled. will not execute.
 
Alright, I have written this program for class. I guess it's supposed to be pretty straight forward...
[6 replies] Last: In main, first initialize count to 0 if you haven't done so already. T... (by heebleworp)
Use array? Need help with extending program
 
If you run the program, I would like it to add for additional "x" and show result for multiple f(x)=...
[8 replies] Last: #include <iostream> #include <list> #include <limits> using namespace... (by ShodanHo)
Is this possible (= operator overloading question)
 
I'm overloading the = operator for a class that uses deep copying for its copy constructor. First le...
[2 replies] Last: In the end, are you sure this is what causes your problem? Nope, be... (by heebleworp)
Dijkstra's Shortest-Distance Algorithm Help
 
I'm having a hard time trying to understand/visualize Step 3a of the pseudocode given to me by my te...
[1 reply] : You are missing something important in your implementation. Where do y... (by Smac89)
December 2013 Pages: 1... 5152535455... 69
  Archived months: [nov2013] [jan2014]

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