Beginners - March 2018 (Page 20)

argc changes
 
I have to make a code that uses inputs from the command like to print the most common names on a Bab...
[5 replies] Last: Nice catch Ganado . So combining this, it sounds like the code shoul... (by dhayden)
Test help
 
So i have a test and i have this question : http://prntscr.com/ip7rpb how can i solve it ?
[1 reply] : Hello yepicubef, This is a test, so you need to come up with somethin... (by Handy Andy)
The Coin Toss Code Conundrum
 
Strange. I am getting an "Uninitialized local variable" on the cointoss(void) section of my code for...
[6 replies] Last: @Armygun087 I am also getting nothing but "headtail" outputs. As yo... (by whitenite1)
Shallow Copy vs. Deep Copy
 
Hey guys, Currently I'm trying to create a shallow copy and a deep copy. Currently, I have two deep...
[1 reply] : > I just need some guidance on how to create a shallow copy. In this ... (by JLBorges)
Where did I mess up?
 
I'm working on a program that needs to calculate and display pay raises for 3 years. the pay raises ...
[1 reply] : It's not perfect, but it's a start #include<iostream> using namespa... (by SamuelAdams)
Need Help with File I/O
 
Hello I am having issues with this program and am not too sure what I am doing wrong. The programs a...
[2 replies] Last: Thank you for the help, but I am still a bit confused. cout << "Wel... (by vikingsfan76)
defining Type Characters Class fonctions with pointers
 
Hello to all, I just started a online course for programming P.O.O. Any help would be appreciated....
[no replies]
by JayGln
I broke my array reference code
 
I'm trying to write a program that takes in a average rainfall for the past year, then it will ask f...
[4 replies] Last: Hello JayGln, Your welcome. What my output does not show is the mont... (by Handy Andy)
Nested Loop problem
 
I'm having trouble with this code, the purpose is to take in a list of names with corresponding birt...
[6 replies] Last: Hello BoomMan, Glad you got it working. I came to the same conclusion... (by Handy Andy)
Class Inheritance
 
Soo, i m doing my homework and i have a question. This is the code: #include <iostream> #inclu...
[7 replies] Last: To clarify, the reason why Shape a = {cir, rec}; does not work is ... (by Ganado)
How do I optimize the use of my if statements?
 
Hello, I am curious how to put the if statements listed below into a format that can be more easily ...
[3 replies] Last: you are welcome! There are times you can reduce a bunch of correlated... (by jonnin)
Destructor Not Called
 
Why wasn't the destructor not called automatically? See output. Constructor called. Constructor ...
[4 replies] Last: Thank you all. I had suspected that the destructor executed but did n... (by phztfte1)
passing on ofstream by reference error
 
Hi guys I know that you cannot pass by value when dealing with ostream and other streams but the...
[2 replies] Last: > you cannot pass by value when dealing with ostream and other streams... (by JLBorges)
Confusion with copy constructor and non-const values
 
How does cmplex c1=cmplex(2,3) creates temporary object here?..please give me detailed explaination ...
[2 replies] Last: Thanks a lot (by samir1996)
unable to differentiate between constructors
 
I want to know what are the differenecs between the lines commented below.How do they work and how t...
[7 replies] Last: This helped me a lot,Really thanks from the core of my heart for clear... (by samir1996)
by sb99
can someone please explain this factorial function
 
For the life of me I cannot visualize how the program is computing the factorial, I of course unders...
[2 replies] Last: I was just stuck up on the whole calling the factorial function again,... (by sb99)
Tableau Angular2 Integration
 
Has anyone tried building an Angular2 application with tableau visualizations integrated in it using...
[no replies]
by Gore7
External Struct being used in Class
 
Ok i'm trying to use structs and classes together in the code below to be executed in a class functi...
[1 reply] : A default constructor is a constructor that can be used to construct a... (by Peter87)
by CNoob2
Soundex Code
 
(Please note that this is not a homework assignment.) I'm trying to do a soundex code where it write...
[6 replies] Last: Can you state your phonetic rules? H and W are supposed to be removed ... (by lastchance)
if else not working
 
I've tried various methods for getting the correct output here and nothing seems to work. I really d...
[3 replies] Last: Oh ok, I knew it would be something simple, this worked perfectly!! Th... (by curlyTiff)
March 2018 Pages: 1... 1819202122... 29
  Archived months: [feb2018] [apr2018]

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