
please wait
Set.cpp file implementation |
Hi everyone! Currently working on an assignment for data structures. Specifically, the assignment is to create a static implementation of a set. Add the efficie... |
Feb 8, 2017 at 2:44am
[5 replies] Last: int i = 0; i < used; i++ http://stackoverflow.com/questions/25429771... (by gunnerfunner)
|
by MisterTams
Program is rounding the decimal value wrong!
|
Hey guys I am using an example out of a book that shows sample output as the following. Loan Amount: $ 10000.00 Monthly Interest Rate: 1% Number of Payme... |
Feb 8, 2017 at 2:24am
[6 replies] Last: Hey all, Thanks for your responses. I have to use floating values. Th... (by MisterTams)
|
by neil222
Storing an array in an object
|
Hi, I am wondering how to create an array to store the values that are user inputted for the filter (ValueFilter) and how to define the length of that array ... |
Feb 8, 2017 at 2:12am
[1 reply] : What are you trying to filter? (by Yatora)
|
by newyork23
Turtle Graphics
|
My program is suppose to move the turtle until it reaches 30,000 steps. I'm confused as to how to use while loop. I know it's wrong, I'm just lost on the steps,... |
Feb 8, 2017 at 2:10am
[2 replies] Last: while (disTraveled = 0) The code inside the while loop will never ex... (by Yatora)
|
by emirhasa
Making own collection class, exception driving me crazy!
|
I don't know why, but gives the following runtime error: Exception thrown at 0x000D7D88 in ConsoleApplication19.exe: 0xC0000005: Access violation reading locati... |
Feb 8, 2017 at 2:10am
[12 replies] Last: > Not sure why clang synthesizes operator=. A cursory inspection doesn... (by JLBorges)
|
by deleon123
Program Help Login and Asterisk
|
Please guys help me with this, disregard the bottom part, what I just need to take care of right now is the log-in process, the password should be in asterisk a... |
Feb 8, 2017 at 1:58am
[4 replies] Last: Your code does not look good and please get rid of goto . Code indent... (by Yatora)
|
by cegodica
Where does function store in memory
|
I have this code: #include<iostream> void print_number() { int i=13579; std::cout<<i; } int main() { std::cout<<(int *)&print_number; system(... |
Feb 8, 2017 at 1:39am
[4 replies] Last: the actual location varies by OS. Its in the big pile of memory alloc... (by jonnin)
|
by CisntEZ
Search the string of numbers to check if it contains any letters
|
In my function isValid I need to check the string phoneNumber and make sure it only contains the digits 0-9. If it does contain a letter I must set status=3. Wi... |
Feb 8, 2017 at 1:36am
[5 replies] Last: > I know that the phoneNumber.find_first_not_of("0123456789") > search... (by JLBorges)
|
by toklo
Hexadecimal to Binary Approach
|
Noob here. I have to write a program that converts a hexadecimal number to binary. Only using <iostream> and <string>. My approach was gonna be to do a char arr... |
Feb 8, 2017 at 12:57am
[no replies]
|
by deleon123
Log-in Limiter and Asterisk Password Fix :(
|
Hi guys, this might be the last favor I am gonna ask (i know its too much) but can you please point out and fix the problems with this source code. Basically it... |
Feb 8, 2017 at 12:35am
[2 replies] Last: Well asa you can see on the 2nd part it is the MENU already. I am only... (by deleon123)
|
by simer
Returning struct array from a function
|
The function only returns the last element, how can I return all the elements of the array? #include <iostream> using namespace std; const int N=2; ... |
Feb 8, 2017 at 12:14am
[6 replies] Last: Thanks so much! (by simer)
|
by neil222
Switch function
|
Pardon the long code, it is just there to give the question context. The question is why the switch function isn't running the functions in the class?? ... |
Feb 8, 2017 at 12:13am
[2 replies] Last: Perfect, thanks :) (by neil222)
|
by langestefan
Basic C array (I suck());
|
Hello, I have a C++ test tomorrow about a few basic things. One of them is using C arrays. As a practice assignement I have to get the highest and lowest AS... |
Feb 7, 2017 at 11:30pm
[14 replies] Last: That is why I said it was possibly a technicality. If the requirement... (by jonnin)
|
by blaufreunde
Argument error missing =
|
Is there a way to write this specific argument error? For example: a bad argument will be missing "=" and has nothing after it (example of the argument is -find... |
Feb 7, 2017 at 11:26pm
[2 replies] Last: why are you trying to trigger errors? int main() { int x = ; return 0... (by jonnin)
|
having trouble with dynamic memory allocation |
I am having trouble implementing dynamic memory allocation in to my program. I am trying to dynamically allocate memory for the products in my program. For some... |
Feb 7, 2017 at 10:24pm
[5 replies] Last: I am doing an assignment for school and the assignment says "For the ... (by pleaseINeedHelp)
|
by stav
how to detect mouse press & release on windows?
|
hey how do i detect when the mouse is pressed and released? (on windows btw) i dont have a window with a message loop, so i cant wait for an even to be fired i... |
Feb 7, 2017 at 9:42pm
[3 replies] Last: You can use GetAsyncKeyState on Windows. https://msdn.microsoft.com/en... (by integralfx)
|
by andrewllewop
Array Deletion
|
Whenever An array is deleted with the code below I get the following message: HEAP[week5.exe]: Invalid address specified to RtlValidateHeap( 00E60000, 009EF9... |
Feb 7, 2017 at 7:17pm
[2 replies] Last: Ok makes absolute sense Appreciate it. (by andrewllewop)
|
by Yoooooo
Process terminated with status -1073741510
|
Hello. It's this thing, that just keeps happening for a long long long time ( don't ask me when did start cuz I don't even remember). Everytime when I type a pr... |
Feb 7, 2017 at 6:51pm
[4 replies] Last: OMFG, it may sound weird, but i just entered the ctrl+c command and I ... (by Yoooooo)
|
by jesseb96
Passing a Variable from Main into a Function
|
Hi! I'm currently working on a group project for my computer science course. For some reason, we can't figure out how to pass a variable from the main (num_days... |
Feb 7, 2017 at 5:04pm
[3 replies] Last: Line 49: What value do you think you're passing to getDays()? Hint:... (by AbstractionAnon)
|
by Claudius7
Problem with iterators - code does not compile
|
Hi, I want to make a function which does the following: take two strings, str1 and str2. Check if all the characters of one string are contained in the other st... |
Feb 7, 2017 at 2:29pm
[5 replies] Last: Hi coder777, yes, thanks once more. In fact I had already implemented ... (by Claudius7)
|