General C++ Programming (Page 29)

Review: Long-Distance Calls
 
Hello, I am having trouble completing this code on Long_Distance Calls, i'll post the code i have ...
[1 reply] : Use (a) a do-while loop to make sure that the user input hours and min... (by gunnerfunner)
I have a problem
 
Hello guys :) I have been busting my head with the following problem. If you could solve it for me i...
[1 reply] : @MasterPuf + Welcome to Cplusplus forum. + What problem do you have w... (by SakurasouBusters)
by slcue
value-returning function
 
Hello, I am very new to C++ programming. We are learning about value returning functions and the as...
[1 reply] : I'm learning too and my advice to you is try to make the code as neat ... (by phone98)
by NICE8x
Program Won't Compile
 
We are given the header file with the RMEs and we have to write the functions for the class in the c...
[9 replies] Last: [quote=NICE8x]Also do I need to use const with the get functions? You... (by FurryGuy)
by KVin
can someone please check and assist me do this program ? its pretty cool
 
HI this is not for school just for fun it would be cool to make this work I want to impress my fri...
[4 replies] Last: if you ask them about the year they were born? so what are you trying ... (by M B)
Tutorial eg in C++
 
I have a question regarding the example covered in the section Classes (I) in the Tutorials of C++. ...
[2 replies] Last: HOW CAN r BE ASSIGNED TO base WHEN BOTH ARE OF DIFFERENT TYPES ie. ba... (by helios)
Need help starting a C code.
 
Write a program to compute the current in an AC circuit that has three resistors R1, R2, and R3, in ...
[1 reply] : http://www.cplusplus.com/doc/tutorial/program_structure/ http://www.cp... (by doug4)
void functions
 
I've been working on this rocket program for a little while. I've seen that another person has poste...
[4 replies] Last: my bad I realize had had posted an earlier draft of the program ill ma... (by sbsheena)
exam sheet
 
please can someone help me with, a program to compute the result for a class of student each taking...
[1 reply] : Yeah sure we'd be happy to help. Just post what you've done so far and... (by gunnerfunner)
get(int index) function linked lists
 
Hello just want to find out if this code is right or can something change? template<class T>...
[1 reply] : Line 5,26: What's the purpose of nodeReturn? It's not used. Line 17... (by AbstractionAnon)
recursion problem
 
i am trying to figure our how a side would look if to find the the amount a number can by raised to ...
[5 replies] Last: // invariant: n, max_value are non-zero unsigned int max_pow_not_abov... (by JLBorges)
Deletion causes access violation
 
I have a linked list and a block of code that destroys it. For no apparent reason, I'm getting an ac...
[1 reply] : I thought the nullptr check was supposed to prevent access violations... (by AbstractionAnon)
Calculator
 
Hey guys, been trying to make myself a calculator and ran into some trouble lol, if you guys can sp...
[3 replies] Last: Don 't double post - see your replies on a separate subforum. (by lastchance)
HELP! Please :/
 
thank you!
[4 replies] Last: I think the OP is supposed to ask for a number of $s to output 5 times... (by edge6768)
Inserting a temporary std::string into a set: is it a dangling reference or a copy?
 
Hi, The simplest question. I have the following scenario: class container { std::set<std::str...
[3 replies] Last: It's a copy. You can't store references in standard containers. (by mbozzi)
How do I Print my array and my sums?
 
#include <iostream> #include <iomanip> #include <fstream> using namespace std; int main() ...
[6 replies] Last: I did... Maybe it's because I'm using an iMac. I've had trouble before... (by JANET2016)
Element-wise max between two arrays
 
Hi guys. I think my question is pretty simple. What is the best way of making element-wise max op...
[3 replies] Last: Great mbozzi!!! This is what I was looking for: This is the code: ... (by dariodem)
redeclaration of function that isn't there, etc
 
all of these error messages seem to be bogus. but I don't know what to so with them. can't get past...
[4 replies] Last: It is occasionally helpful to run (only) the preprocessor over your so... (by mbozzi)
Loop not working
 
The issue seems to be when I go into the menu it works the first time (say you hit pasta) but then w...
[7 replies] Last: Thanks for your help guys, I figured it out. I simply too the boolean... (by drewcprice)
by saydi
Can anyone solve it please !
 
Q1 ) What is wrong with the following if statement (there are at least 3 errors). The indentation in...
[3 replies] Last: Hey Saydi, Try to write your code and if it does not compile for you o... (by M B)
Pages: 1... 272829303132
  Archived months: [oct2016]

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