[try Beta version]
Not logged in

Beginners - December 2020

I don't know what a unique algorithm is
 
Read 20 integers into an array. Next, use the unique algorithm to reduce the array to the unique val...
Dec 31, 2020 at 9:24pm
[4 replies] Last: #include <iostream> #include <sstream> #include <iterator> #include <... (by lastchance)
C++ skips all cin statements
 
I'm a beginner in C++ and I wrote this simple code: #include <iostream> ...
Dec 31, 2020 at 7:21pm
[3 replies] Last: Hello waturiuiuiuizifa, What found is that following #include <iost... (by Handy Andy)
Problem with code
 
Hello again! I have two problems with an exercise I've been trying to cope with. My first proble...
Dec 31, 2020 at 5:41pm
[7 replies] Last: Seeplus thank you. I haven't yet writen any code in main as my compil... (by seeplus)
Error in code
 
Hello once again guys! I have one more problem regarding another code of mine. My code is given belo...
Dec 31, 2020 at 10:45am
[10 replies] Last: Hello geovoulg, You are welcome. Any time. Andy (by Handy Andy)
Accessing a vector from another class
 
Hello, I am trying to make a little console based game, and i need a vector that holds inventory ite...
Dec 30, 2020 at 7:57pm
[4 replies] Last: It's fine. People here are a little trigger happy because you will get... (by Ganado)
by hbcpp
Detect USB Storage Devices On Insert
 
I want to create a console application that detects when I insert a usb on my pc and then it copies ...
Dec 30, 2020 at 5:56pm
[11 replies] Last: Thanks guys!! However, I found the solution that works for me and it ... (by hbcpp)
Accessing a vector from another class
 
Hello, I am trying to make a little console based game, and i need a vector that holds inventory ite...
Dec 30, 2020 at 3:29pm
[2 replies] Last: Statics like this get initialized on global scope. So 'inventoryContai... (by Computergeek01)
wonder if the following code is correct!.
 
Hi everyone, I am sorry that the following code is a combination of both C and C++. Regardless of t...
Dec 29, 2020 at 11:38pm
[4 replies] Last: Dear Dhayden, Thanks for your message. I am sorry for the late reply. ... (by shafiul0304034)
Override [] operator for a class
 
Hi, I have a Basket class, containing Apple objects, stored in an Basket. A Apple object is describ...
Dec 29, 2020 at 10:32pm
[3 replies] Last: Yes, but if I want to use objects on the heap? Dereference your Arr... (by mbozzi)
Max among the coordinates of one vector
 
From the vectors v1, v2, v3 choose the vectors (one or more) that have the largest max among the coo...
Dec 29, 2020 at 6:07pm
[4 replies] Last: I swear this same question has been asked 8 different ways in the past... (by markyrocks)
by NowIC
Program does not execute
 
Hallo. I wrote some code for learning C. Still a beginner. The problem is if the problem line is...
Dec 29, 2020 at 6:05pm
[4 replies] Last: By "Visual Code" I assume OP means Visual Studio Code , this amazingl... (by mbozzi)
by kmce
printing to file with functions?
 
Is it possible to use a function to pass data to a out stream to put it into a file? I have a re...
Dec 29, 2020 at 5:46pm
[12 replies] Last: The original code was: myOutStream << obj.getName(); As the func... (by seeplus)
Delete a row in a dynamically allocated multi-dimension array
 
in this piece of code i have a matrix and if a sum of a row is not even, i have to delete it, but ho...
Dec 29, 2020 at 5:11pm
[7 replies] Last: Thank you very much everyone! (by izlezotfilma)
Write multiple lines to a text file and Read the file with all the characters reversed
 
Hi guys i'm trying to write a programme as follow: Write a program that: 1) Prompt the user to e...
Dec 29, 2020 at 2:21pm
[8 replies] Last: Hello imyourjoy, Your while loop may not work the way that you want. ... (by Handy Andy)
Abstract class question?
 
I want to try practice a few things that I have learned by making a very small simple console based ...
Dec 29, 2020 at 3:04am
[2 replies] Last: > but is it normal for an abstract class to have all of its functions ... (by JLBorges)
This is probably more of an intermediate problem....
 
My issue isn't so much with the function as it is to do with the data after the function returns... ...
Dec 28, 2020 at 11:00pm
[3 replies] Last: I keep grinding away doing my research etc. Its amazing to me that no... (by markyrocks)
C++ Class
 
So i'm trying to make program using class. I need to make this to work by using set/get....I'm stuck...
Dec 28, 2020 at 8:28pm
[1 reply] : date_1, date_2, and date_3 are ints, not Date objects as you seem to s... (by Ganado)
by luqcpp
Write a program that uses a stuct named MovieData to store the following information about a movie.
 
//The program should create two MovieData variables, store values in their members, and pass each on...
Dec 28, 2020 at 7:42pm
[2 replies] Last: Hello luqcpp, PLEASE ALWAYS USE CODE TAGS (the <> formatting button... (by Handy Andy)
One dimensional arrays
 
Hello! How do I make a program in C++,in a one-dimensional array consisting of n integer elements, c...
Dec 28, 2020 at 7:00pm
[13 replies] Last: Perhaps something like: #include <iostream> #include <numeric> #inc... (by seeplus)
by PK Dey
Namespace error!
 
Hello every one! Nice to meeting you on this forum. I am new here also in C++. I have the following ...
Dec 28, 2020 at 3:52pm
[7 replies] Last: Someone took it over as a project but nothing from borland is newer th... (by jonnin)
December 2020 Pages: 123... 11
  Archived months: [nov2020] [jan2021]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.