General C++ Programming - April 2016 (Page 8)

Declaring an object in a class
 
Hi there. I have 2 classes in 2 separate header files and I am trying to declare an object of one o...
[9 replies] Last: You're welcome! Glad it worked out :) (And sorry if I was overly sar... (by MikeyBoy)
by kgrl
converting matlab code to c++
 
Anyone can convert the following matlab code to c++ ? Thanks! ********************************...
[no replies]
Non member function error - Overloading Polynomials
 
My intentions of this code is to use overloaded operators for assignment, addition, subtraction and ...
[4 replies] Last: So where does ptrValue = &Value; go in the program? Anywhere you wan... (by MikeyBoy)
What is the C++ code to obtain gray scale image pixel intensity values using CImg library ?
 
Hi, everyone I’m a beginner to C++ and raspberrypi, Here I’m working on a project to capture the...
[2 replies] Last: Hi Moschops, that's great ! thank you so much, it is good for obtainin... (by blvlohith)
Bunny objects exercise; MSVC bug?
 
I decided to try implementing the list of bunny objects from this list of exercises (http://www.cplu...
[2 replies] Last: That seems to have done the trick. Thanks! It seems I hadn't read the ... (by jeffm712)
problem
 
can someone please tell me what I am doing wrong! the second part of this program on the drivers lic...
[1 reply] : if (studentAnswers == 'A' && studentAnswers == 'B' && studentAnswer... (by Thomas1965)
by homing
anyone here uses include-what-you-use?
 
Hey, Has anybody tried incude-what-you-use? https://github.com/include-what-you-use/include-what...
[no replies]
How to count words in a file.
 
I have been looking around for example of how to read a file and count how many words in a sentence,...
[1 reply] : I'm not sure that's a good method actually. What if someone types He... (by SamuelAdams)
Array Binning Problems
 
Hello, For a class I am having to make a simulation of a lab we have done. The problem I'm havin...
[1 reply] : Solved (by paintballer008)
Help please
 
One litre of fuel is 0.264179 gallons. Write a program that will read in the number of litres of pe...
[1 reply] : Use meaningful, specific subject headers The subject header is you... (by integralfx)
Help
 
A group of friends and I made d a c++ text based rpg game and we were wondering how to put it in to ...
[no replies]
help me
 
Write a program that presents the user w/ a choice of your 5 favorite beverages(Coke,Water,Sprite,....
[1 reply] : Your 2 posts so far belong in the beginners forum. You should probabl... (by cire)
rename() and remove()
 
When using rename(oldlocation, newlocation) to move one path to another path, is it necessary to use...
[9 replies] Last: Thank you both for your kind assistance. (by glasses)
Better understanding the STL
 
Alright, so this is a topic where I have very little exposure. So I feel like I need some sort of gu...
[2 replies] Last: At this stage, I suspect you won't get much understanding of the STL b... (by Moschops)
by zantax
How to create a Multi-User Program
 
I've taken a a couple basic classes in c++ and I was looking for a bit of a bigger project to test m...
[1 reply] : First, you have to be aware that if anyone ever takes out a file witho... (by fredk)
by merm
min-max heap implementation
 
I'm trying to get the logic for the min-max heap (min is the root max is the next level and so on). ...
[2 replies] Last: http://lmgtfy.com/?q=min+max+heap (by doug4)
Trying to deal with a random number generator
 
#include <iostream> #include <ctime> #include <cstdlib> using namespace std; int main() { int amou...
[1 reply] : There are a number of errors in the program. It also doesn't follow th... (by Chervil)
HELP !!
 
hey im trying to write code im a beginner and need some help I want to create 3/4 classes th...
[no replies]
Get paid for making me a working program??
 
Hey guys I'm curious if anyone would want to make me a program for some easy money. It shouldn't tak...
[2 replies] Last: It shouldn't take too long, it would mainly consist using functions t... (by doug4)
by sag12
cin, arith. expressions
 
Can anybody help me with this problem?: Write 2 C++ statements for reading input and the quadrati...
[1 reply] : Are you serious about not having a faintest clue on how to use std::c... (by keskiverto)
April 2016 Pages: 1... 678910... 23
  Archived months: [mar2016] [may2016]

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