Beginners - February 2015 (Page 52)

Understanding function definitions with Pointer parameters
 
Can someone help me understand coding function definition for a prototype that includes pointers and...
[1 reply] : First, you'll want to name the parameters to your function. Otherwise,... (by Zhuge)
Not understanding classes
 
Is this class Widget { int value; public: Widget(); Widget(int v); int get(); void...
[5 replies] Last: http://en.cppreference.com/w/cpp/language/member_functions#const-.2C_v... (by MiiNiPaa)
What's wrong with the code?
 
The code below is the example on my new book. It shows different answers and the author didn't expla...
[7 replies] Last: Hi, Not sure if I am preaching to the converted, or that this is all ... (by TheIdeasMan)
Passing 2D array
 
I've written the following program. I am trying to pass the 2D array into function using pointer and...
[1 reply] : Are your program: 1) Not compiles     * Is other code compiles cor... (by MiiNiPaa)
error
 
avg = runs / ( innings - notout ) my mvs keeps complaining about dividing by zero. but i e...
[1 reply] : Have you tried using the debugger to see what the values of the variab... (by Zhuge)
Stopping program at five significant figures.
 
So my last post ended so well I decided to ask another question. My next project requires me to writ...
[12 replies] Last: “Double S, x, z, etc…” Is that not initializing? This bit : ... (by TheIdeasMan)
by trunax
C++ Tutorial Basic Input/Output Bug
 
Hi, there is a bug either in the script or answer, if i run a compiler i get 154 as an answer (Ente...
[6 replies] Last: Yes, so is it. Thank you.. (by trunax)
Best way to read and parse data?
 
resolved
[no replies]
Make a simple linked list
 
Write your question here. I am trying to learn about linked lists, and this function makeList() is ...
[1 reply] : > I'm kind of lost. the error messages are getting more and more esote... (by ne555)
problem with sort function <algorithm> lib
 
Hi everyone! My problem looks like this: 1.At the beginning u have to insert an amount of numbers. ...
[4 replies] Last: > The advantage of this method over JLBorges's is that the sort will r... (by JLBorges)
by ct180
Boolean switch/selection structure?
 
Literaly the second day I've been working on this. I was given instructions to create a boolean swi...
[6 replies] Last: Just input the numbers with spaces between them. I.e., 1 0 1 instead o... (by dhayden)
Need Help Making a program to count spaces in a sentence
 
Write a function that will count the spaces in given sentence. Think about how your function header ...
[no replies]
Binary to decimal error handling
 
I'm having problems implementing this. The original program works, which is as follows: #include...
[12 replies] Last: If I enter 10101, I get the error message, but then I get 21 in the n... (by dhayden)
if statement trouble
 
I have to make a program where it prompts the user to input a number between "zero" and "nineteen" a...
[4 replies] Last: @Mint It's a homework problem, and the user has to input a number tho... (by joecookjc)
create you own template class vector
 
// No answers
[no replies]
February 2015 Pages: 1... 505152
  Archived months: [jan2015] [mar2015]

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