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

by bodx
please Help Mayday
 
I need to design a function that adds, substract, multiply and divide using c++. no idea on how to g...
[3 replies] Last: Thank you sir...gracias. (by bodx)
Please!! need help in outputing the even numbers of myvector into a file
 
Hi guys, I am new c++ learner, I have stuck in copying the even values of myvector into a outfile ...
[5 replies] Last: I guess now the second point I can acknowledge is <algorithm> function... (by closed account 48T7M4Gy)
Reading txt files in Xcode
 
I have a program that needs to be able to have a file name inputted and from that input open a txt f...
[4 replies] Last: change the working directory about halfway down the form - tick custom... (by closed account 48T7M4Gy)
by bodx
Please Help! Mayday open Exams
 
Design a function to act as calculator for performing: addition, subtraction, multiplication and div...
[10 replies] Last: http://www.cplusplus.com/forum/general/204709/ (by closed account 48T7M4Gy)
Source file
 
Hey guys i need some help i created this program on HP computer but i forgot to create a source file...
[3 replies] Last: If you want to compile it, you can do that online now. Try http://ww... (by SamuelAdams)
Less_result<T>
 
Consider the following function template predicates: /// the result of evaluating type T's l...
[1 reply] : Assuming that the less than operator is const-correct: #include <uti... (by JLBorges)
Referencing an Array in Parameter
 
Hello, I am trying to reference an array in my parameters for my draw functions below however, after...
[8 replies] Last: Turns out I had to pull from my array. Thank you for the help. :) (by raboki898)
wont read input file, what's wrong? (1,2)
 
I'm trying to input a file into an array. I'm not looking for the entire code or anything as this is...
[39 replies] Last: Do I need to create another struct for the average? (by elliott21)
Legal drinking age
 
My program is crashing when I type in the the character that registers for the else condition. The i...
[6 replies] Last: Is there any reason to convert it though? One reason might be to mak... (by cire)
dynamic allocated array
 
hey can someone one help me do this i need to write a dynamic allocated array using pointer operatio...
[5 replies] Last: another dynamic allocated "array" with one element larger than "data" ... (by waqarmalek)
random number generator without duplicate
 
I'm trying to generate random number without repeating same number... #include<iostream> #in...
[8 replies] Last: Note: the std::random_shuffle has already been deprecated , because i... (by keskiverto)
Qt Help
 
I am new to Qt. While learning Qt GUI programming I'm also playing around with it. With the code bel...
[3 replies] Last: QT says it's simple. I'll take your word for it if they've got it wron... (by closed account 48T7M4Gy)
Error LNK2019, at my wits end
 
Hi everyone, I've been attempting to solve this error for about an hour now and I haven't made any p...
[4 replies] Last: http://www.cplusplus.com/forum/general/113904/ (by ne555)
Unable to Call Function (1,2,3)
 
Hello I cant see to call one of my functions and i am not sure why if anyone could help figure it ou...
[51 replies] Last: @OP So extract the offending function, make up some test data instead ... (by closed account 48T7M4Gy)
Help me to do assignment pls
 
I was given an assignment but I don't know much about c programming. please i will like to know more...
[5 replies] Last: Wow, what a traumatic expence it must be, you've been working on this ... (by closed account 48T7M4Gy)
by agulbs
How would i change this to be an if-else statment?
 
int endBr; endBr = right ? right->intValue : beginBr + 1;
[1 reply] : int endBr; if (right) endBr = right->intValue; else endBr = ... (by Ganado)
Find the index of searching element in an array.
 
How can we find the index of the searching element in an array? I want to know a built-in function f...
[3 replies] Last: std::find returns an iterator, which can convert to an index of an a... (by Chervil)
by spsam4
Loop over folders
 
In my problem I have set of folders called Job1, Job2, Job3,......Jobn. In every Job folder there's ...
[6 replies] Last: Thanks a lot... (by spsam4)
Polynomial
 
...
[12 replies] Last: ok thanks, I will try my best , if I will not be able to do this code ... (by WilliamMorris)
Question about Classes
 
So I am making a Multiplayer Game with Classes, I have my Class player. And I want to call the insta...
[5 replies] Last: That is actually perfect. Thanks alot @doug4. (by Dracer0185)
December 2016 Pages: 1... 56789... 18
  Archived months: [nov2016] [jan2017]

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