Beginners (Page 2)

Selection sort algorithm
 
I'm having trouble implementing the selection sort algorithm in a program. I need the program to pr...
[2 replies] Last: Line 19 is outside of the loop, so if numval is 6 then this is what th... (by dhayden)
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- I'm trying to write a function that says, "Until the principal (p) is greater than or equ...
[no replies]
by bs319
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)
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 bs319
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 bs319
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)
Switch cases and Array's
 
A few assignments back I made a leap year program with a switch case involved in which I divided the...
[1 reply] : The switch does not suite to this task. Switch uses equality comparis... (by keskiverto)
Add, subtract, divide, multiply fractions
 
I am having trouble validating the operator. The user has to input the operator they want to use and...
[no replies]
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)
Printing number of lines, words, char, etc in a string
 
Hello everyone. I've been assigned to create a program to print out the number of lines, words, char...
[1 reply] : Anyone?? (by TheCoolest2)
by bs319
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 bs319)
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)
Read character to int without crashing (1,2)
 
In C, is there a relatively simple way of stopping a program from crashing if a character value is e...
[20 replies] Last: Perhaps if I talk about what an argument list is, then you might under... (by kevinkjt2000)
Pages: 1234... 59
  Archived months: [jan2015]

Cannot post in this page. To post a new message, go to the first page.