Beginners - August 2018 (Page 6)

by haayc
weekday Calendar
 
Write your question here. Hi everyone, I am beginner to C++ , and my problem has problem. I try to ...
[1 reply] : Here is my code for the calendar I used functions i had found in Cla... (by nowy20180820)
by AlM
Object Oriented Programming in C++ - suggestions for exercises
 
Hi I am a beginner level c++ programmer and I am trying to learn object oriented programming. I'm qu...
[4 replies] Last: I understand the concepts in theory but I don't understand how to "g... (by closed account E0p9LyTq)
Self-referential structs
 
Hello, I have recently faced a problem of creating the self-referential structures. Whenever I tr...
[2 replies] Last: Thank you! Much appreciated. (by arczi w)
Is this code too long for searching duplicates in an array
 
I wrote this code yesterday but I think i wasted time at writing that program because the code looks...
[5 replies] Last: "searching for duplicates in an array" is not a very good problem stat... (by tpb)
Help
 
Hi Why i get a =55? I sorted arrays then i want to unite them in m array i get correct numbers but ...
[6 replies] Last: @Georg31 At C++ you don't need to fiddle with error prone arrays/point... (by nuderobmonkey)
calculator code problem!
 
hi i have made a calculator code with if statement. but i dont know why it doesnt work correctly. ...
[2 replies] Last: #include <iostream> int main() // note: int main() { double firs... (by JLBorges)
Can anyone help me to do this Question
 
You are given three integers a, b and . Your task is to construct a binary string s of length n=a+b ...
[2 replies] Last: As hoogo said, show your attempt at the problem then people would glad... (by Uk Marine)
Confusion/Dilemma -Question About Data Structure Pointers
 
I am noob to data structres right now,sorry if this does not makes sense at all,idk it's just been ...
[2 replies] Last: Thank You. Cleared things up a little. (by akshatmahajan3112)
Need some explaination at the random facility
 
I'm struggling with the use of the random facility which the language since C++11 provides. Because ...
[3 replies] Last: https://en.cppreference.com/w/cpp/language/default_initialization http... (by keskiverto)
by Dum
C++17
 
What are the new features in c++17.
[1 reply] : Summary: https://en.wikipedia.org/wiki/C%2B%2B17 Some more detailed i... (by JLBorges)
powerball program (1,2)
 
Write your question here. #include <iostream> #include <vector> #include <cstdlib> #include <ctim...
[21 replies] Last: If you win the jackpot, I'll pay you your earnings again. (by helios)
Finding maximum value of addition/subtraction using parentheses
 
Given a series of numbers that are added and subtracted (for example, 4-3-5), how can I insert paren...
[14 replies] Last: @helios, I didn't consider RPN. The recursion in my code is just for p... (by tpb)
Is there any errors in my code?
 
My program is taking a long time to finish. for(int i = 0; i < v.size();i++) { outfil...
[3 replies] Last: tpb.. please you do not have to assume. Do you think I ignore all you... (by seungyeon)
how many numbers upto 1000 are there such that the sum of digits is divisible by 7 and the number itself is divisible by 3
 
How to write code for how many numbers upto 1000 are there such that the sum of digits is divisible ...
[7 replies] Last: Here is list of all the numbers based on the pseudo code of tpb. 399... (by Thomas1965)
Visual Studio 2017 - General Settings Question
 
Hey guys, I am new to programming and I have been coding on Visual Studio 2017 for abit now but I ha...
[1 reply] : Is there a setting to stop saving on build? No. That's effectively... (by Repeater)
Mind Sweep
 
This is my current code. I have to follow the instructions below but keep getting errors. Can you pl...
[1 reply] : In the future please post the error messages. From the C++Shell: http:... (by Thomas1965)
bool functions inside a class
 
I'm in search for advice on my assignment problem So I have two classes class Student { ...
[6 replies] Last: yes, i do indeed read from files into array of objects of each class, ... (by BelkinJr)
Printing every combination of the powerball
 
I want to store them on to a file. I don't want duplicates. My method Print all 292 million com...
[1 reply] : I already showed you how to do this in a previous post. Here it is aga... (by tpb)
by AL88
Why isn't the getlength function working?
 
How can I make the getLength function work please? #include<iostream> class Shape { publi...
[1 reply] : Stop asking the same questions over and over, Alistair. Read the answe... (by Repeater)
by AL88
How can I make the object return the length specified
 
How can I make the int length be returned in the object from initialization in rectangle or square? ...
[2 replies] Last: Lines 27 and 28 should not exist. Square ALREADY contains length and w... (by Repeater)
August 2018 Pages: 1... 45678... 15
  Archived months: [jul2018] [sep2018]

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