Beginners (Page 88)

Can someone help me with this polynomial function code?
 
I'm confused on the findroots part of this assignment and the evaluate function. Tmp is user inputte...
[2 replies] Last: duoas: thanks for the detailed answer! i changed a bunch of things lik... (by misslyss)
quick question issue with code
 
int mNumber = 0; int numChanges=0; int a; for( i= 1; 1<= 9; i++) { a = i +( i%3); if ( ...
[2 replies] Last: for( i= 1; 1<= 9; i++) The condition is always true (one is always l... (by dhayden)
by mekki
print on paper
 
hi, like to print on physical paper. i use xcode. thanks a lot for any idea, cheers m ps: gue...
[6 replies] Last: If your as new as you are, I'd recommend not trying to print to paper,... (by Psoon)
two dimensional array
 
Hello, im working on a two dimensional array assignment. I need to get "scores" from a text file nam...
[1 reply] : 1. Put your code in [ code ][ /code ] tags or else it's a pain to read... (by fg109)
by Mr D
Count letters in string
 
I need to count the number of times each letter appears, and ONLY the ones that appear. I'm at a los...
[10 replies] Last: oh, how did i not see lines 33 -34? (by shadowCODE)
Help please!!!
 
Write your question here. Hi i need to write a code that gives a percentage of a percentage ex....
[12 replies] Last: @ShadowCODE then ignore him. He is here becuase he is a slacker, he is... (by TarikNeaj)
Triangle .STL representation
 
Hey there, Hope all is well with you today! I had a question in creating a structure for a .STL t...
[1 reply] : code below represents one triangle but multiple triangles are needed ... (by keskiverto)
implicit and explicit operations
 
Hi, I'm having this question and i can't figure out the right answer What operations may be invoked...
[no replies]
by XyzAbc
Display scores in rows of four
 
I have to display scores from array in a rows of four. But my code does not display properly. So, I ...
[2 replies] Last: Works perfect. Thank you for your help (by XyzAbc)
Need help with Beginner exercise(#2)
 
When i run program,and type in what beverage do i want,it just terminates program #include<iostr...
[2 replies] Last: #include<iostream> using namespace std; int main(){ cout<<"Hello! ... (by patriic48)
What is the modular multiplicative inverse of the equation in C++?
 
Given equation: Result=(m*(1-pow(m,l))) / (1-m); Result should be printed of modulo 1000000007 ...
[no replies]
by Googol
Array of structs accessed with a pointer
 
I need to create an array of structs but cannot seem to get past the declaration. I would like to ke...
[no replies]
What is constexpr?
 
What is the use for constexpr and how does it differentiate from const. It says something like it ge...
[3 replies] Last: const just means you are not allowed to modify something. constexpr sa... (by Peter87)
Scanning whole program
 
I'm trying to program death into my text-based RPG game, and it would be much easier to be able to u...
[10 replies] Last: that's working for me, 100% (by MikeTheFish)
Variable with multiple data types
 
Hello All. So guys i am making a program for my assignment. Now in the code i want to use a variab...
[3 replies] Last: Look into unions. http://www.cplusplus.com/doc/tutorial/other_data_ty... (by fg109)
input validation
 
Hi, I need help with my code, I should create a function that gets input from the user for 3 differ...
[10 replies] Last: That was a great point! Thank you. while ((!(small >= 5) || !(small ... (by khatereh)
sorting eigenvalues problem
 
Hello, I have a program, which returns eigenvalues and eigenvectors in form d and A . After getti...
[9 replies] Last: > the sorting algorithm instead of sorted eigenvalues, > returns exp... (by ne555)
How do I check if the sum of the numbers of 1st half and 2nd half of an array is same?
 
Given an array of even size. I have to determine if sum of any combination of the numbers (half of t...
[1 reply] : http://www.cplusplus.com/doc/tutorial/arrays/ Video 32-34: https://ww... (by TarikNeaj)
by Gsnore
Writing the complete program
 
I started this program and i am completely lost with it. If anyone can help me it would be very appr...
[3 replies] Last: Because I found the problem description amusing, I'm going to suggest ... (by fg109)
Pages: 1... 868788899091
  Archived months: [mar2015]

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