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 combine/sort text from an email and a .txt doc
 
Hello. For part of my job, I receive emails with rows of numbers (PM's) that look like this: ...
[3 replies] Last: I am not sure if I miss sth. but your code looks awfully complicated. ... (by thmm)
file search
 
I need to take leftmost variable from last line of file. getIncrement.seekg( sizeof( ClientData )) ...
[1 reply] : Move a cursor to the end of the file, then reverse search for the prev... (by newbieg)
Error with multiple template in operator overloading
 
Simply, I tried overloading '+' operator for vector container. When I do this, <template<class T>...
[5 replies] Last: We can use an expression template to hold the result of the + expressi... (by JLBorges)
C++ 20 full features
 
Dear experts, I will like to inquire about anyone having any idea when will the full features of C+...
[3 replies] Last: Otherwise I might consider using Ctime instead of chronos/Howard Hinna... (by Drago888)
how would i match get a word only if it is between 2 numbers using regex
 
how would I match get a word only if it is between 2 numbers using regex eg the input is: 5testword5...
[2 replies] Last: @dizzyDon only works for the first word, inputs such as 123hello123he... (by codinglexernewbie)
Simple login program will read from file but won't write to it.
 
I'm writing a simple login program that reads and writes info from a text file. The program will rea...
[2 replies] Last: This will work better, thank you for the correction. (by pizzafreak1991)
Class Will Not Run
 
For an assignment, I'm supposed to create a class called piano and then use the methods: 1-) LoadNo...
[14 replies] Last: ... furthermore, that code does not "test" class Piano. It is closer t... (by keskiverto)
system with variable
 
Hello! Need to take variable char or string data and make system call (Linux CLI) as per above. P...
[13 replies] Last: > I don't know how to convert linux commands to C++ functions. https:/... (by salem c)
Breaking down this class
 
It's been quite some time since I've lasted tackled a programming assignment, so forgive me for what...
[13 replies] Last: Actually there are several problems: /** * Returns the element of the... (by coder777)
by Viraj
Implementation of Threads
 
There is a program that I am doing on a Parking system in which, I want to implement a background th...
[8 replies] Last: Thank you @ kbw , @ salem c , @ jonnin . (by Viraj)
What is the problem with 2d array in C++ code?
 
Hello, I wrote the below code and I ran the code in "Code Blocks" IDE. if I enter m = 2 and n ...
[4 replies] Last: https://stackoverflow.com/questions/936687/how-do-i-declare-a-2d-array... (by againtry)
genericity
 
Hello, I'm french so please forgive me if the vocabulary doesn't fit the English standard. I'm tr...
[5 replies] Last: a constructor does not create more objects. if it is not in the code,... (by jonnin)
create functions of moving linked nodes
 
I have created the main to test the nine functions and the class for the doubly linked nodes Class ...
[8 replies] Last: As MikeyBoy stated above, the function definition statements are not c... (by seeplus)
by janac
Incrementing iterator using an integer
 
My question is: why can't I increment a list iterator using an integer? Here's the error, which sa...
[9 replies] Last: Don't forget std::next() which can take a number of element positions ... (by seeplus)
by janac
Passing (?)constant iterators to function
 
I don't understand how to know the constant-ness of an iterator. Looking at the error message, it se...
[3 replies] Last: > are they constant references? Or is it that what they're pointing to... (by ne555)
Help: Invalid conversion error, MINGW
 
Hi, What is changed about thistiny func? This used to work earlier MINGW but now it hits an error. ...
[2 replies] Last: Hi, Thank you much. I try to compile it with MINGW. Let's see... (by JohnCage)
Establishing command keywords in an interpreter in C++
 
Hello, all. I'm kinda new here, working on a new little thing. I was curious as to the nature of com...
[10 replies] Last: Are you going to do lexical analysis to generate tokens and then synta... (by seeplus)
by Mif
How to modify numbers in file "C"
 
Hello.. I want to modify a file that contain numbers which are divided by ",". The numbers in file a...
[8 replies] Last: I think I may have a mistake.. at the end of every line I forgot I don... (by Mif)
Pages: 123... 11
  Archived months: [nov2021]