
please wait
Help with Count loop |
I need help calculating a sequence of numbers this is the equation & iteration i am trying to solve http://i63.tinypic.com/xdys2c.png where f(n) = ... |
Feb 24, 2018 at 6:30am
[5 replies] Last: Here's some palooka code for you. #include <iostream> using namespac... (by lastchance)
|
by sethfrias
If else statements (multiple cond.)
|
Hello, I'm trying to build a program that tells you what letter grade you received based on the average of three different grades. You tell it was score you go... |
Feb 24, 2018 at 6:25am
[1 reply] : if (avg >= 90) cout << "Grade: A \n"; // >= 90 else if( avg >= 80 ) c... (by JLBorges)
|
by TomShoe
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 read the text into an array on the main program. I'm having tr... |
Feb 24, 2018 at 2:30am
[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 selects 10 random non-repeating positive numbers (the lotte... |
Feb 24, 2018 at 2:26am
[3 replies] Last: Please edit your OP and add code tags tags around your code. Ple... (by Ganado)
|
by Kingokafor96
need some help
|
i posted this on here early and someone helped me out with it but I'm still having trouble with it refuses to accept my inputs char e, s, c, f; enum... |
Feb 24, 2018 at 2:24am
[12 replies] Last: Thank you so much Ganado (by joemu6airi)
|
by Kingokafor96
minor bugs
|
for some reason this code will add up everything but it wont deduct the discount using namespace std; /* run this program using the console pauser or ... |
Feb 24, 2018 at 1:07am
[3 replies] Last: I wasn't exhaustively listing all errors, but I was showing you the bi... (by Ganado)
|
by chrispy232
HELP code
|
with this new code I rewrote to determine if a number is prime or not, the code works. My problem is that it only runs the program once, and I want it to keep g... |
Feb 24, 2018 at 12:32am
[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 disables all the keys besides the numbers. how can i have ctrl ... |
Feb 23, 2018 at 11:49pm
[no replies]
|
by adam2016
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 be going from right to left instead of the other way around,... |
Feb 23, 2018 at 9:55pm
[5 replies] Last: The x pos of the snake must be between 0 and the width of the board. T... (by Thomas1965)
|
by Kingokafor96
Help with Code
|
i have to write a code to figure out medical the price of out of pocket premiunms and I'm having some issues with it if you could help me i would really apprica... |
Feb 23, 2018 at 9:27pm
[3 replies] Last: I'm sorry this code int e, s, c, f; bool med_choice, den_choice, ... (by Kingokafor96)
|
by aaronpeart
Function not working correctly
|
Why isn't my function accepting other inputs for the second and third. It just spits out random giant numbers for highest #include <iostream> usin... |
Feb 23, 2018 at 9:06pm
[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, but theirs always does. Maybe it is a microsoft visual s... |
Feb 23, 2018 at 9:01pm
[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 the roman numerals. The user will provide a value of n grea... |
Feb 23, 2018 at 9:00pm
[1 reply] : You need loops (by icy1)
|
by olivertwist
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 sentence is not being stored into the array because there is no ... |
Feb 23, 2018 at 8:53pm
[3 replies] Last: It was hard for me to follow your code, but I get what you are trying ... (by Manga)
|
by Anoraki
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 a Chromebook and I'm not able to use offline IDEs/compilers ... |
Feb 23, 2018 at 8:51pm
[1 reply] : If you use an online compiler that supports C++11 - like http://cpp.sh... (by Thomas1965)
|
by chrispy232
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, is how to get this code to not run when someone inputs 1 numb... |
Feb 23, 2018 at 8:27pm
[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 <stdlib.h> using namespace std; #include <string> #include "main... |
Feb 23, 2018 at 8:14pm
[5 replies] Last: lol thanks, im taking a class and the online course moves so fast (by jb2918)
|
by Mount eerie
converter
|
Hey guys. Im working on this project that converts digits. I was using a block of if statements to print out all the combinations but the code I found does it... |
Feb 23, 2018 at 8:02pm
[10 replies] Last: @Mount eerie -- Kinda forgot about this thread, sorry ;P #include <... (by icy1)
|
by stormbot
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, and each number in the range should print its binary as well.... |
Feb 23, 2018 at 6:57pm
[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 forward anytime between 24 hours. I was told I have various synt... |
Feb 23, 2018 at 6:44pm
[1 reply] : If you use code tags it would be possible to comment on a line of cod... (by SamuelAdams)
|