Beginners - August 2014

help with static members of a class
 
Hi, I am trying to make a simple program with a "House" class to learn how to use static members of ...
[3 replies] Last: Well initializing a variable outside of a class doesn't necessarily me... (by giblit)
by Gyzmo
Removing a carrage return from a string of data
 
I have a string of data that ends in a line feed (0x0A), I need to send it out on a serial port with...
[1 reply] : What's a "command option"? The preferred answer depends heavily on whe... (by Computergeek01)
new question about sort
 
Define a function void order(int & a, int & b, int & c, bool ascending) that places the value...
[4 replies] Last: i know, it is the sign... damn it (by passw0rd)
issue with "this" pointer
 
Hello, I have created the following program to find the area of a circle using the this pointer for ...
[5 replies] Last: Oh... I see now. Sorry, I think I programmed a setArea function instea... (by heyyouyesyouiloveyou)
Display English words (CurlPP)
 
Hello I first asked this question here: http://www.cplusplus.com/forum/beginner/141021/ But thought...
[12 replies] Last: I've been as precise as I can without figuring out how to do it myself... (by Lowest0ne)
by h4ever
Undefined reference
 
main.c #include "types.h" #include "gaussian.h" #include "args.h" #include <stdbool.h> i...
[14 replies] Last: > ¿why would it add an underscore? Don't ask me; ask the people who ... (by JLBorges)
by moufou
problem with "while" and cin.get
 
Hi i'm currently doing a homework(I know that you will not give me the answer nor do i want it). Wha...
[2 replies] Last: thanks for the reply! yes exacly i was trying to compare what i enter ... (by moufou)
Losing elements when pushing to stack
 
The issue I am having is not all elements are pushing to my final list from my stacks. Hopefully th...
[6 replies] Last: Alright I'll check into the link, but I am little confused of how to i... (by kamikaze pgmr88)
question
 
Write a complete program that reads an integer k > 1 from the console and finds the first positive...
[15 replies] Last: You already have n and k as parameters, so they should not be masked. ... (by keskiverto)
Help with average function.
 
Im trying to write a code that computes the average of all positive numbers and returns that averag...
[2 replies] Last: Thank you so much! This really helped and I learned what I was doing w... (by painith)
by h4ever
Lambda - boost on Windows
 
Does anybody know why this code does not work on Windows? I see just black window and nothing is pri...
[1 reply] : The program is waiting for user input. If input you 4 then hit enter, ... (by helios)
Print out digits of a number
 
I want to print out the digits of a number, and this program prints them but in reverse. How can I p...
[1 reply] : They are printed in reverse because you print the least significant di... (by dhayden)
by TadyZ
Stroustrup, std_lib_facilities.h and load of error
 
Hello! at the moment i'm reading Stroustrup "Programming principles and practice using C++". I ne...
[1 reply] : See this thread for a solution: http://www.cplusplus.com/forum/beginne... (by admkrk)
Overloading '+'
 
Hello, Does this meet the qualifications for overloading the '+' operator? #include <iostream...
[1 reply] : To overload an operator, at least one of the types that participates i... (by LB)
problem with Overloading
 
Hello everyone, I need to overload these two functions, the problem is, I am lots rusty in overlo...
[3 replies] Last: Would this code be correct #include <iostream> #include <iomanip> ... (by hungrymouth)
Reference to array pointer issue
 
Hi I have a problem with a private class member which is a const reference to array. Here is the ...
[1 reply] : You're storing a reference to a pointer which isn't sticking around. ... (by cire)
pointer won't hold a value
 
Hey guys I working on making a Deque, but right now I'm just trying to make one node with an integer...
[6 replies] Last: Undefined reference means your are referencing something that has been... (by Lowest0ne)
problem with geting difftime
 
hi all why line 42 will give me Error: what im doing wrong? #include <iostream> #include <ctime>...
[2 replies] Last: It looks to me like you are calling mktime incorrectly. Try correcting... (by kevinkjt2000)
What are the best programs to make c++ GUI
 
Im looking for a program to make my gui for my personal programs. only thing im finding online is Q...
[4 replies] Last: @LB the actual form. I already have QT so im gonna try wxwidget. I wa... (by riseandtrade)
Hard Matrix question
 
I'm doing a practice problem, the question is long so it's better if I just paste it below. I wrote...
[5 replies] Last: dest has only one element, from initialiation. Aceix. (by Aceix)
August 2014 Pages: 123... 40
  Archived months: [jul2014] [sep2014]

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