Beginners - November 2021

Completely lost on how to start this here (Primarily for the Constructors)
So I am doing a C++ Project for one of my classes and I am completely lost on what this is asking fo...
[5 replies] Last: As a starter, possibly: #include <iostream> class MyString { publi... (by seeplus)
Will This Notebook Be Able To Handle All My Coding Software?
Yes, but go for the full 16GB of memory. Consider adding an external monitor and keyboard; I find it...
[no replies]
Error spotting
Hey all. Am working on a program. Being new to C++, am unable to spot errors in the program that I h...
[3 replies] Last: In actuality, in addition to massage, I also receive psychiatric treat... (by Hison)
by nodoz
abstract class and interface classes
When declaring an interface using pure virtual functions is it normal or suggested to declare the de...
[2 replies] Last: Thanks for the link. It looks like a good source of information.That w... (by nodoz)
Doing variable insertion directly into the string
Hell everybody, am disturbed on how to get the C ++ equivalent code of the below python code: ht...
[3 replies] Last: Just as a Python FYI, f-strings are more elegant, and easier to read, ... (by MikeyBoy)
No Output
Hello, I have an assignment I am working on and I've looked through everything and I cannot find why...
[4 replies] Last: After attempting to open a file, you should always check that the open... (by seeplus)
no Operator "=" matches these operands , operand types -- Matrix = Matrix
I am getting Unexpected error showing [no Operator "=" matches these operands , operand types -- Ma...
[2 replies] Last: ok now i understand ! thank you. (by vivekunyl)
File Error
Hello, I am working on an assignment and my program is not opening my file. Where am I going wrong? ...
[no replies]
by janac
Why is the buffer not empty?
When I run the .exe for this console app without the statement cin.ignore(1000, '\n'); the windo...
[2 replies] Last: Thanks so much. (by janac)
Program Not Responding Correctly - Guidance Needed
I am trying to fine-tune a Quiz game that asks multiple-choice questions. (EDITED) I was able to fig...
[8 replies] Last: Consider using a switch instead of multiple if/else tests. Why keep op... (by seeplus)
Using C++ to make a simple text-based application to timetable classes
So I am making a simple-texted based application as part of a project written in C++, the program is...
[1 reply] : The first thing to do is to design the program. Then code from the des... (by seeplus)
Problem with vector and copy constructor
I tried to make a list of Person objects using vector and got some weird error. If I remove the copy...
[2 replies] Last: You need a default constructor. Once you define a constructor, you no ... (by seeplus)
by MeiMei
Double link list question
Hi guys, I have a small problem with double link list opertion. The detailed program is in below(not...
[11 replies] Last: Thank you all for your help! Problem solved. After checking, I found o... (by MeiMei)
The do while return error.
Hello comrades, welcome me to this forum coz am a newbie here. Am not after a person who can work ou...
[1 reply] : Perhaps: #include <iostream> int main(void) { int cost{}; int sa... (by seeplus)
Multiple lines outputting in files
The commands write_ account () is supposed to input the lines “account.dat” file while doing the...
[1 reply] : Perhaps: #include <iostream> #include <fstream> using namespace st... (by seeplus)
The while loop problem
Hey. I know you can be able to notice that am a new person in this area of C++ programming especiall...
[1 reply] : There are issues when you have the same file opened with two streams. ... (by seeplus)
Addresses in arrays.
Am working on a program where am attempting to do an array creation called block that has the abilit...
[1 reply] : #include <iostream> #include <string> #include <array> struct Block ... (by JLBorges)
Creating a save/load function for the text based game.
Hello. Am new to C++ and I started learning it just the other day at the start of my university edu...
[1 reply] : What is the information that you want to save/load? (by JLBorges)
Convesion of cents to dollars.
Am trying to see how I can get the dollar into my code to see $ D. CC. in the code that I have alrea...
[1 reply] : #include <iomanip> and then const int cents = quarters*25 + dimes*... (by JLBorges)
Trying to take 2 vectors from 1 file and write into 2 seperate files
Hey guys. So I was trying to do a programming project where I take the most popular boy and girl bab...
[8 replies] Last: #include <iostream> #include <fstream> #include <string> #include <ve... (by JLBorges)
November 2021 Pages: 123... 8
  Archived months: [oct2021] [dec2021]

This is an archived page. To post a new message, go to the current page.