Search Results

Showing results 1 to 40 of 66
Search took 0.01 seconds.
Search: Posts Made By: Q8iEnG ; Forum: C++ and child forums
Forum: C++ Jul 1st, 2009
Replies: 5
Views: 241
Posted By Q8iEnG
As all my mates said, we were in same situation and that book you mentioned is totally crap.

See the links provided above from members, once you need a help don't hesitate to post it ^^
Forum: C++ Mar 4th, 2009
Replies: 11
Views: 548
Posted By Q8iEnG
Thanks a lot, I know that method and it won't work as great as the " " because it uses strings and sometimes they won't be equal.

Thanks..
Forum: C++ Mar 4th, 2009
Replies: 11
Views: 548
Posted By Q8iEnG
Thanks a lot for the help, I did it ;)
Forum: C++ Mar 4th, 2009
Replies: 11
Views: 548
Posted By Q8iEnG
Thanks guys I did it.

Here's the fixed completed code.

// Mohammed Aldhaferi
// 205112766
// Program that compute the value for some integers in several functions such as (1, log n, n...etc)....
Forum: C++ Mar 4th, 2009
Replies: 11
Views: 548
Posted By Q8iEnG
Well, thanks a lot I guess I worked on your advice I built up my factorial function LOL :D

btw, this is the final code I finished it, but I got stuck in using "log n"

try to run it


//...
Forum: C++ Mar 4th, 2009
Replies: 11
Views: 548
Posted By Q8iEnG
Thanks for the comments and the tips :)

Umm, Do you know how to use factorial from the cmath? OR I should make a function that calculates it?
Forum: C++ Mar 4th, 2009
Replies: 11
Views: 548
Posted By Q8iEnG
Hi guys :)

I have small question of course I don't want to ask for solving my homework, no i'll work on it on my own.

I just need some tips :) please.

I want to make a program that calculate...
Forum: C++ Jan 3rd, 2009
Replies: 6
Views: 493
Posted By Q8iEnG
yeah I guess that's the best, but I said "how about taking a shortcut and ask the guys here! hehehehe :D"

thanks ^^
Forum: C++ Jan 2nd, 2009
Replies: 6
Views: 493
Posted By Q8iEnG
yeah, may be as you said (catch) or may be as I though (exception mechanism), I'll keep both answers, and I'm gonna read the chapter to confirm the correct answer :)

thanks a lot for being on...
Forum: C++ Jan 2nd, 2009
Replies: 6
Views: 493
Posted By Q8iEnG
Well, to be honest I was looking at my book and that question attract me, and now I'm looking for an answer

The question is: "what is the name of all c++ exception handlers?"

the book is called...
Forum: C++ Jan 2nd, 2009
Replies: 6
Views: 493
Posted By Q8iEnG
Hi guys :), long time ^^

I have a question, I hope to get the answer :)

"what is the name of all c++ exception handlers?"


thanks in advance :)
Forum: C++ Jul 19th, 2008
Replies: 2
Views: 668
Posted By Q8iEnG
Well, I guess I found that the AVL is much more faster than BST because if we use AVL we'll get the smallest tree by obtaining it balanced all the way

so the answer would be AVL tree is more...
Forum: C++ Jul 19th, 2008
Replies: 2
Views: 668
Posted By Q8iEnG
Hello :)

Umm I have a small question :)

Which do you recommend for fast searching BST or AVL tree?

My answer: It might be the BST because it'll be noticed that in the right subtree all the...
Forum: C++ Jul 16th, 2008
Replies: 11
Views: 1,715
Posted By Q8iEnG
Ancient Dragon, thanks a lot for the help

if you have time to explain why does this function (insert) worked with integers? and when I used string it doesn't work!!

otherwise, thanks again...
Forum: C++ Jul 15th, 2008
Replies: 11
Views: 1,715
Posted By Q8iEnG
Umm so what do you think I shall do, any suggestions? :\

thanks anyway for the help..
Forum: C++ Jul 15th, 2008
Replies: 11
Views: 1,715
Posted By Q8iEnG
I don't think so my friend, I did tried this program for integers and it does work efficiently

when I change the input to string it doesn't work!! :'(
Forum: C++ Jul 15th, 2008
Replies: 11
Views: 1,715
Posted By Q8iEnG
OMG! my friend you can use any txt file as a sample..

ok ok these are the contents of dictionary.txt
abalone
abandon
abase
abash
abate
abater
abbas
Forum: C++ Jul 15th, 2008
Replies: 11
Views: 1,715
Posted By Q8iEnG
Sorry, I meant the error message this one
http://img353.imageshack.us/img353/4592/60491933en2.jpg

I'm using Microsoft Visual C++
and there's no message for the debug!!

So, is it now clear my...
Forum: C++ Jul 15th, 2008
Replies: 11
Views: 1,715
Posted By Q8iEnG
Hello guys :)

I hope all are alright ;)

I'm using HashTable to make a program that reads a string from a file..
when I run it, it gives me the message of error (Don't Send) << I guess all of...
Forum: C++ Jul 15th, 2008
Replies: 4
Views: 555
Posted By Q8iEnG
Well, I thought it might be correct as the doctor said!,, it doesn't matter lol thanks anyway :D
Forum: C++ Jul 14th, 2008
Replies: 4
Views: 555
Posted By Q8iEnG
Thanks a lot.. so my 1st answer it might be correct, right?

becasue I've heard the Doctor saying that lol xDD


thanks again for the help :)

and thanks for explaining why I can't use the...
Forum: C++ Jul 14th, 2008
Replies: 4
Views: 555
Posted By Q8iEnG
Hi :)

I have a question, if you don't mind =]
(What is the situation where quadratic probing is better than chaining?)

I guess (as I'm thinking)

while searching? maybe? because if the...
Forum: C++ Jul 14th, 2008
Replies: 9
Views: 749
Posted By Q8iEnG
Narue,, thank you so much.. it did came in the midterm and I solve it in the way you said xDD

thank you so much,, (Added Rep for you) :)

++++++++

CoolGamer

I don't think it needs the...
Forum: C++ Jul 14th, 2008
Replies: 13
Views: 1,289
Posted By Q8iEnG
Before buying a book

read this book, if you understand it, then that's ok, if not then try to find a good one to buy
This book is called (Learn C++ in 21 days)
to download it
[link removed]
...
Forum: C++ Jul 13th, 2008
Replies: 9
Views: 749
Posted By Q8iEnG
so you meant, I'll use the code as they're two arrays!!
Forum: C++ Jul 13th, 2008
Replies: 9
Views: 749
Posted By Q8iEnG
Thanks a lot Narue you saved me in some questions I was getting stuck with them xDD

but for my question I didn't figure how to implement the code for TWO singly linked lists :'[

It looks...
Forum: C++ Jul 13th, 2008
Replies: 9
Views: 749
Posted By Q8iEnG
About the rules Yes, I know them

But this is not from my personality to lie at ppl :\

I'll tell the truth that really I don't know anything about the linked lists :\

if I give it a try

I...
Forum: C++ Jul 13th, 2008
Replies: 9
Views: 749
Posted By Q8iEnG
Hi my friends, how do you do?

I hope everything is alright.. :)


Please may I have a few mins. from your time? It'll be much more appreciated :)

I have this question
(Write a member...
Forum: C++ Jul 11th, 2008
Replies: 2
Views: 475
Posted By Q8iEnG
Opps Sorry.. going to try it :)

thanks a lot for reminding me :)

Anyway,, do you thing that the way I implemented the code is good?
Forum: C++ Jul 11th, 2008
Replies: 2
Views: 475
Posted By Q8iEnG
Hi all my friends :)

I hope you're alright.. :)

first of all, I'm doing my assignment *don't worry I'll not ask to solve it :D*

I just got an error, don't know what's the solution for it...
Forum: C++ Jul 9th, 2008
Replies: 13
Views: 2,461
Posted By Q8iEnG
Well, we're not allowed to use the ready made libraries in C++ compiler

we have to write them as Classes :/


Well, I guess, I finished from it.. :)

thanks for all who tried to help :)
Forum: C++ Jul 9th, 2008
Replies: 13
Views: 2,461
Posted By Q8iEnG
Thanks ArKM

but I need to know, how to call a function from a class in another class??

Like if I have a class called Stuck
and another Class called Stuck2

how do I call or make an object to...
Forum: C++ Jul 9th, 2008
Replies: 13
Views: 2,461
Posted By Q8iEnG
By the way, I have now two Stacks
Stack and Stack2

in Stack
I did an object for the Stack2 in one of the Stack member functions
like this
Stack2 go;

why it said undeclared identifier???
Forum: C++ Jul 9th, 2008
Replies: 13
Views: 2,461
Posted By Q8iEnG
Well, please can you explain exactly how to do it with one Stack?

actually the integers should input to a Queue and the operators in Stack

the part for Queue I did it, but I'm waiting for the...
Forum: C++ Jul 9th, 2008
Replies: 13
Views: 2,461
Posted By Q8iEnG
so you meant I should have two Stacks? to do this?
Forum: C++ Jul 9th, 2008
Replies: 13
Views: 2,461
Posted By Q8iEnG
Well, I'm confusing in the part of pushing the +, *, - and / in the stack

how can I push the operators +,-,* and /

according to the stronger like

if the infix given is A + B * C - G

in...
Forum: C++ Jul 9th, 2008
Replies: 13
Views: 2,461
Posted By Q8iEnG
Hi guys :)

I'm just wondering how to start doing this problem?

Converting from Infix notation to Postfix one (Pastfix Calculator)

Of course in C++

using stack!
Forum: C++ Jul 3rd, 2008
Replies: 37
Views: 3,488
Posted By Q8iEnG
The first problem is easy
I'll give you the code for it :)

#include <iostream>
#include <cstdlib>
int main()
{
int A[1000];

// for loop to fill the array with random elements between 1 to...
Forum: C++ Jul 3rd, 2008
Replies: 7
Views: 459
Posted By Q8iEnG
Can you put your code? to see where's the problem
Forum: C++ Jul 3rd, 2008
Replies: 4
Views: 593
Posted By Q8iEnG
Well, thanks a lot for trying to help

I just did create a function, and I implement all things in main into it, so that when the user choose 1, from a switch loop in main, it'll call the function...
Showing results 1 to 40 of 66

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC