Beginners (Page 62)

My Program Works but Im not sure why!
 
Hello I am new to the forum, I am teaching myself C++ using the book "Programming Principles and Pra...
[3 replies] Last: Awesome thanks for the help! I haven't been initializing my ints becau... (by sideways)
How should I start solving this class problem?
 
I need to check if it's possible to create 1 specific string from a selection of numbers and letters...
[2 replies] Last: You could make a map of available letters in the first string, then wh... (by phanalax)
What happens when you hi-light a header file then push Delete Key?
 
I am using visual studio 2013 I hi-lighted a header file (CandyBox.h) in Solution Explorer and hit ...
[7 replies] Last: thank you (by justcolorado)
Card Game
 
Hi, I am trying to figure out how to create a card game with 5 players in it. The mission of the ...
[3 replies] Last: Only 35 cards are in play. The rest ones are simply ignored. (by nikgun1984)
TIC TAC TOE. HELP
 
When Someone wins the game, it does not print out the winner. It just ends. How do i get it to print...
[1 reply] : Lines 102-125: gameOn = false; bool wingame = true; if... (by ChajusSaib)
outputting
 
So using templates, I'm supposed to output the following: ] This is what I have so far, conf...
[1 reply] : This is what int main() will call it by: const pizza<int> pizza1(5, ... (by tdownage)
Arrays in Classes
 
Happy Friday everyone. This program is 1/3 complete, but it still runs. I have to define a class and...
[5 replies] Last: #include <iostream> #include <string> using namespace std; class ... (by Ganado)
Tips on Multiple choice quiz
 
does any one know how to get the RNG to generate multiple choices for a problem and have the RNG als...
[no replies]
Expression must have a pointer-to-object type error
 
Hey everyone I'm getting the error: expression must have pointer to object type. I'm supposed to be ...
[1 reply] : amplitude is an int, not an array. The array access operators only wor... (by phanalax)
For loop in main function
 
Please help with including a for loop in main function that allows the user to repeat the calculatio...
[4 replies] Last: Thanks @keskiverto got it! I was using i >=5 instead of i <=5. (by christager)
by Bb83
Question about reading files/finding max number and name
 
So I am working on a project currently, that takes a name, gets 5 judge scores, finds the highest an...
[11 replies] Last: I figured it out! Thank you all for your help. (by Bb83)
square, square root, cube root
 
write a program that will display the square, square root, cube root, of numbers 1 to 100 and sum th...
[1 reply] : Please note that this is not a homework site. We won't do your homewor... (by keskiverto)
problem with lvalue
 
I get two errors: error C2106: '=' : left operand must be l-value IntelliSense: expression must be...
[3 replies] Last: The compiler has no idea what the "List" is on line 13. By the time i... (by keskiverto)
line-drawing box-drawing in console
 
I found this code in the archives (credit: andywestken): // Hello World! in a Box (for Windows c...
[1 reply] : See Code page 437 (IBM PC) http://www.ascii-codes.com/ Another way to... (by Chervil)
C++ intro class
 
I need help passing the "seat array" into the buyticket function. I have made the seating chart but ...
[1 reply] : Please post your code inside the code tags. Simply select all your cod... (by ephraimr)
Erro: Need typename because vector<type> is a dependent scope
 
I am writing a class for a priority vector, but I am facing trouble when I declare an iterator with ...
[3 replies] Last: > why does it need that? Type was already declared at the template. S... (by JLBorges)
cplus
 
Post reported for spam.
[no replies]
Confused about Implementing a Template
 
Hello all, I am trying to implement Template to my code listed below but I guess that I am very conf...
[4 replies] Last: Awesome! I get it now thanks Peter87 (by stilts9119)
Proper of protecting from bad input. What is the professional way of dealing with it?
 
I am currently going through professor Stroustrup book: "Programming principles and practice, 2 nd e...
[2 replies] Last: YOu really need to convert the menu_choice to lower case, if you're go... (by mgoodall)
by teok
Read from file specific words/strings.
 
Hello, Im trying to write a program that lists only the users names which are stored inside a text ...
[1 reply] : You can read the input one chunk at a time. So read everything, and ju... (by Moschops)
Pages: 1... 6061626364... 73
  Archived months: [mar2016]

Cannot post in this page. To post a new message, go to the first page.