Beginners (Page 2)

by Filorn
typedef ignored
 
At the line 10: 'typedef' was ignored in this declaration [enabled by default]. Why is the typede...
[11 replies] Last: Why are you trying to call your enum instance as if it were a functio... (by keskiverto)
Invalid Operand?
 
I'm working on this code which "Tells your future" and despite my best efforts I cannot seem to fi...
[9 replies] Last: Any luck? (by Aim4Erudite)
strange behavior in throw, catch expressions ?
 
when throw is used to throw object and catch gets it by reference (&) this supposes to create the ob...
[5 replies] Last: why is it important in this context ? (by mohamedeltair)
Problem with a game (Class project)
 
This is my first time posting here, so I'm not really sure if this is the right section for this, bu...
[1 reply] : You've declared sureDelete as type int, but it looks like the user is ... (by fun2code)
Menu Based Function Calling
 
I don't really know how to connect my functions to user response, also, my menu isn't popping up. If...
[3 replies] Last: i managed to fix it (by nanor00)
Help with input and output
 
For a Beginner C++ course, I have this assignment: Write a program that will read the payroll fil...
[7 replies] Last: My bad. The file I downloaded originally was corrupted. I fixed it. (by DanteWylde)
Function Calling Trouble
 
Hi, I'm having some issues understanding these errors, could someone please explain why I'm getting ...
[2 replies] Last: Yep, that'll do it. Plus semicolons and other stuff but i already have... (by nanor00)
Help with passing input file by reference!
 
So Everytime I run the program it prompts me for the path to the file and I input it, but it never g...
[1 reply] : 9:26: warning: unused parameter ‘input’ [-Wunused-parameter] voi... (by ne555)
Error when using function - pointers
 
I'm sure this is an easy fix, but I've been working on this for a while and nothing's coming to mind...
[1 reply] : http://www.cplusplus.com/doc/tutorial/functions/ (Declaring functions)... (by ne555)
"Type crar not a const"
 
Can you help fix this? // Simple math script to help me get use // to using funcltions! #includ...
[4 replies] Last: fixed! // Simple math script to help me get use // to using funclti... (by FireCoder)
Assignment help, new to C++, is to use a base class, derived classes, overridden functions, and polymorphism.
 
The purpose of this code is to use a base class, derived classes, overridden functions, and polymorp...
[1 reply] : http://www.cplusplus.com/articles/jEywvCM9/ (by CodeWriter)
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)
Output hello world
 
Hello world
[1 reply] : If you're going to post code, please learn to use code tags: It makes... (by AbstractionAnon)
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)
H
 
Nshvwvs
[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] : http://www.cplusplus.com/faq/sequences/strings/split/ 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)
Pages: 1234... 62
  Archived months: [may2015]

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