- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
9 Posted Topics
Re: Hello, I have done the Radix with queue here you are an example But the queue is my own Queue retrieve: return the first element serve : delete the first element; dequeue: insertlast [code]#include <iostream> using std::cin; using std::cout; using std::endl; #include <cstdlib> #include <ctime> #include "queue.h" #define MAX 11 … | |
Re: Hi If you want the big-Oh then the first one is O(n^2) That what i calculate if you want me to proof it i will But first i will ask my teacher about the first loop... i'm not sure about the first loop the second O(n^2) | |
Re: Hello my poor c++ programmers strcmp take two argument of type char * i.e array of character not char i.e you can compare between char *p = "SADDAM",l= "BOOSH"; cout << strcmp(p,l); i hope you understand this thing | |
Re: Hello my brother there is two way to sort a single linked list First , swapping data but it is unsufficient (( suppose the data is very bug)) Second, swapping pointer is better but it's harder here you are the two ways Swapping the pointers [code]void Sortable_List::sort() { Node *ptr1,*ptr2,*temp,*Imithead1,*Imithead2,*before; … | |
Re: Hello my Friend; i edit your programe and it is working well; but i notice that the average of this board member are very poor you must read any book before beginnig to programming here are you a good book c++ How to Program Dietel There is another thing i … | |
Re: Hello you can use a most c++ powerful operator int a; float numq = 60.7; a = static_cast<int> (num1); i don't now why poeple here don't use a c++ feature the are using a c-style | |
Re: Hello , this was my homework in the past i hope it will help you | |
Re: Hello Why you are using a c-style struct why you are not using a c++ class here you are a good example | |
Hello ; i'm a c++ intermedite programmers from KSU CCIS colleage and i discoverded that i can't write a high quality application without GUI and i want to move to .NET framwork but when i buy a book a say that there is a big difference between them ? is … |
The End.