General C++ Programming - December 2016 (Page 17)

nvm
 
...
[1 reply] : Don't post homework questions Programmers are good at spotting hom... (by integralfx)
How do I add two fractions in a string?
 
How do I add two fractions together in a string like: "1/2 + 1/4" and get the answer 3/4? ...
[16 replies] Last: Thank you @kemort!! (by vincelam1998)
programming project help c language
 
I believe this code is supposed to output 5 7 9 4, im just not sure how to get it to do that. Wh...
[3 replies] Last: > What will be printed as the result of the operation shown below. Un... (by JLBorges)
inline function error
 
I'm using a inlined function that when called elsewhere causes an undefined reference error. //inl...
[1 reply] : Inline functions must be defined in every translation unit where it's ... (by Peter87)
Time to generate output
 
I have this program that searches through a text file for every word that starts with a certain pref...
[3 replies] Last: Thank you so much! (by trno224)
Helpp arrays files and functions
 
How to use getline in a while loop that reads names and average from a file and fill it up in array ...
[13 replies] Last: finally done. You helped me a lot a big thanks (by waqarmalek)
Do 2 functions at the same time
 
Hy,i want to recreate a game,it was with a ball,that you had to hit a horizontal stick(kind of stick...
[2 replies] Last: To add to mbozzi's answer, I offer this analogy. Imagine that you're ... (by helios)
Recurrsion - Help
 
I need help trying to figure out this algorithm. I've been stuck for days now The debugger just conf...
[no replies]
by younes
Using smart pointers with arrays
 
How can I create a smart pointer to an array of double?. I want to convert this expression : ...
[1 reply] : The auto_ptr has been deprecated (set to "do not use any more" statu... (by keskiverto)
Problem with run again loop
 
The program lets you put in a start time and a end time and then calculates a price of the duration ...
[3 replies] Last: 256 is just "enough" extra characters. As long as you don't sit on the... (by lastchance)
Need help with algorithm assignment
 
There are 9 digit in the range of 1234566789 to 987654321 where each digit apear only once. Write a ...
[3 replies] Last: I think the sequence is just the legitimate numbers in ascending order... (by lastchance)
Need Assisstance in correcting my Reference Menu.cpp
 
Below I have put together a rough draft of my Menu for my final project. It looks to be okay but the...
[no replies]
Deleting an object
 
Good morning, I have a task to create a certain amount of objects. However, an object has a variabl...
[1 reply] : The code below creates a variable called age and deletes it once it ... (by boost lexical cast)
sort function
 
I have a project due soon and im confused on the sort function. i have the sort function from my bo...
[3 replies] Last: [quote=WhatAml]Check out this link, there's a lot in there, but look f... (by boost lexical cast)
by cang
Identifier not found error
 
When I call yyparse in main, I keep getting an identifier not found error and I can't seem to figure...
[5 replies] Last: Try making a clean build. (by mbozzi)
by KVin
Can Someone tell me why this program is not doubling the numbers 64 times ?
 
it dos not have to be array or a loop: Think about an array that has 64 elements , write a code t...
[16 replies] Last: > it says there is an error What is the complete text of the error me... (by JLBorges)
converting answer from a fraction to a decimal
 
hey guys, i figured out how to do this problem that my professor wanted but he put a twist on it tha...
[1 reply] : Please use code tags. http://www.cplusplus.com/articles/jEywvCM9/ ... (by integralfx)
Converting Recursive Function
 
I have a recursive function here, but it is causing overflow errors so I need to change it into a no...
[no replies]
by DyzziD
Trying to relate variables
 
I am currently trying to make a game similar to the TV Show Lets Make a Deal. The game will randoml...
[5 replies] Last: When you put it like that I can really see the benefit of including an... (by DyzziD)
Problem calling functions from a class
 
My goal is to create a program including a class that displays the radius, diameter, and area of 2 c...
[2 replies] Last: Wow, I need to get some sleep. Thanks so much (by logdog9191)
December 2016 Pages: 1... 15161718
  Archived months: [nov2016] [jan2017]

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