General C++ Programming (Page 33)

add something that I'm missing
I need calculate the highest charge but it comes out to be 0. I have the output shown. Does anyone s...
[2 replies] Last: please assign some value to highestCharge variable (by Akarsh)
problem in "expected primary expressions"--- can't identify it. please help
#include<iostream> #include<string.h> using namespace std; class person { private: s...
[1 reply] : Hi, To help us out, always use code tags: (by TheIdeasMan)
Need Help C++ Coding
1. Write code that will request the length and width of a rectangle until 0 is entered for either th...
[4 replies] Last: There's a few ways of writing this, but it looks like your topic is th... (by YFGHNG)
by Zanies
Ragged Arrays! (Need Help)
Hi guys, for this program I have been struggling with it for couple of days trying to read it from f...
[6 replies] Last: Thank you JLBorges! This helped a lot (by Zanies)
Need help with do-while loop assignment!
This is my first post, and I am new to programming, so please bear with me. I missed a few days in c...
[3 replies] Last: Thanks guys! I think I have it somewhat figured out. I am still confus... (by KISSfan1993)
by Chubby
opengl Moving sphere to center
Hello, How can I move sphere the near plan? [
[no replies]
Nearest neighbour using voronoi
Hi everyone, I implement Shane o Sullivan ( code ...
[4 replies] Last: hi coder777, I check the link, however I couldn't find what i'm looki... (by hidayat)
Using for statements to read from a file
Hello, I'm pretty new to c++ and was wondering if anyone could help me out! I have to read multiple ...
[4 replies] Last: I don't really understand the file format because ... Before I get in... (by kbw)
Whats wrong with my code, keep getting errors?
void main() { float input1; float input2; // Print request for first number, the read it in. ...
[5 replies] Last: <iostream.h> is not a valid C++ header. It used to be decades ago, b... (by LB)
Why is there no else + loop statements in C++?
I find logical occurances all over the place for things like if(condition) else while(condition is t...
[2 replies] Last: re: if(condition1) else if(condition2) while(condition2) You are ... (by Duoas)
by JNW
pointers problems
/*************************************************************************/ /* Dear all i am having...
[2 replies] Last: you are reading like if it was a 1d array, but is 2d . it is different... (by Ericool)
Need Dev C++ Help
How would you write this code using a recursive function? #include <stdio.h> double power(double...
[5 replies] Last: #include <stdio.h> double power(double a, unsigned int b); // *** un... (by JLBorges)
implementing lamda syntax
I've been staring at the syntax for implementing a lambda for quite a while and I'm hoping that some...
[8 replies] Last: O. That makes sense. Thank you very much for the help and insight. (by kalistibot)
Finding multiple lowest numbers
Im creating a programme to find the lowest paid performer. Below is the function that allows me to ...
[3 replies] Last: Hi, Just go with this for a minute: Initialise the highestPay and ... (by TheIdeasMan)
Need Help (Election program without array)
This is what ive made so far i cant add the total votes and display the names tho :( #include <iost...
[4 replies] Last: I don't see arrays, perhaps you refer to vectors? You could use deque,... (by fcantoro)
moving window and resize bottom flickers
I am trying to make a kind of popup notification window that slides out of the task bar. At the mom...
[no replies]
Whats wrong with my code?
The following codes are able to run and all functions are working fine except for the maxPay functio...
[3 replies] Last: Just realised the problem with my programme lies in menu 1 which I did... (by windeclipse)
Arithmetic Problem Solve
Suppose we have digits 1 2 3 4 5 6 7 8 9 and arithmetic operators +, -, and *. Write a program th...
[1 reply] : Double post. And I gave you the hints: (by ats15)
by rayb20
quicksort using a median of 3 partition
In the process of doing a sorting algorithm project and having some trouble with quicksort using a m...
[4 replies] Last: Median of three should sort the three elements and always return the m... (by Duoas)
Some Help Please!
Why does my code not loop back to the start when "namechange" = 0. The code just stops after it outp...
[3 replies] Last: Changed == into = That would not be correct. Change = to == in your... (by cire)
Pages: 1... 3132333435... 50
  Archived months: [sep2015]

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