Beginners - April 2019

Overloading the = operator
Still studying for a final. Here is the question... Please provide a function that overloads the ...
[5 replies] Last: don't be too hard on yourself. The syntax of objects / OOP is hard to... (by jonnin)
Recursive palindrome
Hi, I have a boolean function that recursively determines if something is a pali(assuming there are ...
[4 replies] Last: bool ispalindrome(string s){ if (s.length() <= 1){ ... (by jjordan33)
Project question! (how to sort)
Hey everyone! I'm here to ask for a little help and/or direction on a C++ project for a class. Basic...
[2 replies] Last: before you can sort data, you need something to sort. you are readin... (by jonnin)
Having truoble with derived classed
I've been trying to understand this project for a while now, but keep running into road blocks. Now ...
[1 reply] : Complain to the school board (department chair) if your instructor is ... (by Duthomhas)
by vysero
How to read/understand this line of code.
Here is the program and the line I am wondering about is line 51: #include <algorithm> #include...
[2 replies] Last: Line 51 can translate to an if/else construct: [code firstline=51] i... (by Furry Guy)
by Fonzeh
RDS(Random Drug Screen) Random Name Picker
So I was asked at work if I could come up with a way to pick a random name from a list for Random Sc...
[5 replies] Last: Hey this is good. So I was thinking everytime the Application was lau... (by Fonzeh)
by Jo1152
File reading help
I am trying to create a program that reads from a file, record data from the file, and write to a ne...
[2 replies] Last: Sad to say, but that really didn't help me very much. It still doesn't... (by Jo1152)
by bsr
adding string
I want to sum two big integers, and I wrote a code but this code is not working. Can you help me? ...
[2 replies] Last: Thank you, for your answer. (by bsr)
MSV Find where a given function used
I have a source code of a program and I am trying to learn from it by analizing the code. I am looki...
[1 reply] : Which version of Visual Studio are you using? The feature works for... (by Furry Guy)
C++ OOP returning several different values
Hi all, Sorry if my title is a bit misleading, not sure how to summarize the issue Im having at this...
[3 replies] Last: Usually in such a case it is a good idea to pack things in structs lik... (by coder777)
Access violation?
So I am trying to write a program with structs, function prototypes, references, pointers (for schoo...
[7 replies] Last: thx (by olybobo)
help with
i keep getting an output that says the exit code is zero. I don't know if im doing it correctly. ...
[5 replies] Last: I fixed the function corner and it is running the code. thank you (by tori1523)
Array problem between 2 class
Hello there ! I am trying to write values into arrays with a method add_general_noise() which gen...
[7 replies] Last: saxoalex, Qt has a tool to easily update all its components, compiler ... (by Enoizat)
Understanding binary search trees
Hi everyone, I have recently seen binary search trees and I'm trying to understand how its code w...
[5 replies] Last: [quote=jefazo92]I don't understand your answer to the 2nd question. As... (by MikeyBoy)
by ROKeb
How to delete pointer memory of std::deque or something
Hi. I am creating MFC Program in Visual Stduio 2010. I want to use std::deque and input Parent Clas...
[2 replies] Last: Repeater’s already given you the proper answer to your question (“... (by Enoizat)
by Pecvx
about stringstream, reading from file
Hi, I want to read data from a file and store them in two variables, and I wondered if it was act...
[6 replies] Last: If your file has two comma separated strings in each line, perhaps you... (by Enoizat)
const auto& for loop
Hello, in which cases is it necessary to use a for loop on the form for(const auto &i : vec){ ...
[2 replies] Last: If you want to change the values in the container, reference is necess... (by Repeater)
by Yogib
(getline(infile, data)) help ignoring line breaks
im trying to reformat the address information given to me in a text file. that part i can do, but i ...
[1 reply] : Hello Yogib, I can see several problems: Line 34. If your compiler i... (by Handy Andy)
How can I implement an abstraction into this code? 2.0
Asking this question again since I didn't get any responses. I need to input an abstraction in this ...
[4 replies] Last: Write your program using a class. Have class called Bank and have func... (by fiji885)
Need help with the menu loop and a function
I'm writing a phone book application, and I am having trouble looping the main menu here. When I go...
[3 replies] Last: Now when I go to add the contact it errors up, has something to do wit... (by PistolPete10)
April 2019 Pages: 123... 24
  Archived months: [mar2019]

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