Beginners (Page 6)

by leourb
istream Operator>> - Implement getline()
Hi everyone! I am doing an exercise on my book and I wish to implement getline() function in my c...
[2 replies] Last: It was what I meant! Thanks! :) (by leourb)
exceptions (throw and catch)
this code : #include <iostream> #include <string> using namespace std; class Class { public: s...
[4 replies] Last: I suspect that Microsoft's C++ implementation might be a bit "nonstand... (by FurryGuy)
[2 replies] Last: Please, use code tags when posting code and keep the indentation consi... (by keskiverto)
Extract fields from a character array in c++?
Suppose if I have a character array in the following format 2|310456|Acton Golden|Advertising|P3|...
[1 reply] : In particular, ... (by Duoas)
Small game problem
I'm having trouble with the syntax of converting each map to the variable used in my later code for ...
[2 replies] Last: This is how you define a pointer to a 2d array: char (*Map) ; ... (by coder777)
Hello world help
The hello world
[1 reply] : That's kind of a funny way of looking at it. Consider it like this: a... (by Duoas)
Would need help for array project !
Hey guys ! I would love to get some help for my following project , i am stuck on how do i go about ...
[no replies]
Finding highest data in an array
Hey guys, i would need help in one of my array programs , i am supposed to program a rainfall viewer...
[6 replies] Last: Thank you all for the help ! Sorry the late reply , been busy with sch... (by Frostehh)
by Lazlo
can not build an object of type person unless you give your name, surname and age when built .
[1 reply] : obiect does not exist. Persoana obiect ; // creates an array of 3 i... (by CodeWriter)
Trying to make an advanced calculator for a class project.
Trying to make an advanced calculator for a class project. instructions are: o Instead of using th...
[4 replies] Last: this worked. I saw where I was off in thought and got it. Thanks guys.... (by ironsoldier71)
Assignment Overloading
Can some one help with this assignment, new to C++ AND NEED to improve my code below to overload the...
[1 reply] : So here is an example of me overloading a "bucket" class for ==, + and... (by Bdanielz)
by NTesla
Infinite loop and counter issues
Displaying positives numbers between 10 and 20, How do I stay in the loop? //Is Number between 10...
[1 reply] : First why do you have so many new line characters? Also please put yo... (by Aim4Erudite)
by Ned757
I understand the Repeated Word Detection program alot better but just one thing...
#include <iostream> #include <string> using namespace std; int main() { string current; str...
[11 replies] Last: Thank you :D (by Ned757)
by mnirjc
Can't figure out how to add an exit prompt
Alright so I've complete my program for a CS 161 Assignment, but for the life of me I can not figure...
[1 reply] : #include <iostream> #include <string> bool done=false; void ExitOr... (by Homberto)
Called Function anomaly
Hey Chaps, I'm trying to get back into C++ and am finally adjusting to non-object-orientated code ...
[2 replies] Last: I structured the decision like you suggested originally but for some r... (by MrJuzah)
by fguy
Problem with getline()
When I execute the code below, I get the following... ISBN: 1234 Title: Author: I can enter an ISB...
[2 replies] Last: Thanks, I'm getting lots of mileage out of this one already. (by fguy)
by Ned757
I don't get the "Detect repeated words" program in Practise and Principles using C++
I've been over this chapter about an hour and I just can't figure out how this program works. I thin...
[10 replies] Last: Sorry for the late response. I don't think I changed from "=" to "==... (by xismn)
const int initializer for Vector within a class
Hi There!! I am trying to initialize a Vector within a class like this #include <iostream> ...
[2 replies] Last: Hi JLBorges!! Thank you very much for your answer! I will follow you... (by jessCPP)
by fguy
enums and data input
Greetings. I am trying to get a handle on using enums. In particular I would like to set something u...
[5 replies] Last: >Start with something simple - accept an integer from the user (0 for ... (by fguy)
Pages: 1... 45678... 65
  Archived months: [may2015]

Cannot post in this page. To post a new message, go to the first page.