Beginners - July 2018 (Page 11)

Resize function help.
 
So I need a resize function that is only called when the insert function checks for and discovers th...
[1 reply] : Unless you are simply wanting to learn the copy function, I would try ... (by wsme)
Need help with arrays.
 
A default constructor that sets up an initial array of 5 unsigned longs, sets capacity to 5 and used...
[3 replies] Last: Your post in another thread is correct (by closed account 3UohqMoL)
insert function help.
 
So I need an insert function that receives an unsigned long as a parameter and puts it into the next...
[1 reply] : Yes i think it should work now (by closed account 3UohqMoL)
Need hint for this, please!
 
So our assignment is to do this: The following program (see file starBox.txt) is the shell of a pr...
[6 replies] Last: I figured it out using my code the way it was, thank you though. (by BGA6444)
Call Function problems?
 
I am new at c++ so I don't know what I'm missing. The program just asks for the pay rate, wage, and ...
[3 replies] Last: Thank you so much for your help! You have no idea how much worry you s... (by BGA6444)
No Strings Attached (1,2)
 
Can anyone help me with this question ? my approach was to find greatest character from the current...
[33 replies] Last: @pewdiepie I have done with ur code but cant pm u back becoz i excee... (by ghostrideriit)
Calling the right function of a child class
 
I need to call the correct function from an object of a sub-class. Both the super-class and the sub-...
[10 replies] Last: This compiles, and works. #include <iostream> class Character { ... (by Repeater)
GEARS
 
guyz please help me out here!! i am doing this problem using dfs. i am passing 4 cases in the firs...
[1 reply] : @aman whats your approach to the problem (by blackmamba)
by Yap
printf
 
hey everyone, i just started learning programming and I've given a task to create this output "The g...
[2 replies] Last: methinks you want this. #include <stdio.h> int main() { int a = 4;... (by jonnin)
by jism3
pointer question
 
I've been trying to learn c++ lately and its becoming a habit of me to validate pointers using these...
[7 replies] Last: consider being able to disable some of the checks in release builds if... (by jonnin)
Ways to share variables between classes
 
Imagine I have a class A and a class B that both depend on the same set of variables. Class A sets t...
[2 replies] Last: Just to note, this is also being discussed in the OP's other thread: ... (by MikeyBoy)
by h4ever
Organisation of files
 
May I have a general question? When writing program which will access many data files to search reco...
[12 replies] Last: Another case when is it not useful to have big file is when I would ne... (by h4ever)
Inheritance Conundrum
 
So I've got a little bit of a problem with a program I'm working on. I've got two classes: class A a...
[8 replies] Last: Thank you for the suggestions! (by Crusher21)
Need help with GEARS!!!!
 
it will be 0
[14 replies] Last: hey man why r u providing http links they are not safe. (by hyfun)
Coloring problem in 1D
 
Can you give some more detail on the problem? Preferably post the actual text of the problem you're ...
[no replies]
Need help with making a calculator using arrays.
 
I'm learning C++ atm., and I am at arrays right now. I understood the mechanics of it, but I was cur...
[4 replies] Last: I ended up with this, I guess it's fair enough, but I could've done be... (by quickyq)
by t009
Overloadig operator on a class
 
Taken from this websites example on classesII. // overloading operators example #include <ios...
[1 reply] : Cvector::operator+ just means that you want to define operator+ that i... (by Peter87)
need help with .inl and templates
 
I'm practicing using templates and inl files, but VS 2017 is giving me errors, what I would like is...
[2 replies] Last: very good,thank you (by programmy)
by diles
Help passing string GetFileName(string prompt)
 
I am needing help being able to pass the fileName variable value from function to function. From Mai...
[2 replies] Last: ^ main() has a local fileName, GetFileName() function also has its ow... (by icy1)
July 2018 Pages: 1... 910111213... 17
  Archived months: [jun2018] [aug2018]

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