Beginners

by admin
Welcome -- read before posting!
 
Welcome to the beginner's forum in C++.com! In this forum, users can to talk about any topic relate...
[2 replies] Last: How To Answer Questions in a Helpful Way Be gentle. Problem-relat... (by admin)
Console Closing Down (1,2,3,4,5,6,7)
 
Hi, i am new to C++ and have just written my "Hello World" program. It worked all right but the cons...
[120 replies] Last: It displayed "Hello world" after you pressed Enter. int c is a ... (by Duoas)
by msrt92
Buble sort with pointers
 
How can i use pointers to pass the array to sort function? #include<iostream.h> void sort (...
[1 reply] : You... already using them. Line 19: array type decays to pointer here.... (by MiiNiPaa)
by fisken
Stack<int> and Stack<string> problem solving
 
Hi, I'm taking a distance course in C++ programming and problem solving at the univiersity of Saa...
[8 replies] Last: Cheat a bit , have a stack of string that only has one element , that ... (by a k n)
Point Type Class Getter/Setter Issue
 
I'm working with two classes (pointType and circleType). Right now, I'm just testing to make sure t...
[11 replies] Last: http://www.cplusplus.com/forum/lounge/142647/ (by LB)
by emah13
'.' is not recognized as an internal or external command
 
When I try to run a program on SciTE, I get the error: '.' is not recognized as an internal or exter...
[5 replies] Last: How do you run the program? (by helios)
I keep getting an undeclared identifier error.
 
Hey guys, I am trying to write a program for class and I keep getting an undeclared identifier error...
[15 replies] Last: I also had to make militaryToMinStrt & militaryToMinEnd instead of us... (by admkrk)
Having trouble with a card game assignment
 
Hey guys, I have an assignment due soon, and I cant figure out how to read my text files into struct...
[1 reply] : Basically there are two text files; one has all of the cards in the de... (by bedudkowski)
by Chance
Need help with this function.
 
I am trying to make the double change; display what it is equal to in terms of change due in dolla...
[9 replies] Last: Multiplying by 1 would be a bit redundant. I would personally parse it... (by giblit)
input multiple data types from file to array
 
Hi all, so I've been trying to put 3 different data types into 3 different arrays from an input file...
[10 replies] Last: Thanks man, you were a big help (by pandahamalia)
Need help with header files
 
Hello I am currently working on personal project and this is my first time using multiple .cpp/.h fi...
[3 replies] Last: Ok, let me guess. Now your charcreat function is defined as not return... (by MiiNiPaa)
by jake35
unable to "declare" a value
 
I have no idea how to represent a letter "h" as variable such as "hourly_employee". #include<io...
[2 replies] Last: Seems you are having trouble with one of the most fundamental aspects ... (by novellof)
by Sylnox
Initialize a std::unordered_map object in a constructor initialization list
 
As the title says, I'm having trouble figuring out how to initialize an unordered_map object in my c...
[8 replies] Last: Yeah, those both seem...suboptimal. Looks like braces are the way to ... (by Sylnox)
Simple ifstream function not reading full file?
 
Hi :) I am trying to make a program that reads inputs from different days, saves the dates and other...
[10 replies] Last: The learning curve is steep, but after a certain point things start ra... (by LB)
Right way to clear console screen
 
Hey I wonder how to clear a console screen for a frame update in tic tac toe or some kind of games ?...
[12 replies] Last: Thanks :') maybe I'll start to learn SFML (by LendraDwi)
by wolfv
error: incompatible types in assignment of 'A* const*' to 'A* const [0]'
 
I am trying to initialize an array of pointers. Line 18 below has a syntax error. How can it be fi...
[4 replies] Last: Sorry I misstated by intent. I want to initialize B::prtsA to point t... (by wolfv)
by Pg0715
variables and operators: calculating change and display results
 
hey everyone im stuck on trying to get the change for my program to work I got this all down but I k...
[8 replies] Last: ok I got it thank you I appreciate it (by Pg0715)
cross compiler
 
Hey there, can someone tell me the linux commands to compile a c file to avr and x86?
[1 reply] : Please do not post more than once: http://www.cplusplus.com/forum/gene... (by LB)
Help when checking for invalid inputs
 
This is an assignment for class. The problem and code are listed below. I've completed the assignme...
[1 reply] : You have some redundant checks (e.g. on line 30, it is guaranteed that... (by LB)
Priority Queue
 
I'm having trouble wrapping my head around this abstract data type business. I understand how to mak...
[5 replies] Last: Your class is not copyable and you accidently neglected the ampersand ... (by LB)
Pages: 123... 65
  Archived months: [jul2014]