by admin
Welcome -- read before posting!
Welcome to the beginner's forum in! 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)
D8016 error with VS 2019
I keep getting this error Error D8016 '/ZI' and '/clr' command-line options are incompatible I...
[2 replies] Last: Thank you. I still need to find out how to remove that. I know if I ... (by pka4916)
about shared_ptr
first time to use shared_ptr and wrote the code below. #include <iostream> #include <memory>...
[1 reply] : Shared_ptr is for use with dynamically allocated memory - not pointers... (by seeplus)
destruct of container
#include<iostream> #include<vector> using namespace std; int main(){ vector<int> v1{1...
[1 reply] : There is no need to call the dtor by yourself. Once the vector gets ou... (by thmm)
try catch exception
Lads, I am trying to do HW in a specific way using the exception library. task: Considering that ...
[1 reply] : The class ERR does not make any differences when it comes to the value... (by coder777)
The sum of the submatrix
From the first line, read the numbers N and M from the keyboard. From the following N lines, read M ...
[4 replies] Last: Hello swingby, This will give you an idea of your program: #include... (by Handy Andy)
by samj
Change in bool value seems to be not applied to while loop condition
Hello All, Hope you are doing well. I am a begineer in C++ and this is my first post here. I wrote...
[3 replies] Last: Please enter only letters Shouldn't the test be for !isalpha() rath... (by seeplus)
I'm a bit confused as to how to declare the object
Hello! I'm trying to implement a circular linked list that uses arrays. I've written and tested my...
[1 reply] : Hello drmario6532, Based on the instructions I am thinking what you w... (by Handy Andy)
1. Check if the size of the vector is odd or even with the std::vector::size member function. http:...
[2 replies] Last: What happened to the OP - another troll post removed........ (by seeplus)
Word Frequencies
Hello everyone. I'm working on a CS assignment and struggling to figure out just how to approach it....
[3 replies] Last: How this is expected to be done, as against how it could be done, de... (by seeplus)
by kali25
hi// How can we access to private attributes in base or parent class from child class ? Is thi...
[1 reply] : How can we access to private attributes in base or parent class from ... (by keskiverto)
Why won't my class function display in main?
My function won't display in main and i'm not sure why? This is due at 11:59, professor won't answe...
[4 replies] Last: You are still trying to declare a function prototype in main. Not gon... (by Furry Guy)
Using () or {} for initialization
I am a very entry level EE trying to learn C++. I am a working professional (not in school), and try...
[2 replies] Last: Hello chrisplusian, This may be of some help (by Handy Andy)
by kg88
expression must have class type, not sure what to do to change it properly
Hi could someone please look over this code? I'm not sure what I need to change on my code to get ri...
[10 replies] Last: Hello kg88, Something else I did in the header file: #ifndef HEADE... (by Handy Andy)
How do I write a do...while loop in a class.
How do i fix this error? I understand it needs a function before the command but i'm not doing this ...
[5 replies] Last: Thanks! I think I kind of got the hang of it, i tried putting the func... (by FanOfThe49ers)
by icezy
I am trying to run a program that intends to access data through pointers. But it not working ...
[9 replies] Last: TO WHOM IT MAY CONCERN I was sent a PM by the user @ haibinz , an... (by agent max)
Accumulator to average coin tosses Newer Method (MT19937)
Ok so here is the problem that was assigned: Using a loop and rand(), simulate a coin toss 10000 ...
[3 replies] Last: For the large numbers in each experiment you should get an answer of a... (by lastchance)
Factoring Polynomials Program
I can sort of get the answer but it does not function properly. I would appreciate any help. Here is...
[3 replies] Last: [quote=Deer Of School]I enter in: 1, 1, 1 or 2, 3, -2 It outputs: The... (by lastchance)
Not respondig c++
After 5-10 mins of coding, code blocks is not responding. Can someone help me ? the only way I can...
[12 replies] Last: rw, i only showed the archive link to give an idea to anyone confused ... (by Ganado)
Pages: 123... 14
  Archived months: [jan2021]