Beginners (Page 3)

by medosz
terminating loop
 
I am trying to write a simple money exchange program. The following should happen: User enters maxim...
[2 replies] Last: I made some changes, but the problem is from the second loop it doesn`... (by medosz)
Why does my Pong ball collision code sometimes not work
 
I'm creating a pong game with C++ for a University project. I have this snippet of code that check t...
[1 reply] : 1. Why is ball_direction a different object to ball ? It's motion is j... (by salem c)
unexpected whitespace in char array output
 
I wrote this code trying to reverse a char array. Can someone please tell me why there is a whitespa...
[3 replies] Last: Got it. Kinda feel like a dummy, but hey, I'm still really new to C++.... (by AaronBoyd)
DO LOOP FOR GAME ERROR
 
hey guys just want to know how come i give a choice to play again but my program crashes and the num...
[5 replies] Last: never mind i fixed it. apparently i had to change the getline(cin,temp... (by Gerardo559)
by Djpich
Making the probability of a fitter number getting picked higher.
 
So I have to make a mating pool and with it a sort of raffle for the fittest strings. The problem I'...
[no replies]
Easy C++ coding
 
These are the instructions. This is a simple program to calculate stock prices based on user inpu...
[4 replies] Last: Hello herhsey1234, Lets see if I get reported again. A good start, b... (by Handy Andy)
Passing Lambdas
 
So I saw at some point someone said something(wow, super specific, I know) about how lambdas in c++ ...
[4 replies] Last: Ok. Thanks! (by highwayman)
How to call this function in main() in cpp
 
I am trying to use the following remove() function in the main() function. Please let me know what i...
[8 replies] Last: If you'd named your parameters with meaningful names, this would have ... (by Repeater)
How to use bool efficiently
 
How am I able to input any name into my bool, but only one name can be true. Here's my code below...
[2 replies] Last: Thank you! (by LauMan10)
Extremely basic question( undefined ref )
 
So I thought I could solve this pretty trivial problem myself but to the contrary. I have a Stack...
[3 replies] Last: would this be the problem? - https://stackoverflow.com/questions/4950... (by mbozzi)
Taking 2 points input
 
Hey there! I want to take input of only 2 decimal points. It means, if I give 2.54578, it'll just t...
[3 replies] Last: https://www.learncpp.com/cpp-tutorial/4-4a-explicit-type-conversion-ca... (by Furry Guy)
by zet343
SFML and Qt Creator
 
Hello, I'm new to C++ and programming and I'm trying to make a graphic application with Qt Creator. ...
[10 replies] Last: So after downloading the environment recommended in the book, I got th... (by zet343)
Problem isn't answer true.(2)
 
Question and code which ı wrote below.I wrote this code by using flow chart.Everything seems true b...
[6 replies] Last: Your question is ambiguous, @whitesoldier. Besides the fact that you a... (by lastchance)
struct is not working, I tried making a tree
 
Could you please explain to me what exactly am I doing wrong? I followed the tutorials and it still ...
[1 reply] : tree is a type, not an instance variable you can use. You have two th... (by salem c)
Coding in C++
 
10. These are the instructions: This is an updated version of assignment from a previous chapter t...
[2 replies] Last: Homework questions are for you to code, so you learn from the experien... (by Furry Guy)
Constructor
 
Hi, I have in class private char* region. I need create constructor which takes as argument data of...
[9 replies] Last: Thanks. I am beginner in C++ and in work with pointers, but I think th... (by Agent 003)
by mlinhy
Need help with arrays
 
Im not sure if my program is correct & need help checking it.
[1 reply] : What's wrong with the program? It compiles and run fine at my system. ... (by nuderobmonkey)
reading a character using readconsoleoutputcharacter
 
i am trying to read a character on screen (to be fed to another function) using readconsoleoutputcha...
[3 replies] Last: i have adjusted the code for a function to the following. how can this... (by tunplus)
by Jarias
C++ database android App
 
So im trying to create a database app for a company where they can store all their clients informati...
[no replies]
Problem isn't answer true.
 
Question and code which ı wrote below.I wrote this code by using flow chart.Everything seems true b...
[2 replies] Last: Okey,how is it going to be ? (by whitesoldier)
Pages: 12345... 23
  Archived months: [oct2019]

Cannot post in this page. To post a new message, go to the first page.