Beginners - April 2017 (Page 2)

Labeling an Array
 
So i need to create an array of square values and I need to be able to also label the rows and colum...
[2 replies] Last: with named headers for rows and columns as well: http://cpp.sh/7pvan (by gunnerfunner)
Tally Counter
 
Hey guys I need help with this program. I am trying to get a tally counter to work. I believe my mai...
[no replies]
Trivia game program[Need help asap,3 hours til due]
 
Hello everyone, I am trying to make a program that allows 2 players to take turns answering multiple...
[15 replies] Last: OP: you're quite insistent on having things exactly your way while y... (by gunnerfunner)
String inside string
 
Write a program that reads a sequence of words and prints, for each word, all the other words of the...
[11 replies] Last: > Is there any benefit in using cout as a condition rather than saving... (by JLBorges)
Array of buttons in C++ Windows Forms
 
I am trying to create an array of button in this game I am making and I cant figure it out so any wo...
[no replies]
by F95
Assign hashkey to .txt file HELP?!
 
How do I assign the hashkey I created to a .txt file that is being read into a linked list(this is h...
[2 replies] Last: I changed the code a bit and finally got it to do what I wanted it to ... (by F95)
by Caruso
catch float type
 
I'm trying to understand try, throw and catch. And I ran into an issue with catching a float. Wit...
[5 replies] Last: That's not pedantic at all, and you're totally right. I'm afraid I ha... (by mbozzi)
by xxvms
Old book new questions ;)
 
Hi there as it turns out this old book https://goo.gl/s3UGGo is causing me to doubt stuff that is i...
[4 replies] Last: that is amazing @JLBorges thank you :) (by xxvms)
How can I print a value declared with double?
 
I am doing an exercise to calculate the factorial of a number, using for. Everything is well except ...
[5 replies] Last: That was fast... Google saves the day. (by boost lexical cast)
Struggling with if break
 
So, yesterday you kndly helped me breaking a loop but I realized I still don't understand how it wor...
[3 replies] Last: Thank you, solved! (by JorgeChemE)
Array help
 
I'm working on an array program, it's doing what I need it to so far but, I'm having trouble getting...
[5 replies] Last: changing the return type of checkUserEntry() to void: #include <iost... (by gunnerfunner)
by xxvms
Class question
 
Hi there while I am learning about classes, I have been told over and over that variables are p...
[7 replies] Last: @TheIdeasMan This is the context of my question Book Object Orientate... (by xxvms)
by xxvms
Class question
 
Hi there while I am learning about classes, I have been told over and over that variables are p...
[2 replies] Last: @TheIdeaMan - I will answer on the other copy of the post (once again ... (by xxvms)
read textfile into class object
 
Please help. I wrote my question in my code via comments. #pragma once #include <iostream> #...
[no replies]
I've hit a wall.
 
I have been tasked with creating a sort of "Game Show" type of program. The program is meant to rea...
[1 reply] : I've used a different tack to reading the file, viz. with a struct and... (by gunnerfunner)
USING A VECTOR TO PRINT OUT A REPEATED WORD
 
Hey guy i am pretty much a novice in C++ and i have been using Bjarne Stroustrup's Book, Programing ...
[4 replies] Last: JLBorges Thank you so much, i guess the part i miss was to nest the if... (by Keppler22)
code improvement
 
hi guys! can i further improve the code? thanks! #include<iostream.h> #include<stdlib.h> #...
[5 replies] Last: From #include<conio.h> you appear to be on a Windows platform. Go f... (by JLBorges)
How to code for addition of in between numbers.
 
How to I code that I get the user to input a start number (e.g. 2) and an end number (e.g. 15) and c...
[2 replies] Last: Thank you (by dalvinachin)
by arbwok
Need urgent help
 
I'm not sure why my main.cpp file doesn't work as intended, but my friend does using my header file ...
[no replies]
How do I pass a function into another function
 
so I am trying doing a project right now that reqires me to pass a function into another function. H...
[4 replies] Last: I seem to keep getting an error. error: invalid use of type 'void' ... (by pdgaming)
April 2017 Pages: 1234... 34
  Archived months: [mar2017] [may2017]

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