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)
How to get the external library (PDAL) running?
 
Hello, having problems setting up a console program using the external library pdal (www.pdal.io...
[4 replies] Last: Ah, ja, I can do that, and I did, with the same result as in adding th... (by Rick CXX)
creating a vector that contains a string and two int
 
Hi yall, So for a practice test, there is a problem that states: Assume that a vector of Coaster Ob...
[3 replies] Last: If the file contains superman 90 20 Then you can simply do: ifst... (by Ganado)
Function of the Max and Min elements of an Array proble
 
Hello everyone, I'm pretty new to the whole c++ deal and I would like to know what is the problem wi...
[3 replies] Last: I'm pretty sure the system("pause") isn't really causing the problem ... (by Repeater)
Can't get Hello World to print in Visual Studios 2019
 
Hello all, I recently downloaded visual studios 2019 and am running into an issue that I could not ...
[1 reply] : The program is finishing. This is not unexpected behaviour. What happe... (by Repeater)
Modify decimal part only !
 
this program should read numbers continuously until -9999 is entered it should display int part,dec ...
[6 replies] Last: Even i lately read this but thanks to you all (by Reem Alnuaimi)
by Astra
Avoiding an extensive if statement parenthesis
 
suppose in your header you had these integers int a = 0; int b = 0; int c = 0; int...
[9 replies] Last: I've not learned about templates in c++, is it quite substantial? ... (by mbozzi)
Why is there a >>> op
 
What is the difference between >> and >>> ? I’v heard they are the 'right shift' op and the 'sh...
[10 replies] Last: We should make it very clear that in C++ (and C) right-shifts should p... (by jonnin)
ALT key
 
Hello! So I am trying to get this function to work by using the 'ALT' key instead of 'a'. I've tried...
[1 reply] : IIRC, glut does not offer this functionality. You will need the GLFW s... (by Duthomhas)
Homework!!
 
hey guys! need some help writing a program involving storing array values using functions. I'm p...
[1 reply] : Homework is for you to write code so you learn from the experience. W... (by Furry Guy)
Expression must be a modifiable value
 
I am creating a 2d vector "grid" in which a multiplication table is printed out. Does anyone under ...
[1 reply] : push_back takes the value to be pushed at the end of the container. Y... (by kbw)
by momof4
segmentation fault (core dumped)
 
I'm making a program to solve sudokus. I'm trying to make an multidimensional array to hold the row,...
[2 replies] Last: boy do I feel like an idiot, thanks! (by momof4)
copy data from one object to another object
 
For example I want to copy p1's name to p2's name and when I run "p2.write();" the result should b...
[7 replies] Last: thank you all (by logarech)
Any Hint How I Solve This....
 
Write a C++ program to define a class Metro with the following specifications :  Metro No  Met...
[9 replies] Last: I suggest reading the assignment: Write a menu driven program by usin... (by Enoizat)
by Brail
Output
 
Can anyone tell why I am getting an 'a' instead of words without 'a' in string? #include <iost...
[4 replies] Last: Thanks Andy, it works now. (by Brail)
question about send folder
 
Hello, I want to get multiple images from a folder on the server. And then Send to my friend with a ...
[2 replies] Last: frames per sec. hes trying to do video via images from the sound of i... (by jonnin)
friend class problem
 
Hi, i can't type y.note in ***** section. How can I do this with friend class? #include <iostrea...
[4 replies] Last: oh thanks (by logarech)
Dijkstras explanation needed
 
Hello, I've been trying to understand dijkstras algorithm, but I'm stuck. Could someone explain this...
[2 replies] Last: If you want to understand an algorithm it's usually easier to read som... (by Peter87)
Having issues reading in a string.
 
What am I missing? When I try to read in my string with a getline there's an error. If I just try...
[2 replies] Last: Mixing >> and getline often leads to problems. I usually recommend one... (by Peter87)
Pages: 123... 25
  Archived months: [oct2019]