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)
GetConsoleOriginalTitle() - Returning Blank Chars
 
I want to get the window handle of a game console application by name. I have tried researching an...
[16 replies] Last: One thing to note if using wchar_t/WCHAR, WinAPI functions that fill a... (by George P)
Vector<int,2> origin;
 
Write your question here. The syntax for vector is Vector<int> vector name. Here what does 2 do i...
[5 replies] Last: Do you have any recommendation? Learn C++ with the standard library... (by lastchance)
C++ Review Questions
 
Restarting my review question list with hopefully shorter & simpler questions that I had when readin...
[7 replies] Last: The way I think about it is the following. You have already told the ... (by Peter87)
Is this a compiler issue or is my code incorrect?
 
I was told to make a c++ code where, a user can choose a txt file of their choice for a dynamic 2d a...
[6 replies] Last: MatrixColumns contains the number of cols for that row (L75). Hence L1... (by seeplus)
by JFJ
strange behavior with cout and strings
 
I was beginner to c++ working on a simple string rotation program that would take a number and a str...
[5 replies] Last: thanks I got it working on my end, I unfortunately have a tendency to ... (by JFJ)
Programming OpenGL in Linux with GLX, Xlib and GLEW
 
What I need to modify in this code (found here: https://www.khronos.org/opengl/wiki/Programming_Open...
[1 reply] : Maybe it could be better to post your question in the section which is... (by Geckoo)
C++ Program to Convert Number in Character
 
C++ Program to Convert Number in Character // Numbers As Words.cpp : main project file. #include <...
[18 replies] Last: I prefer the Microsoft documentation: https://docs.microsoft.com/en-u... (by seeplus)
by NEIGHT
char pointer manipulation
 
I am using an old directX game engine that uses char* to load file paths. How do I iterate through f...
[5 replies] Last: Because using std::string is better for string concatenation than char... (by kbw)
Freezing and Boiling Points
 
Write your question here. Hello. I am having a bit of a logic error with my code. This is challenge...
[13 replies] Last: ... or alternatively then: #include <iostream> class Temp { public... (by seeplus)
Creating a jagged array using a txt file?
 
I wanted to make a C++ code where, a txt file has a number in the beginning with the amount of rows ...
[2 replies] Last: With a test data file as follows (no need to specify the number of row... (by George P)
double free or corruption (out) when file.close() is reached
 
the code below is part of a library I am implementing. Either the library and the executable using t...
[8 replies] Last: > This gave me the same output when running gdb and command backtrace ... (by JLBorges)
Declaring interdependent classes
 
hello everyone, I have found similar questions in the forum but really cant understand the answers. ...
[12 replies] Last: No problem - glad I could help! (by MikeyBoy)
by linaya
不懂错在哪里
 
题目:声明两个int型变量或赋值,判断两数之和,,如果大于等于50,输出he...
[7 replies] Last: It is wrong to not include the required header and expect the compil... (by Duthomhas)
Smaller c++ questions (1,2)
 
I am going to be reviewing my C++ from scratch and will have smaller and sillier questions. Instead ...
[39 replies] Last: [quote=protoseepp]I know that you told me that (begin, begin) & (end, ... (by Peter87)
return type amgiguity
 
I have just been learning about the algorithms in c++ and I am currently looking at 'mismatch' I re...
[2 replies] Last: You are misreading the docs, sorry. https://en.cppreference.com/w/cpp... (by Duthomhas)
Integration between constructor and result of overloaded operator=
 
I have this class template<typename T, typename ... Args> class Function which needs to be declare...
[1 reply] : What is the purpose of the class template? In what context do you inte... (by mbozzi)
issue to appoint two things
 
Wasn't the exact same question in: https://cplusplus.com/forum/beginner/283790/
[1 reply] : A couple of words were changed, making the post even less understandab... (by George P)
alternate input issue
 
Hello everyone, I am very new to coding and am making my through a C++ textbook. I am not a studen...
[8 replies] Last: also very cool that if you multiply 1.0 to the result of two integers ... (by givingitago 88)
Pages: 123... 11
  Archived months: [apr2022]