
please wait
by haayc
weekday Calendar
|
Write your question here. Hi everyone, I am beginner to C++ , and my problem has problem. I try to calculate day of week of dates from first of January. My cod... |
Aug 19, 2018 at 10:25pm
[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 quite good with procedural programming(loops, conditionals, sw... |
Aug 19, 2018 at 5:15pm
[4 replies] Last: I understand the concepts in theory but I don't understand how to "g... (by closed account E0p9LyTq)
|
by arczi w
Self-referential structs
|
Hello, I have recently faced a problem of creating the self-referential structures. Whenever I try to use them, the program behaves weirdly. Take, for instan... |
Aug 19, 2018 at 5:05pm
[2 replies] Last: Thank you! Much appreciated. (by arczi w)
|
by TRGraphix
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 pretty long for just searching for duplicates in an array ... |
Aug 19, 2018 at 3:55pm
[5 replies] Last: "searching for duplicates in an array" is not a very good problem stat... (by tpb)
|
by Georg31
Help
|
Hi Why i get a =55? I sorted arrays then i want to unite them in m array i get correct numbers but at last i checked a and it gives me first element 55 wich i... |
Aug 19, 2018 at 2:29pm
[6 replies] Last: @Georg31 At C++ you don't need to fiddle with error prone arrays/point... (by nuderobmonkey)
|
by garyshorto
calculator code problem!
|
hi i have made a calculator code with if statement. but i dont know why it doesnt work correctly. it attentions on the first if task without including the co... |
Aug 19, 2018 at 1:33pm
[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 such that there are exactly a zeroes, exactly b ones and exa... |
Aug 19, 2018 at 11:20am
[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 bugging me. I have a question let us say we have the follo... |
Aug 19, 2018 at 10:14am
[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 I don't understand the semantics of the syntax, I'm shying a... |
Aug 19, 2018 at 9:09am
[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. |
Aug 19, 2018 at 4:38am
[1 reply] : Summary: https://en.wikipedia.org/wiki/C%2B%2B17 Some more detailed i... (by JLBorges)
|
by seungyeon
powerball program (1,2)
|
Write your question here. #include <iostream> #include <vector> #include <cstdlib> #include <ctime> #include <fstream> #include <string> using namespace std... |
Aug 19, 2018 at 12:28am
[21 replies] Last: If you win the jackpot, I'll pay you your earnings again. (by helios)
|
by zyan1zyan
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 parentheses to find the maximum value? In my example, 4-3-5 could... |
Aug 18, 2018 at 7:07pm
[14 replies] Last: @helios, I didn't consider RPN. The recursion in my code is just for p... (by tpb)
|
by seungyeon
Is there any errors in my code?
|
My program is taking a long time to finish. for(int i = 0; i < v.size();i++) { outfile << v << " "; } if(v.empty()) { } else {... |
Aug 18, 2018 at 6:33pm
[3 replies] Last: tpb.. please you do not have to assume. Do you think I ignore all you... (by seungyeon)
|
by philip1999
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 by 7 and the number itself is divisible by 3 |
Aug 18, 2018 at 3:53pm
[7 replies] Last: Here is list of all the numbers based on the pseudo code of tpb. 399... (by Thomas1965)
|
by pLearner
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 have some questions. 1) Whenever I debug/build it always sa... |
Aug 18, 2018 at 11:06am
[1 reply] : Is there a setting to stop saving on build? No. That's effectively... (by Repeater)
|
by soccer53
Mind Sweep
|
This is my current code. I have to follow the instructions below but keep getting errors. Can you please help? C++ that produces a two-dimensional board of... |
Aug 18, 2018 at 7:50am
[1 reply] : In the future please post the error messages. From the C++Shell: http:... (by Thomas1965)
|
by BelkinJr
bool functions inside a class
|
I'm in search for advice on my assignment problem So I have two classes class Student { //Student class declaration public: //default construc... |
Aug 18, 2018 at 3:30am
[6 replies] Last: yes, i do indeed read from files into array of objects of each class, ... (by BelkinJr)
|
by seungyeon
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 combinations and place it into the file. open the file and com... |
Aug 18, 2018 at 12:29am
[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 { public: Shape(){} virtual ~Shape(){} }; class Rectangle : p... |
Aug 17, 2018 at 8:09pm
[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? #include<iostream> class Shape { public: Shape(... |
Aug 17, 2018 at 7:56pm
[2 replies] Last: Lines 27 and 28 should not exist. Square ALREADY contains length and w... (by Repeater)
|