General C++ Programming (Page 20)

Can someone help me please
 
its a vending Machine problem i need a program that displays 1. coke $1.20 2. Diet c...
[no replies]
I hate OOP, please give me assistance
 
I loved procedural programming last year, i understood the syntax and everything. OOP is such a step...
[2 replies] Last: You are told OOP is significantly different than procedural programmin... (by Duthomhas)
Weird Void Error
 
Hello, i am trying to make a simple game inside of windows console in c++, but for some reason i am ...
[2 replies] Last: Thank you so much Hippogriff i guess i forgot about that at some point... (by Mason3121)
by Jakjam
Maximum and Minimum are displaying strange answers.
 
//For this program, the maximum answer is wrong, and the minimum answer is right. #include "stdaf...
[6 replies] Last: I don't know why it doesn't work--you never told us what it's doing wr... (by doug4)
implementation of diffie hellman algorithm in c++
 
i have written the following code using codeblcoks.... for diffie hellman asymmetric key encryption...
[no replies]
c++ keyboard input
 
This is an problem i have for a week right now and i don't find answer. the problem is that i want ...
[2 replies] Last: Using getch(), the escape key I think gives the single char value deci... (by Chervil)
Getting memory error "free(): invalid next size" for a particular size.
 
Hi ppl :), I am working on implementing string using char. I am facing a weird crash where if I po...
[4 replies] Last: Thanks alot @JLBorges to point that out and also to make me aware of m... (by kapil2905)
Trial by trial update of response threshold
 
Hi, I'm programming a Stroop task in which the response treshold is supposed to be adjusted after e...
[no replies]
making only 3 attempts to guess the value
 
#include<iostream> #include<iomanip> #include<conio.h> using namespace std; int main() { ...
[1 reply] : JSYK, your question hasn’t received much attention because your code... (by Duthomhas)
Quadratic calculation using void
 
After the user inputs an A, B and c value it gives me an x and y value. This is the quadratic formu...
[3 replies] Last: OP has made a pretty specific claim about the function returning void.... (by Duthomhas)
boolean expression getting "expected primary expression error"
 
With this area of my code, I'm getting "expected primary expression before 'm' on line 20 if (bo...
[1 reply] : = is assignment == is comparison comparing a boolean against true or f... (by ne555)
HELP: Convergent Series
 
For an assignment I have to approximate the value of the series below by calculating the partial sum...
[no replies]
Switch , enter more values.
 
In switch how can i enter more than 1 value ? I mean i have a switch that has multiple cases and i w...
[4 replies] Last: if it is very complex you may need to pre-switch boil the cases down t... (by jonnin)
Showing precision incorrectly
 
The following program should show the current precision. Instead it always shows 6: #include <ios...
[3 replies] Last: Side note: I think this is the perfect case study of why abusing opera... (by Duthomhas)
Inheritance doesn't call overridden function, calls base version instead
 
So I'm here again with another question. I've almost finished the basis of my game engine, but when ...
[5 replies] Last: Now I get the following problem: //GameState.h #ifndef GAMESTATE_H #... (by goldenchicken)
Help
 
If you follow too close behind another car and that other car stops suddenly, you will not be able...
[1 reply] : What's your question? PLEASE ALWAYS USE CODE TAGS (the <> formatting ... (by AbstractionAnon)
C++ and C
 
Hi all, I've heard about both before but recently I was surprised by the opinions of Linus Trovalds...
[16 replies] Last: > It doesn't need to be part of the type system That is the raison d'... (by JLBorges)
by SasuKe
Binary Search
 
I have to create a search function for a binary tree. The tree is given below: 5 4 8 11 13 4 7 2 1 ...
[1 reply] : Don't double post. http://www.cplusplus.com/forum/beginner/223322/ (by Hippogriff)
Draw a right triangle on a 25x25 grid using two user-defined coordinates
 
Hello everyone, I have a homework assignment that requires the user to enter 4 numbers that make up ...
[2 replies] Last: The part I'm having trouble with is knowing how to use my coordinate v... (by CopaceticCoffee)
Pages: 1... 1819202122... 30
  Archived months: [sep2017]

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