
please wait
by aerichsen
Problem with function
|
I keep getting the error that offset and days were not declared in this scope in the displayTable(offset, days) in the main function. Could anyone help me se... |
Feb 20, 2016 at 8:29pm
[1 reply] : The online compiler sees your posted code differently: In function '... (by keskiverto)
|
by gregfifth
Finding quadratic real roots with minimal computation
|
I'm working on a problem that says to write a program that accepts from the keyboard 3 numbers a, b, c which are the coefficients of the quadratic equation ax^2... |
Feb 20, 2016 at 7:50pm
[3 replies] Last: Well, the exact details I'll leave up to you. It's common in finding ... (by Chervil)
|
by bluefrog
question on strcmp
|
Hi 1 is true and 0 is false so why do the following two lines of code indicate 0 and 1? should they not output 1 and 0 respectively, since the first line is ... |
Feb 20, 2016 at 7:40pm
[2 replies] Last: Also, see http://www.cplusplus.com/reference/cstring/strcmp/ for meani... (by Chervil)
|
by Zeromos
Future Value program for current currency change
|
So i have a problem , i need these 2 functions to run together in which dollars from the first funciton is the present value used in the second function cpp.... |
Feb 20, 2016 at 6:10pm
[no replies]
|
by Hirokachi
Do While loop not functioning
|
In this function when i try to write in invalid command like "arblegarble" it hits the else if statement and stays in the loop. However, When i purposely go in ... |
Feb 20, 2016 at 6:09pm
[8 replies] Last: Thanks. I did figure it out. (by Hirokachi)
|
by saherch
Pointer arithmatics and c style arrays
|
I am trying to improve my understanding of pointer. i know that there are smart pointers and vector/array containers in c++ now and i should use them as that wo... |
Feb 20, 2016 at 4:52pm
[3 replies] Last: Ohh that was so silly of me. I guess i was only paying attention to th... (by saherch)
|
by blacjak21
assign values to card
|
this is my whole code but i have an issue in the card class with the get value member function how do i do assign values from 0-13 for each card of the deck? ... |
Feb 20, 2016 at 3:50pm
[2 replies] Last: Why don't your classes have constructors that initialize their member ... (by jlb)
|
Help with palindromes? |
Write your question here. I'm almost finished, but can't complete my code to make it work. I want it to take user input of integers and output whether it is a ... |
Feb 20, 2016 at 3:20pm
[4 replies] Last: You have the right idea logically for checking a palindrome, but you'v... (by dhayden)
|
by mynicks
problem with a very simple addition of digits
|
The code below creates a file, it stores in it all the numbers from 1 to 100. Closes the file. Then, it opens the file, reads all the numbers one after the oth... |
Feb 20, 2016 at 2:58pm
[4 replies] Last: The first 23 lines are fine.They will store numbers 1- 100 in a file.... (by TheIdeasMan)
|
by stealthboy
Standard deviation function
|
I've been trying to write a code for standard deviation and I thought I nearly had it, but it's still slightly off. Could I please get some help? It's getting a... |
Feb 20, 2016 at 2:13pm
[13 replies] Last: @ fizrub Please don't bust into someone else's Topic. You have your ... (by TheIdeasMan)
|
by fizrub
Unhandled exception error
|
Hi! This is all my code. When i debug it, at the 15th line ( c .push_back(card ); ) i get "Unhandled exception in Cpp.exe: 0xC0000005: Access Violation." error... |
Feb 20, 2016 at 2:09pm
[4 replies] Last: OK ) Thanks very much . (by fizrub)
|
by natdomi
Read in 10 Choices of Input By User
|
So I'm working on this program that basically serves as a grade book and I have the basics down but now I'm stuck. I can't figure out (for the life of me) how t... |
Feb 20, 2016 at 11:16am
[1 reply] : You need a loop, specifically For-loop - http://www.tutorialspoint.co... (by TarikNeaj)
|
by Haziq
How to get data file name from other function?
|
Hello and good day. How do i set myfile from searchstat() to get the file from loaddata() ? void loaddata() { ifstream myfile; while(!myfile.is_open()) ... |
Feb 20, 2016 at 11:09am
[10 replies] Last: case 1 : WeatherReports.LoadData(string &file); //HERE! ... (by TarikNeaj)
|
by RWB
Header file Program Won't Compile
|
I have a program that I can't get to compile. I have problem with Employee.cpp but I can't figure out how to fix it. Here are the requirements for the progra... |
Feb 20, 2016 at 9:20am
[9 replies] Last: The Employee constructor expects a Name object but you try to pass a s... (by Peter87)
|
by blacjak21
value class
|
i figure it out |
Feb 20, 2016 at 8:14am
[3 replies] Last: You know it would be less cancer for our eyes If you used the code bra... (by closed account 1vD3vCM9)
|
by YamiFrankc
Write a program using nested loops that asks the user to enter a value for the number of rows to display
|
I have to write a program that ask the user for input of an integer and displays rows like this, using loops: Input: 6 *****? ****?? ***??? **???? *????... |
Feb 20, 2016 at 6:51am
[2 replies] Last: Thanks. Using that i should also have the integers i and j, right? (by YamiFrankc)
|
pass 2-d array to function in turboo c++ |
please help me to solve this Write a function called biggestEntry( ) that uses a two dimensional array and two parameters representing the row and colum... |
Feb 20, 2016 at 6:34am
[5 replies] Last: PLease fix the above programm and correct my programm (by Muhammad Abdullah)
|
by edave
help with functions
|
so i got the code right however it's telling me that the function that i am calling failed the test. which i have no idea what that means. this is the assignmen... |
Feb 20, 2016 at 4:45am
[1 reply] : so i got the code right I don't think so. Output of your code: Wri... (by jlb)
|
by doctterdre
Simple function
|
I have three problems due in 3 more hours. I thought I could figure them out easily so yes, I waited till the last minute. I know they are fairly simple but don... |
Feb 20, 2016 at 4:42am
[4 replies] Last: Thanks everyone that helped (by doctterdre)
|
by cher1201
selection sort problem
|
I am just learning the selection sort algorithm and I cannot seem to understand how this selection sort works. Its supposed to take the largest index and sort i... |
Feb 20, 2016 at 4:13am
[1 reply] : This will help: https://www.youtube.com/watch?v=GUDLRan2DWM&list=PL2_a... (by Arslan7041)
|