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 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...
[2 replies] Last: Given the very basic nature of your previous thread, I doubt you're an... (by salem c)
system with variable
 
Hello! Need to take variable char or string data and make system call (Linux CLI) as per above. P...
[7 replies] Last: thank you, coder777 (by impetus)
Breaking down this class
 
It's been quite some time since I've lasted tackled a programming assignment, so forgive me for what...
[1 reply] : Basically, my question is, wherever the comments do not say "TODO", t... (by coder777)
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: ...
[1 reply] : What you described is basically mail merge. https://support.microsoft.... (by salem c)
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)
by Viraj
How to convert this txt file to an table output
 
I have a "New.txt" file with this data in it : userchoice_for_vehicle,vehicle_No,manfacture,in_tim...
[4 replies] Last: Perhaps something like this: #include <iostream> #include <fstream>... (by seeplus)
Print one line to multiple lines with \n or space or fixed length
 
Hello, I would like to ask for your help to review my code. As the title, I would like to print o...
[6 replies] Last: Thank you, guys. Those solutions work expected and perfect. (by seal2002)
Command line about descending numbers using input numbers
 
I want to make a program by using the command line to descending numbers with an input of five numbe...
[7 replies] Last: Oh. It's supposed to use command-line arguments for the program. Well ... (by seeplus)
Form expression to tree printer
 
I want to create a tree viewer from postfix expression and of course I'm stuck. First the code: ...
[5 replies] Last: I guess it's just as easy to do it from the postfix form. #include <... (by DizzyDon)
Not really a beginners question but..... (1,2)
 
So I'm working on a dll that is supposed to be like an addon to a scripting language. The scripting...
[33 replies] Last: Yeah - I know that these solved problems and were needed, but BM life ... (by seeplus)
Checking for 2D Array Rotations + Reflections
 
(This is an unofficial USACO Bronze problem that I have been working on for a few days--it is not a ...
[3 replies] Last: Your test for case 3 is wrong. Your test for case 5 is disastrous. Y... (by lastchance)
Pages: 123... 11
  Archived months: [nov2021]