Beginners (Page 90)

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: 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
So...I know that the atoi function in the C++ standard library is supposed to convert a string into ...
[1 reply] : Even first link will show you b... (by MiiNiPaa)
Sum of powers of numbers 1 through 10
I need help writing a program that will calculate the sum of any power of the numbers 1 through 10. ...
[10 replies] Last: You should have double for sum because if you accept a double for the ... (by GRex2595)
Problem with the == part of an if statment
I am having a problem with my if statement as on the tutorial in the "Statements and flow control" s...
[4 replies] Last: @TarikNeaj Your post was not visible when I had clicked "reply". I s... (by Arslan7041)
Trying to convert from Celsius to Fahrenheit and then the other way
So I am trying to write a code that will allow the user with three options (figured that part out) ...
[9 replies] Last: I need the output file to be labeled Lawrence_celsius_output.txt and L... (by lolapurple)
Trouble getting my code through a test
I'm having trouble getting my code through my instructors test program. Can anyone help tell me what...
[2 replies] Last: And this is the compile error I'm getting. $ g++ -Wall -Wextra -ped... (by ManlyMartin)
by HG319
Binary search theory questions
Imagine you have 101 dalmatians and that no two dalmatians have the same number of spots. Suppose th...
[5 replies] Last: would it just be 7 comparisons? (by HG319)
Aligning brackets, and making readable code
Ive been in a C++ class for about 2 months now, and im actually working on a mid-term project that i...
[3 replies] Last: I find it difficult to place for loops within for loops ( confuses t... (by AbstractionAnon)
Rewriting Strstr
I'm trying to write code that does the same thing as "strstr". However its just doing the same thing...
[2 replies] Last: Perfect thank you. I didn't even think about how it could check for th... (by TieRein)
Pages: 1... 8889909192... 94
  Archived months: [feb2015]

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