Beginners - October 2018 (Page 21)

by Seyter
FInding Rectangle area with this method.
 
I need help here. I didn't get the right output. I am trying to make program using this method but i...
[2 replies] Last: Hi... you meant like this? Doesn't work. #include <iostream> using n... (by Seyter)
by Cairus
What is "String Concatenation" exactly?
 
I have been instructed not to use string concatenation in a project but this terminology hasn't been...
[3 replies] Last: Yes (by mbozzi)
Help fix my code please
 
I submit my code through mimir and get full credit for quality but fail when it comes to test input....
[3 replies] Last: Think of it this way, Step 1. call printDistance Step 2. (you're in p... (by ToeMater)
Inheritance Seg Fault
 
I'm writing a program that contains an Athlete class, and a college athlete class. A separate class ...
[2 replies] Last: Oh wow, silly mistake, in my efforts to reduce the code so that i coul... (by ToeMater)
by Cairus
Prime Number Function
 
Hi guys, I have a school projet for which I am supposed to make a function that will determine all t...
[2 replies] Last: You only need to check the odd numbers, and you only need to go up to ... (by tpb)
consecutive numbers
 
can anyone tell me what is wrong with my code please. We have to come up with a code to promt the us...
[5 replies] Last: will do. thank you guys so much for your help (by rascon4444)
by Satan
What is the quickest/most efficient way to clear console screen?
 
Hello world! It's great to join a big forum like this but anyways cutting to the chase, I want y...
[4 replies] Last: system cls should not trigger normal antivirus software. Cls is a per... (by jonnin)
Simple Calculator
 
Hello, I have to write a code for a simple calculator that can add, subtract, multiply and divide...
[1 reply] : #include <iostream> using namespace std; int main() { int a, b, re... (by Manga)
Box2d or cocos2d-x? + clouding
 
I intend on making a physics based wacky android slingshot game. For a more professional layout a...
[2 replies] Last: I also really want to know how to share files. My friend and I are wo... (by helios)
Single-Level Control Break (1,2)
 
The program should produce a report for a supermarket manager to help her keep track of the hours wo...
[34 replies] Last: Thanks keskiverto. I can't believe I had never realized any of this b... (by Manga)
Question on adding 10 sums
 
Hey, I nearly completed my code, however there is one problem. I have to add 10 customers' bills and...
[4 replies] Last: Thanks guys. I got it to add the sum of vat and total in the loops. Re... (by CheesyForde1)
Multiple conditions in if statement
 
I produced this code if ((16 <= age && race == Vulcan ) || (17 <= age && race != Romul...
[9 replies] Last: Hello heeyehan, Sorry for the delay, I could not stay up any later la... (by Handy Andy)
how does one create two functions that get used in main?
 
How does one go about extracting the whole part of an integer and in another function, the decimal? ...
[3 replies] Last: The first version has issues: int integer( double number ) { cin >>... (by keskiverto)
Shapes
 
I am trying to draw shapes by receiving instructions from a file and then draw the shapes and output...
[3 replies] Last: You need to read a char first then an int and a char again. Also you n... (by Thomas1965)
by Tduck
expected ')' before 'className'
 
When I compile the following files (using onlinegdb.com right now), I get the error: In file inclu...
[1 reply] : // dayType(string dayName) dayType:: dayType(string dayName) { ... (by JLBorges)
Generate a set of random numbers in the range of 50-100 and, for each set, count how many values fall into particular ranges
 
The counter at the bottom isn't adding up the correct amount of numbers in the different ranges and ...
[1 reply] : You never inititalize your counters to 0. But your code is way too rep... (by tpb)
Figures using multiple files
 
Working on a figures assignment using multiple files and i keep getting int errors The program shoul...
[14 replies] Last: Hello urawrath, You are welcome. You are doing well for six weeks. J... (by Handy Andy)
looping doesn't stop
 
Hi guys! Could you help me? So the logic here why did i use two loop syntax which is do while and wh...
[6 replies] Last: @jonnin, Thank you for advice and tips. Based on my research, they sa... (by daryledevs)
by oterus
whats wrong with these code??
 
read 2 numbers (ex: 4 7) increment 2 and decrement 1 so it will be like these: 4 6 5 7 6 8 7. (4 plu...
[2 replies] Last: Hello oterus, PLEASE ALWAYS USE CODE TAGS (the <> formatting button),... (by Handy Andy)
can anyone please solve this problem
 
Using Nested Switch statement, write a program that displays the following menu for the food items a...
[3 replies] Last: Hello shaheer, PLEASE ALWAYS USE CODE TAGS (the <> formatting button)... (by Handy Andy)
October 2018 Pages: 1... 1920212223... 28
  Archived months: [sep2018] [nov2018]

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