General C++ Programming - November 2015 (Page 21)

by Ocen
Need to get a value out of another function without returning it
 
Can someone explain to me how I can get the totalAmount out of getCustomerTotalAssets to use in the ...
[2 replies] Last: [quote=Ocen]I think I need to do something with passing by reference, ... (by closed account E0p9LyTq)
can you please tell me what's wrong with this program
 
#include<conio.h> #include<iostream.h> #include<stdio.h> #include<process.h> #include<fstream.h>...
[1 reply] : After fixing #include's to point to proper headers, there are 89 error... (by ShiftLeft)
I need help with data structure...
 
I need to create a data structure for below: Enter Movie Name: The Wizard of Oz Enter Year: 193...
[1 reply] : string Rating = "PG"; (by ShiftLeft)
Help with structures in a weighted graph
 
I have an assignment where I am given a weighted graph (vertices with lines connecting them, and the...
[1 reply] : It looks to me like your Graph contains only one vertex. You need a c... (by dhayden)
array of pointer
 
hallow everyone how can I find the average from array that is taken 12 values and how can I find ...
[6 replies] Last: which loop did you mean? The one that computes the average.... (by dhayden)
finding the maximum number
 
when i run this code and enter 5 5 5, why wont this code give the maximum number for the code as sho...
[1 reply] : Please don't double post. ^^ I answered the other one. (by sasauke)
by nwd3
Dot Product
 
Hello I am trying to do an assignment that dot products two vectors while passing the following test...
[4 replies] Last: thanks I figured it out (by nwd3)
Go to Void(s) from Menu system.
 
Hi! I was hoping if it were possible to go into a void from a do switch menu. I have already got the...
[2 replies] Last: Right, the options now fall into the voids and read out the comments. ... (by J Plant)
How to calculate exponents using for loops?
 
Using a for loop, how would you compute the result of an int raised to the power of another int? ...
[11 replies] Last: Thank you for all your help everyone! (by Wulfinite)
Bytes to Hex
 
Hey I've been out of the C++ game for a long time now and trying to get back into it. I'm trying to ...
[4 replies] Last: Hi, One can use a delimiting char with the ostream iterator, have a l... (by TheIdeasMan)
by cft
Operators << and >>
 
Hello, I realy don't understand these operators << and >> In this example what is the value of o...
[2 replies] Last: Ok clear. Manipulate decimals is easier to understand, for me at least... (by cft)
Passing predicate function as a parameter to two functions?
 
Hello, I am having some difficulty with passing a predicate function as a parameter to another fu...
[4 replies] Last: Thank you very much!! :) (by binary3926)
Can anyone help me to fix my code for movie netflix project?
 
I am working on the movie netflix project. This is the current code I have so far: #include <io...
[1 reply] : What is R? You have not declared any variables with that name. The ge... (by Peter87)
SetAtGrow issue in vector and array
 
hi setatgrow in vector is giving issue as i have t orepalce carray to vector i want setatgrow log...
[1 reply] : You don't want to resize the vector if the index is smaller than the s... (by Peter87)
PLEASE ASSIST, URGENT ASSIGNMENT!
 
Given information: In physics, there is an equation that determines how far a projectile will tra...
[2 replies] Last: My apologies. I only wanted some assistance because I was confused to ... (by bebravejules)
How do you create data structure?
 
After gathering more information for movie netflix project, I needed to use the data structure. So...
[1 reply] : You need a collection of movie titles, not just a single one. For exa... (by dhayden)
Segmentation fault on string return
 
I'm trying to convert a decimal number to a binary number using a recursive function that returns a ...
[5 replies] Last: You're not properly evaluating the logic of the code. The (presumably... (by tricky87)
by asernx
Stuck on project.
 
For my class we have to create a program that can computer numeric grades for a course. The grades a...
[1 reply] : You need to read each line and at least process the scores because you... (by kbw)
I need help with creating linked list of node function
 
Hello, I am making a movie list which need to use pPreviousNode and pNextNode. (Linked list of nodes...
[2 replies] Last: Yes, That was it. Linked list of nodes (by hsb910126)
How do you create movie queue?
 
Hello guys, I am working on a movie netflix project. I have gone this far at the moment: #inclu...
[1 reply] : Why have you created a new thread about this? http://www.cplusplus.com... (by kbw)
November 2015 Pages: 1... 1920212223... 26
  Archived months: [oct2015] [dec2015]

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