Beginners - February 2018 (Page 6)

Help with Count loop
 
I need help calculating a sequence of numbers this is the equation & iteration i am trying to so...
[5 replies] Last: Here's some palooka code for you. #include <iostream> using namespac... (by lastchance)
If else statements (multiple cond.)
 
Hello, I'm trying to build a program that tells you what letter grade you received based on the ave...
[1 reply] : if (avg >= 90) cout << "Grade: A \n"; // >= 90 else if( avg >= 80 ) c... (by JLBorges)
Reading text from a file into an array
 
Hi there! I'm trying to write a program to take a file with various information about a film, and re...
[1 reply] : In function 'int main()': 38:31: error: 'getMovie' was not declared... (by Ganado)
by JM567
Lottery Ticket Check
 
Hello, the assignment instructions are as follows: In this assignment you are to code a program that...
[3 replies] Last: Please edit your OP and add code tags tags around your code. Ple... (by Ganado)
need some help
 
i posted this on here early and someone helped me out with it but I'm still having trouble with it r...
[12 replies] Last: Thank you so much Ganado (by joemu6airi)
minor bugs
 
for some reason this code will add up everything but it wont deduct the discount using name...
[3 replies] Last: I wasn't exhaustively listing all errors, but I was showing you the bi... (by Ganado)
HELP code
 
with this new code I rewrote to determine if a number is prime or not, the code works. My problem is...
[1 reply] : It would help you in the long term, and everyone else, if you used pro... (by Ganado)
by Carat1
allow numbers and ctrl + v only
 
if (!Char::IsDigit(e->KeyChar) && e->KeyChar != 0x08) { e->Handled = true; } this code dis...
[no replies]
Snake Game boundaries checking
 
Hi guys so after debugging I found the x axis seems to be going up and down and the y axis seems to ...
[5 replies] Last: The x pos of the snake must be between 0 and the width of the board. T... (by Thomas1965)
Help with Code
 
i have to write a code to figure out medical the price of out of pocket premiunms and I'm having som...
[3 replies] Last: I'm sorry this code int e, s, c, f; bool med_choice, den_choice, ... (by Kingokafor96)
Function not working correctly
 
Why isn't my function accepting other inputs for the second and third. It just spits out random gian...
[1 reply] : You copy-pasted declarations into your main method. Also your methods... (by icy1)
by jb2918
need help why i can copy word for word instructors code and his runs, and mine wont
 
copied word for word from online video instruction and i have this problem all the time it wont run,...
[4 replies] Last: You are awesome! thank you! nothing worse than not being able to move ... (by jb2918)
How would you solve this problem
 
Given an integer n (input from the user), write a C++ program that determines the equivalent of n in...
[1 reply] : You need loops (by icy1)
Storing words of a string into an array
 
I am having some trouble storing all the words of my string into an array. The last word of the sent...
[3 replies] Last: It was hard for me to follow your code, but I get what you are trying ... (by Manga)
Pausing a while loop for a set amount of milliseconds?
 
Is there another file to pause the console for a set amount of time without using windows.h? I'm on ...
[1 reply] : If you use an online compiler that supports C++11 - like http://cpp.sh... (by Thomas1965)
HELP writing code to check # if it is prime or not
 
This code allowed me to check if a number is a prime or not by outputting a 0 or a 1. My question, i...
[1 reply] : firstly, please do formatting with the [ code ] [ /code ] tags (no s... (by icy1)
by jb2918
Why is this not returning recT ?
 
why is the last function not returning result? (recT) #include <iostream> #include <std...
[5 replies] Last: lol thanks, im taking a class and the online course moves so fast (by jb2918)
converter
 
Hey guys. Im working on this project that converts digits. I was using a block of if statements to...
[10 replies] Last: @Mount eerie -- Kinda forgot about this thread, sorry ;P #include <... (by icy1)
Issue converting decimal to binary
 
I am supposed to ask the user for a low number, and a high number. Then, the numbers should print, a...
[no replies]
by aleija
Help time machine code
 
I have to write a code that gives a time difference in minutes for a time machine that can move forw...
[1 reply] : If you use code tags it would be possible to comment on a line of cod... (by SamuelAdams)
February 2018 Pages: 1... 45678... 28
  Archived months: [jan2018] [mar2018]

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