Beginners - October 2017 (Page 5)

Bounding Box Collision
I am trying to figure out how to calculate all sides of the rectangle. I am struggling finding the b...
[3 replies] Last: Collision detection algorithm solution copied from: https://stackoverf... (by Enoizat)
cout not working after While statement
Feel free to critic any part of the code, but the problem im having is that the cout at the end is n...
[3 replies] Last: I had a palm to face moment. realized that the "while (monthdue > 0)"... (by brenton393)
l can't get the 'exact' decimal part of a float number
Hi all, l have a serious issue here. lm trying to get the decimal part of a float number; then l ...
[3 replies] Last: you can use integers for this, with a great deal of effort to compute ... (by jonnin)
Help me please! do while / if else, with char isn't working.
hey you people, let me know where is the fault. //opdracht_4.15_7 #include<iostream> using n...
[5 replies] Last: why is the: 'using namespace std; dangerous? knowclue’s answer is... (by Enoizat)
Code errors
Create three arrays of 20 integers each. Fill in two arrays with data, leaving the third blank. From...
[4 replies] Last: Thank you so much. That cleared it up for me. (by polodude8888)
Player Scores Arrays with functions project
I am new to C++ and am having a hard time with my current project. I have this set of code but I hav...
[4 replies] Last: So looks like I figured it out just in case anyone else needs to do th... (by jonk8623)
Cant Find the Error
As you may guessed i am trying to write a code where the user puts the amount of water that they use...
[2 replies] Last: Thank you (by MertAksoy)
how to compress thhe code while getting the same results?
This is a small program I wrote with what I have learned since I started codeing in C++ about a week...
[2 replies] Last: thanks I will try out the "for" loop right away, and btw another quest... (by sauerplayer)
Searching for values in strings
Hello, I am new to string manipulation and I am having a difficult time searching for values in anot...
[5 replies] Last: How exactly does that work? #include <iostream> #include <fstream>... (by lastchance)
Load data from a file or as user input?
I have an assignment (C++) that contains a Class that makes some arithmetic operations on two variab...
[1 reply] : Hello OmarGera, It looks to me like the beginning of main you will ha... (by Handy Andy)
Midterm Project Assistance
I am working on my midterm project for my beginners coding class. I have divided many parts into se...
[14 replies] Last: Hello RCUniversal, Look at this bit of code and tell me what is wrong... (by Handy Andy)
I have this code and I want to make it so that each number can be outputted only 4 times each.
I have this code and I want to make it so that each number can be outputted only 4 times each. ...
[1 reply] : Looks like you trying to create and shuffle a deck. First thing I woul... (by knowclue)
This is a practice assignment for one of my classes, I don't understand functions that well. Can any...
[1 reply] : The purpose of practice problems is to learn the skills you need to su... (by knowclue)
code for displaying the multiplication of numbers that is divisible by 3
Please can you help me to write a code that prints the multiplication of numbers that is divisible b...
[1 reply] : This looks like a homework problem. You'll need to use one of the ar... (by knowclue)
program to calculate hotel stay
Hey I'm stuck on step 6. I cant seem to make the code actually do what its supposed to do. ...
[4 replies] Last: I cannot seem to get my loops to work correctly How do you know? Your... (by Enoizat)
Visual studio 2017 doesn't show errors if I use MYSQL connector
Visual studio 2017 doesn't show errors if I use MYSQL code. It just compiles a previous code which w...
[no replies]
by cash
how to delete element in an array
The user will input a number from the array that they want removed. How would I do that? else ...
[2 replies] Last: 1) you could make the array data type a struct or class with a 'is del... (by jonnin)
by chuvak
Heap Corruption on delete
I am manually dealing with memory management and pointers, and I am running into an issue. I will po...
[6 replies] Last: So the issue was simply adding strcpy(name,' into line 6... (by chuvak)
Decimal to Hexadecimal Conversion
Hi everyone! First of all, I am completely new to programming so I apologize in advance for any majo...
[4 replies] Last: @Chervil Ah okay, thank you! I made those changes :) (by pcorone1)
by cash
How to add a number to the end of partial array
For input two, how would I add the number the user inputed to the array. #include <iostream>...
[1 reply] : What do you mean by 'partial array'? You add a number to an array lik... (by coder777)
October 2017 Pages: 1... 34567... 32
  Archived months: [sep2017] [nov2017]

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