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 Duthomhas)
Project Help
 
"You are expected to write a c++ console application which reads files from Reuters-21578 documents ...
[6 replies] Last: I do not know about the [Duplicate thread] or what has been said so f... (by seeplus)
C++: hex numbers and reference parameters
 
Hi, I'm playing with reference and pointer parameters. Problem is when i print it, it gives me only...
[10 replies] Last: @Scorpia Your thread title and OP both mention "reference parameters".... (by MikeyBoy)
Array of String in C
 
Hello, I'd like to create array of string in C. but I have Access violation error: #include <st...
[6 replies] Last: Consider: #include <stdio.h> #include <string.h> #include <stdlib.h... (by seeplus)
by kmce
value_type ?
 
Hello, I am wondering if someone could help me out with what value_type does in this code. Is it cau...
[6 replies] Last: Without knowing the original purpose, a possible 'clean-up' of the cod... (by seeplus)
cin.ignore() is pausing my code reading data from a file
 
I'm trying to use cin.ignore after I use the extractor operator (>>) to read and discard the end of ...
[8 replies] Last: An alternative take is to overload the stream extraction (operator >>)... (by seeplus)
by vdxnc0
counting number of base and derived classes pointers
 
I have to write a function to count number of pointers to objects of base class and number of pointe...
[1 reply] : class Foo{ public: virtual ~Foo() = default; }; class Bar: public... (by ne555)
a reference of type "std::string" (not const-qualified) cannot be initialized with a value of type "char"
 
Can some one please explain this error? I read about it but did not understand it enough to solve it...
[14 replies] Last: As per previous. that was answered here http://www.cplusplus.com/forum... (by seeplus)
void play if statement not working | login/register system
 
Hi there, so when you run this code it shows me all the possible options for the if statement at the...
[6 replies] Last: Hello lazylife, While working up a response I see that seeplus has ... (by Handy Andy)
by Drayt
Login/Register Problem
 
I'm trying to make a program that gets input from the user and enters it in the "accinfo".txt, basic...
[6 replies] Last: I understand now, Thanks. (by Drayt)
compares
 
Hi, I have a problem with this program. I would like to write a program which compares two txt files...
[3 replies] Last: What is the basis of the compare? By line, by word? This can be done s... (by seeplus)
by siid14
C-String : incompatibility between char and const char *
 
I'm doing a code with only C-String. This code is about to check if the password that the user input...
[8 replies] Last: > In the example from cppreference I tried to output the character c a... (by JLBorges)
I have studied C++ here for over 60 hours.
 
Hello,everybody here. I am a newbie in programming and I only use this website for my learning reso...
[1 reply] : When you create a cylinder, the cylinder's constructor DOES construct ... (by lastchance)
structure and arguement
 
I have to write a program that takes a person's name as arguement and prints out all of the informat...
[3 replies] Last: #include <iostream> #include <string> using namespace std; struct ... (by lastchance)
Incrementing
 
I'm trying to increment students by 1, but each time it shows output it says "Student 1..." again an...
[3 replies] Last: Hello Awak3nDreams, Given these lines of code and considering the res... (by Handy Andy)
array
 
What do i do about this #include <iostream> using namespace std; int main() { int Array ...
[4 replies] Last: #include <iostream> int constexpr sz = 20; int main() { int input... (by mbozzi)
overload toy example
 
Hi guys, I was playing with a toy example to overloading functions: #include <iostream> ...
[3 replies] Last: #include <iostream> using std::cout; //int f( int v) { cout <... (by dutch)
by maple
const_iterator
 
Write your question here. hello, everyone, I would like to know why passing a const_iterator to an ...
[6 replies] Last: Thanks JLBorges. Now I get it. (by maple)
by gomi
Any idea about C++ cross platform library for GNU-EFI application ?
 
I work on a GNU-EFI UEFI APPLICATION project with VS2019. I wonder if that was possible to port C++ ...
[no replies]
Pages: 123... 17
  Archived months: [nov2020]