Beginners - March 2015 (Page 47)

Const EType &a, how to pass to?
 
If I have a function: void foo(const EType &a) {}; What would I pass to the function i...
[1 reply] : What would I pass to the function in main any object of this EType... (by closed account SECMoG1T)
Problem with infinite loop
 
Hello, I am pretty new to C++ but I'm liking it so far. I was working on a project and came across a...
[1 reply] : tolower() function from <cctype> library to turn characters to their l... (by Cody0023)
Watch Fifty Shades of Grey Online Free
 
This is not a program lol
[1 reply] : Please do not reply to spam otherwise it makes it hard to remove. (by giblit)
Alignment problem (setw usage)
 
Hello everyone, I am doing a homework assignment again, and I am having a problem aligning the outpu...
[no replies]
Diamond Program
 
Hello, I am new to C++ and I am working in Visual Studios 2012. I am supposed to write a program whi...
[11 replies] Last: You're right that they will be mirror images of each other, but one wi... (by GRex2595)
by nemimi
Compound Interest Function
 
Hi There- Ok, after working on this for an embarrassing number of hours, I think I came up with some...
[no replies]
by HG319
recursion problem (1,2)
 
We are going over recursion in my class and I do not quite understand it, I was wondering if someone...
[29 replies] Last: I get that. 7 and 8 should probably just be deleted anyways. For s... (by GRex2595)
I can't seem to fix this. Can anyone help?
 
I've completed most of this, but there are still many errors. My professor gave us a program to debu...
[no replies]
Big Oh
 
Hey When you have an alogrithm, I understand with it n and n^2 and so on.But I am confused on whe...
[1 reply] : O(log(n)) is for algorithms that experience logarithmic growth. Binar... (by GRex2595)
by HG319
recursive outputs
 
So I have this recursive and I know the output if it is passed by ref or value, and I know the diffe...
[no replies]
by HG319
Finding Linked Lists size
 
I need to find the size of a linked list recursively and iteratively Here is what I have for each D...
[1 reply] : They look fine. Do they work? You may have to verify that they work.... (by GRex2595)
Trying to get decimal places in code
 
Trying to get grades in along with grades with 5 decimal places in. Having trouble with my loop. Not...
[3 replies] Last: http://www.cplusplus.com/reference/iomanip/setprecision/ So you need ... (by GRex2595)
Can u help me???
 
I try to find the problem in this code but i cant..Can u help me??? #include <iostream> usi...
[1 reply] : Is your program: 1) Not compiles     * Is other code compiles corr... (by MiiNiPaa)
Structures Question
 
Hi everyone, I'm a noob to C++ and could use some help with understanding one of the practice exerci...
[3 replies] Last: probably because you're not writing java . When you pass an argument... (by IWishIKnew)
Max, min, average and sum of given sequence
 
Hello, I'm trying to develop a program that returns the max, min, average and sum of a sequence. The...
[7 replies] Last: Yeah. You'll increment i outside of the while loop, so when you incre... (by GRex2595)
by HG319
Obtaining linked list size recursively
 
I am having trouble with link lists and recursion I was hoping someone can guide through this questi...
[1 reply] : would it be something like this: int GetCurrentSize(node* p) { ... (by HG319)
EOF loop issue
 
I am supposed to do. 1. Use sentinel, nested and EOF loops to do file I/O. 2. Create a program fil...
[1 reply] : Initialize variables. You don't know what currValue is because it isn... (by GRex2595)
sales commission program
 
I need some guidance on what to do next. I wrote the program as much as I could. If you see a bett...
[9 replies] Last: I couldn't figure it out in time. Got an F :( I still don't know how ... (by gttomog)
Pointer crash
 
I'm obviously not very good at c++ yet. Having trouble understanding how to use pointers. Making a s...
[3 replies] Last: I still don't know why it crashes at runtime though Because when line... (by MiiNiPaa)
by Lee125
atoi
 
So...I know that the atoi function in the C++ standard library is supposed to convert a string into ...
[1 reply] : http://lmgtfy.com/?q=atoi+source+code Even first link will show you b... (by MiiNiPaa)
March 2015 Pages: 1... 4546474849... 51
  Archived months: [feb2015] [apr2015]

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