Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #3K
~4K People Reached
About Me

Student at the American University in Dubai, Computer Engineering major.

Interests
I've got lots of them)
Favorite Forums
Favorite Tags
c++ x 21
Member Avatar for djbsabkcb

Below is my code for Fibonacci sequence, however when I use a large number such as 100 or more it takes forever to produce output. Why? any help would be appreciated. :( [code]#include <iostream> using namespace std; long fib_num ( long ); int main() { long num = 0; long …

Member Avatar for josh2k12
0
2K
Member Avatar for thehivetyrant
Re: C++

I was wondering if theres anywhere to get C++. You see i have work to do for homework and i'm trying to do it at home but it's quite hard to do without the program. Is there any free or trial software that can help check my code for ...lets …

Member Avatar for hajiakhundov
0
73
Member Avatar for hajiakhundov

Hi everyone. I am creating a small windows form application using Visual C++; and I would need to delay a loop by a second. Sleep() doesn't work.(Not sure why) Is there a way I can use the timer? Any suggestions on how can I do that? Thanks in advance. :)

Member Avatar for hajiakhundov
0
133
Member Avatar for confusedndazed

[B]Hello everyone!!![/B] I have the following pseudocode and I'm not exactly sure how/where to plug it into my code. I am still very lost concerning programing so please bear with my ignorance...:) /* pseudocode for Binomial Coefficients */ int binomial(int n, int k) { If (n < k) Then return …

Member Avatar for confusedndazed
0
94
Member Avatar for hajiakhundov

Hello. Can someone please tell me how can I get the Text from the textBox, and store it into a string for instance. To be more specific, I have a function: [CODE]foo (const char* str, const char *strat);[/CODE] And when I call it, I want it to take the the …

Member Avatar for hajiakhundov
0
91
Member Avatar for hajiakhundov

Hello Everyone. I am creating this Windows Forms Application using Visual Studio. Basically, in order to do what I want to do, I need to use an integer, and that integer needs to be converted into a string in order to change the label text, when pushing the button. However, …

Member Avatar for hajiakhundov
0
2K
Member Avatar for samsons17

This is the answer for one of the simple function question from my programming lab... [CODE]#include <iostream> using namespace std; void displayHi(); int main(void) { displayHi(); } void displayHi() { cout<<"I love c++"; } [/CODE] but what i dont understand is why we should put [B] main(void)[/B]?? why dont simply …

Member Avatar for Ancient Dragon
0
143
Member Avatar for samsons17

HI.... I'm doing this question... [B]Question Using a non-void function with parameters, write a complete C++ program that prompts the user for the Cartesian coordinates of two points (x1, y1) and (x2, y2) and displays the distance between them computed using the formula: distance = sqrt( (x1-x2)^2) + ((y1-y2)^2)... [/B] …

Member Avatar for hajiakhundov
0
241
Member Avatar for confused!

Hello! I have an assignment in my "intro to programming class" and I am having trouble just getting started. We are suppose to take a txt file that has several lines of text - and create a program using "fin" to test each line to determine if it is a …

Member Avatar for hajiakhundov
0
267