Beginners - January 2014 (Page 11)

Using Constructor from a Base Class
 
Hello, I am doing a program that requires me to use the base constructor of a class when instantiati...
[3 replies] Last: The derived constructor needs to have enough arguments to call the par... (by kevinkjt2000)
Outputting a map
 
So I'm trying to create a program that reads in a list of words and then reads in a document and com...
[8 replies] Last: #include <iostream> #include <string> #include <sstream> #include <se... (by JLBorges)
Undefined reference to Class::Function error
 
I've been following TheNewBoston's C++ tutorials and it went just fine until I got to placing classe...
[14 replies] Last: It works! Thank you so much! It frickin' works! Ha ha! Oh my God, I sp... (by Althalus99)
by engr
Volume of Rectangular problem
 
IN the following code i have taken input and after that i will take the same number of length,width ...
[13 replies] Last: that's C code.. (by engr)
Help with passing a refernce of array
 
I am working on some code for a class and I would like to pass an array as a reference. I want the a...
[6 replies] Last: I changed the code by removing the address of key word "&" but now I g... (by bpedigo)
Functions and I/O Files
 
I am working on an assignment that must read input from a file, but as per my instructor's direction...
[9 replies] Last: I think the reason for the last set of data not being printed is a sid... (by Chervil)
Trying to understand C++ if syntax
 
I've done some courses in Visual Basic and a lot more in Java. Now I've just begun learning C++, exc...
[7 replies] Last: Yes I am (missing another equals sign that is) :) And if it does work,... (by Straikkeri)
by wolfv
How to initialize static stack?
 
Please help. I searched for examples and found none. I need to initialize a static stack by pushin...
[3 replies] Last: Hi shadow fiend. Why would you want it to be static ? To share one... (by wolfv)
by omoe
Best cplusplus books on process memory?
 
Hello , So i wanna learn more about process and memory related c++ functions such as OpenProcess , V...
[1 reply] : Did you try Google? These are Windows functions. You can find docu... (by AbstractionAnon)
Class with same type member object
 
Hi, I have the following class: #ifndef NODE_H #define NODE_H #include <iostream> cl...
[5 replies] Last: Ah wait of course I understand now! Thank you very much! (by MrProgrammer)
Problem with returning values
 
Hello! As im learning cpp I'm doing some exercises and I stumbled on a problem can I retrun only one...
[7 replies] Last: yes i am (by closed account iAk3T05o)
GetKey function
 
Ok i updated my original getkey function. Now it returns ascii if you press a character and virtualk...
[3 replies] Last: Ok i updated it also added examples. (by SorinAlex)
Parsing strings
 
Hi, There's a file with students' first name, last name and grades, i.e.: [grades.txt] johnn...
[3 replies] Last: You are correct the operator >> reads until it hits a whitespace , and... (by giblit)
by engr
C++ Graphics
 
I want to do program which has graphical interfaces like the background color. image installed. and ...
[2 replies] Last: <allegro.h> is also a good graphic library usually used to develop 2D ... (by Atyab)
by Sam99
Stack problem(member functios)
 
I have a very simple question. I know what to do, but confused. I am working with an assignment....
[no replies]
How to get string input from user with spaces?
 
I am making a program and for that I want to take input from user. User may input a string with spac...
[2 replies] Last: thanks (by StarSonic7)
by Kauto
Trouble sorting an array
 
Write your question here. #include "stdafx.h" #include <iostream> #include <ma...
[2 replies] Last: What are lines 114 through 118 supposed to be doing? (by cire)
Infinite loop problem
 
When I enter a double number, I get an infinite loop, and when I enter in a character, I get an infi...
[3 replies] Last: I like to use a separate function for grabbing and validating inputs. ... (by long double main)
by BC300
File I/O Problem
 
I'm trying to write a program that has to read 10 names from an input file and each name has to have...
[4 replies] Last: I understand how that I need to write 2D arrays...But why do I need an... (by BC300)
by Garion
Default Arguments
 
I am doing something wrong here and I'm not sure what. This is my code and the output should be 2 ...
[6 replies] Last: This is a good explanation about them. http://www.cplusplus.com/articl... (by vasilenko93)
January 2014 Pages: 1... 910111213... 44
  Archived months: [dec2013] [feb2014]

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