Beginners - February 2017 (Page 28)

Set.cpp file implementation
 
Hi everyone! Currently working on an assignment for data structures. Specifically, the assignment is...
[5 replies] Last: int i = 0; i < used; i++ http://stackoverflow.com/questions/25429771... (by gunnerfunner)
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 Amou...
[6 replies] Last: Hey all, Thanks for your responses. I have to use floating values. Th... (by MisterTams)
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 filt...
[1 reply] : What are you trying to filter? (by Yatora)
Turtle Graphics
 
My program is suppose to move the turtle until it reaches 30,000 steps. I'm confused as to how to us...
[2 replies] Last: while (disTraveled = 0) The code inside the while loop will never ex... (by Yatora)
Making own collection class, exception driving me crazy!
 
I don't know why, but gives the following runtime error: Exception thrown at 0x000D7D88 in ConsoleAp...
[12 replies] Last: > Not sure why clang synthesizes operator=. A cursory inspection doesn... (by JLBorges)
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...
[4 replies] Last: Your code does not look good and please get rid of goto . Code indent... (by Yatora)
Where does function store in memory
 
I have this code: #include<iostream> void print_number() { int i=13579; std::cout<<i; } i...
[4 replies] Last: the actual location varies by OS. Its in the big pile of memory alloc... (by jonnin)
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 dig...
[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 <iostr...
[no replies]
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 ...
[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? #i...
[6 replies] Last: Thanks so much! (by simer)
Switch function
 
Pardon the long code, it is just there to give the question context. The question is why the switch ...
[2 replies] Last: Perfect, thanks :) (by neil222)
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 ...
[14 replies] Last: That is why I said it was possibly a technicality. If the requirement... (by jonnin)
Argument error missing =
 
Is there a way to write this specific argument error? For example: a bad argument will be missing "=...
[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 dynamica...
[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 w...
[3 replies] Last: You can use GetAsyncKeyState on Windows. https://msdn.microsoft.com/en... (by integralfx)
Array Deletion
 
Whenever An array is deleted with the code below I get the following message: HEAP[week5.exe]: In...
[2 replies] Last: Ok makes absolute sense Appreciate it. (by andrewllewop)
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 ...
[4 replies] Last: OMFG, it may sound weird, but i just entered the ctrl+c command and I ... (by Yoooooo)
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...
[3 replies] Last: Line 49: What value do you think you're passing to getDays()? Hint:... (by AbstractionAnon)
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 al...
[5 replies] Last: Hi coder777, yes, thanks once more. In fact I had already implemented ... (by Claudius7)
February 2017 Pages: 1... 2627282930... 37
  Archived months: [jan2017] [mar2017]

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