Thank you. I already saw those websites. I was looking for something a little more specific to binomial trees.
Type: Posts; User: blindman858
Thank you. I already saw those websites. I was looking for something a little more specific to binomial trees.
I want to create binomial trees using C++ from scratch. I have no idea where to start or how to begin. Can I use singly linked lists? Any suggestions or pointers to help me get started will be...
Thanks a lot for your help =).
I have a menu in a program I am writing and the user inputs an integer to select from the menu. I am trying to catch any input from the user that is not an integer and have the user select again. I...
Hey guys I just completed by first c++ class. I want to practice so I dont forget. I am kinda clueless on what to code, I haven't learned classes and objects yet but I plan to do it on my own...
yeah .net is slowly gonna take over. Actually .net automates a lot of mfc programming. Like for instance when you create a window, you can adjust it simply editing a box for height,width., as...
.net is merely an environment. It is managed coding. A lot of featurers have been automated for you, especially windows programming. The logic is the same for c++ and .net. Syntactically c++ and...
Learn the .net environment for visuall C++, if you havent already. Windows programming becomes a lot easier in .net, almost drag and drop. But I guess its also a good idea to learn it manually.
Ok I figured out why numbers like 1/100 wont print correctly. Its not the data type actually. I have to add another case in the recursion,
if(n==d)
a[i]=1;
If i use two doubles I cant use the modulus operator.
Hello I have wrriten a recursive program that will display a fraction, where the numerator is less than the denominator, out to a user specificed number of decimal places. My program works for...
post your code it could very well be something in there.
cool thanks for the the advise I will definitely try to modify the code.
Quicksort takes three arguements, and ur only passing two in main.
Lol. Ladies and Gentlemen I have finished!!!!! My program works! I was able to calculate the 10,000 and 100,000 fibonacci number. However, my program is very slow and inefficient. So I was...
The S and curly bracket 0 is just syntax for visuall c++.net. Its has to do with strings and spaces. I will try out your suggestions. Thanks for replying.
ok I am stuck. I know the problem. The zeros are there because the fir and sec arrays are not getting the other values. I need to populate them some how. I tried using a for loop but i didnt work....
cool that fixed the area but the numbers arent being generated the first element is always one and by default every other element is zero. So it prints 10000000000000000000 etc every time. I am...
Alright guys this is my first attempt at it. I am a begginner and my logic is probably flawed but before I continue can you please look this over. I also cant seem to fix this error message that...
Try writing writing a magic square generator. That is a program that creats a n x n magic square. A square is considered magic if the sum of the rows, columns,and diagnols equals the same number....
Wow thanks for the interests guys I will keep ur suggestions in mind. When i finish I will post my code here for yall to check out. Thanks again for the input.
Hello I posted this topic before but I want to try out a specific approach. I need to calculate fibonacci 10000 its reprinted in all its glory for you below:
...
I think perhaps the most important courses for you will be your math classes. As math is the foundation for most of programming. As a programmer you need to truly understand how mathematics works...
Greetings,
Ok I know how to code fibonacci using both iterative and recursive functions. However, I have no idea how to go about calculating the 10,000 fibonacci. That is a very very very big...
This is because you cant print an array like that. An array stores data at particular indexes or coordinates. for example for a one dimenesional array like the one you have now:
Index: ...