[try Beta version]
Not logged in

Beginners - April 2019

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...
Apr 30, 2019 at 9:29pm
[2 replies] Last: Line 51 can translate to an if/else construct: [code firstline=51] i... (by deleted account xyzzy)
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...
Apr 30, 2019 at 6:39pm
[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...
Apr 30, 2019 at 6:03pm
[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? ...
Apr 30, 2019 at 4:56pm
[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...
Apr 30, 2019 at 3:11pm
[1 reply] : Which version of Visual Studio are you using? The feature works for... (by deleted account xyzzy)
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...
Apr 30, 2019 at 2:35pm
[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...
Apr 30, 2019 at 1:57pm
[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. ...
Apr 30, 2019 at 1:49pm
[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...
Apr 30, 2019 at 1:38pm
[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...
Apr 30, 2019 at 1:32pm
[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...
Apr 30, 2019 at 1:27pm
[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...
Apr 30, 2019 at 1:10pm
[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){ ...
Apr 30, 2019 at 8:47am
[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 ...
Apr 30, 2019 at 4:07am
[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 ...
Apr 30, 2019 at 2:09am
[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...
Apr 30, 2019 at 12:51am
[3 replies] Last: Now when I go to add the contact it errors up, has something to do wit... (by PistolPete10)
by cutwo
need help with Minimum spanning
Need help fixing code #include <iostream> #include <string> using namespace std; struct ...
Apr 29, 2019 at 11:46pm
[2 replies] Last: Need help fixing code The compiler you use compiles this code without... (by MikeStgt)
by ECito
Omitting pyramid pattern rows
Good afternoon all! I'm requesting an integer and using the same integer to print a pyramid pattern ...
Apr 29, 2019 at 10:26pm
[10 replies] Last: intentionally In that case I withdraw my remarks :) (by MikeStgt)
Overloaded ostream operator
Why can't the overloaded << operator be a member function of a class? I've looked around, but didn't...
Apr 29, 2019 at 7:31pm
[1 reply] : You can overload the << operator be a member function of a class. BUT ... (by Ganado)
Retrieving and referencing names stored in a vector
Over the past couple months now I have been working on independent small projects and working my way...
Apr 29, 2019 at 6:35pm
[5 replies] Last: Once again, thank you. Yeah that makes complete sense. Thank you for... (by everybodyCallsMeM)
April 2019 Pages: 123... 24
  Archived months: [mar2019] [may2019]

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