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)
by Slyde
A couple of C++ related questions
 
Hi Forum: I've been programming since '83. Just personal stuff, really. At one time, I knew more th...
[7 replies] Last: meaning "not GUI programming" I am aware, but I wanted to point out ... (by Cubbi)
kattis ICPC tutorial c++
 
so i'm working on the kattis problem ICPC tutorial for my cs3 class but since everythings online now...
[14 replies] Last: Many of these calculations are likely to overflow an int. You should t... (by lastchance)
by ZZEZ73
How can I make this code faster and more compact
 
My code counts the number of subsequences in a given line of number(it is a string since it can star...
[no replies]
Trying to setup a graphics C/C++ invironment
 
Hi, I have been using CodeBlocks IDE for some time to code in C++. Earlier I had programmed a 3D ...
[6 replies] Last: I will take a second Lazy Foo’s SDL2 tutorials. Actually I did a 3... (by basictoc)
hash tables (the program crashes)
 
I just started to learn about hash tables.I have to write a program which displays and list a hash t...
[2 replies] Last: Well, I think in the main I'm doing something wrong.I made some modifi... (by valiciousx)
Help With Classes
 
Hello, I have an assignment that I am struggling with and could use help. Here are the instruction...
[1 reply] : StudentTestScores student1("Mike", 2); //... StudentTestScores studen... (by ne555)
by ZZEZ73
I can't make it so that I can input data
 
I need to make a program so that i input 2 numbers then on the next line I input a line of number th...
[12 replies] Last: > What I should have done is int getPairsCount(int arr{], const int su... (by ne555)
Discount C++ program using a switch statement
 
Hello there, so basically im trying to do a small program that let the user enter a value then if th...
[1 reply] : switch expects an exact number to compare like == , so you cannot use... (by coder777)
by hbcpp
Why exactly should I prefer std::chrono over ctime for time and date?
 
I have been using the <ctime > header for quite some time now and it's been serving me well, no com...
[6 replies] Last: I would think of chrono as an addition. ctime and chrono have differen... (by coder777)
Binary Tree
 
The code isn't reading in my numbers from the infile. It reads two and stops. Can someone help me fi...
[19 replies] Last: I've come up with this, with a little help from the internet. TreeNo... (by CodeNovice01)
by ZZEZ73
How should I tackle this problem
 
I was given a problem and I can't seem figure out how I should be tackling the Problem I would appre...
[9 replies] Last: @lastchance thank you so much that example of 1 cut: A.....A | B....... (by ZZEZ73)
txt file to struct, or struct to txt file?
 
Having issues. I have the below code. I am to prompt the user for 3 file names and then push the d...
[6 replies] Last: Hello spelledwrong, My bad, sorry. It was not until I tried to compi... (by Handy Andy)
by kmce
Switch statement question
 
Hi, I am having an issue with a switch statement i was hoping someone could maybe help out with. The...
[3 replies] Last: thank you for the help. this has solved my issue. i am working through... (by kmce)
by asxxx
Data structure/Tree
 
Hello.I start my adevneture with trees and I know only about binary trees I want to build family tre...
[1 reply] : struct node { int data; std::vector <node> children; }; ... (by Duthomhas)
How can I learn C++ quick?
 
Is there any quick means I could probably learn C++ faster? I have been stuck into this for a very ...
[1 reply] : I'm not sure what you mean. The only limiting factors are: • your o... (by Duthomhas)
URGENT!!! Write a program that produces the binary equivalent of a non-negative integer input by the user. (1,2)
 
I have a question for my coding class But I have no Idea how to do it. or where to start. I am not s...
[34 replies] Last: Ok what is the debug statements??? The three items with comment stat... (by lastchance)
URGENT!!! Write a program to input a sentence, one word at a time, terminated by one of these three characters: . ! ? etc
 
I have a question. But I don't know how to do all of it. I got this so far. I dont know how to make ...
[16 replies] Last: Ok buddy. I put Urgent in front of two of them not the third dumdum. (by dumdumFlame)
by toplel
Implementing functions to read text file
 
Hi guys, i'm new at C++ and i'm currently learning how to integrate functions to read consecutive in...
[4 replies] Last: 1) Please use code tags to make your code readable. Andy already ask... (by MikeyBoy)
Pages: 123... 27
  Archived months: [jan2020]