
please wait
by sgill1998
Resize function help.
|
So I need a resize function that is only called when the insert function checks for and discovers that used == capacity. It should increase the size of the arra... |
Jul 14, 2018 at 8:05am
[1 reply] : Unless you are simply wanting to learn the copy function, I would try ... (by wsme)
|
by sgill1998
Need help with arrays.
|
A default constructor that sets up an initial array of 5 unsigned longs, sets capacity to 5 and used to 0. So, my question is how do I accomplish this. I attemp... |
Jul 14, 2018 at 6:51am
[3 replies] Last: Your post in another thread is correct (by closed account 3UohqMoL)
|
by sgill1998
insert function help.
|
So I need an insert function that receives an unsigned long as a parameter and puts it into the next available spot. Is this right? #include <iostream> c... |
Jul 14, 2018 at 6:50am
[1 reply] : Yes i think it should work now (by closed account 3UohqMoL)
|
by BGA6444
Need hint for this, please!
|
So our assignment is to do this: The following program (see file starBox.txt) is the shell of a program that displays the border of a box of starts of size n ... |
Jul 14, 2018 at 3:19am
[6 replies] Last: I figured it out using my code the way it was, thank you though. (by BGA6444)
|
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 hours worked. However it does not print the inputted values ... |
Jul 14, 2018 at 3:18am
[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 char and find their difference but it gave me WA.Can anyone... |
Jul 14, 2018 at 2:31am
[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-class have this function but the sub's is different. I am un... |
Jul 13, 2018 at 6:23pm
[10 replies] Last: This compiles, and works. #include <iostream> class Character { ... (by Repeater)
|
GIVE ME GEARS FULL AC I WILL GIVE YOU NMNMX/EQUILBR FULL AC |
THOSE WHO ARE INTERESTED PM ME. |
Jul 13, 2018 at 5:44pm
[12 replies] Last: and everyone please report @cricbuzz....i cant report him as he alread... (by blackmamba)
|
by blackmamba
GEARS
|
guyz please help me out here!! i am doing this problem using dfs. i am passing 4 cases in the first subtask and getting runtime error in the last and i am ge... |
Jul 13, 2018 at 4:35pm
[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 given numbers are 4, 5, 9, 20 and 54 The sum of all numbers =... |
Jul 13, 2018 at 4:25pm
[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 codes. object* pobject = getobject( objectid ); if (... |
Jul 13, 2018 at 4:20pm
[7 replies] Last: consider being able to disable some of the checks in release builds if... (by jonnin)
|
by Crusher21
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 the values for the variables and uses them and when it's time... |
Jul 13, 2018 at 3:59pm
[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 records in them, is it important to organize the data file to hi... |
Jul 13, 2018 at 2:52pm
[12 replies] Last: Another case when is it not useful to have big file is when I would ne... (by h4ever)
|
by Crusher21
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 and class B. Class A has a header file defined like this: #... |
Jul 13, 2018 at 1:44pm
[8 replies] Last: Thank you for the suggestions! (by Crusher21)
|
Need help with GEARS!!!! |
it will be 0 |
Jul 13, 2018 at 1:03pm
[14 replies] Last: hey man why r u providing http links they are not safe. (by hyfun)
|
by dhayden
Coloring problem in 1D
|
Can you give some more detail on the problem? Preferably post the actual text of the problem you're trying to solve. Some things I don't understand: - what are... |
Jul 13, 2018 at 12:28pm
[no replies]
|
by quickyq
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 curious that if I could make something using them, to maybe und... |
Jul 13, 2018 at 11:46am
[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 <iostream> using namespace std; class CVector { public: ... |
Jul 13, 2018 at 6:00am
[1 reply] : Cvector::operator+ just means that you want to define operator+ that i... (by Peter87)
|
by programmy
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 to print out the number 23 on the main file using functio... |
Jul 13, 2018 at 1:02am
[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 Main(); I can call function GetFileName(string) and have a file... |
Jul 12, 2018 at 10:20pm
[2 replies] Last: ^ main() has a local fileName, GetFileName() function also has its ow... (by icy1)
|