Beginners - February 2016 (Page 18)

Problem with function
 
I keep getting the error that offset and days were not declared in this scope in the displayTable(of...
[1 reply] : The online compiler sees your posted code differently: In function '... (by keskiverto)
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,...
[3 replies] Last: Well, the exact details I'll leave up to you. It's common in finding ... (by Chervil)
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 th...
[2 replies] Last: Also, see http://www.cplusplus.com/reference/cstring/strcmp/ for meani... (by Chervil)
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 fun...
[no replies]
Do While loop not functioning
 
In this function when i try to write in invalid command like "arblegarble" it hits the else if state...
[8 replies] Last: Thanks. I did figure it out. (by Hirokachi)
Pointer arithmatics and c style arrays
 
I am trying to improve my understanding of pointer. i know that there are smart pointers and vector/...
[3 replies] Last: Ohh that was so silly of me. I guess i was only paying attention to th... (by saherch)
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 d...
[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 i...
[4 replies] Last: You have the right idea logically for checking a palindrome, but you'v... (by dhayden)
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...
[4 replies] Last: The first 23 lines are fine.They will store numbers 1- 100 in a file.... (by TheIdeasMan)
Standard deviation function
 
I've been trying to write a code for standard deviation and I thought I nearly had it, but it's stil...
[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 "Unhandle...
[4 replies] Last: OK ) Thanks very much . (by fizrub)
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 ...
[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() ? voi...
[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 ou...
[9 replies] Last: The Employee constructor expects a Name object but you try to pass a s... (by Peter87)
value class
 
i figure it out
[3 replies] Last: You know it would be less cancer for our eyes If you used the code bra... (by closed account 1vD3vCM9)
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, usi...
[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 dimensi...
[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....
[1 reply] : so i got the code right I don't think so. Output of your code: Wri... (by jlb)
Simple function
 
I have three problems due in 3 more hours. I thought I could figure them out easily so yes, I waited...
[4 replies] Last: Thanks everyone that helped (by doctterdre)
selection sort problem
 
I am just learning the selection sort algorithm and I cannot seem to understand how this selection s...
[1 reply] : This will help: https://www.youtube.com/watch?v=GUDLRan2DWM&list=PL2_a... (by Arslan7041)
February 2016 Pages: 1... 1617181920... 46
  Archived months: [jan2016] [mar2016]

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