Type: Posts; User: loves_oi
Search took 0.01 seconds.
November 9th, 2012, 01:16 PM
I'm using cout to print lots of lines. But i want to put together them in one variable etc. Then , i want to print it.
I think i can do it with ostream but I cant do it . Is there anybody to give...
September 23rd, 2012, 06:33 AM
Convert(const T& tData = T()) : data(tData)
bool IsEqualTo( const C& other ) const
November 6th, 2011, 06:14 AM
I have the below main .
Product p1("makarna", "gida", 1,9 );
Product p2("peynir", "gida", 3,4 );
Product p3("peynir", "gida", 3,10 );
November 5th, 2011, 03:08 AM
this is my header file
using namespace std;
October 29th, 2011, 03:44 PM
i spend one hour for it . But i forgot a small point :( i found thanks to God. I forgot including Product class. After including, it worked. Thanks for your interest
October 29th, 2011, 02:23 PM
Product Store::getProduct(int index)
for ( it=(this->availableProducts.begin()) ; it < (this->availableProducts.end()); it++,indexim++ )
October 20th, 2011, 09:24 AM
This is the header and it's forbidden to make any change in header.
October 20th, 2011, 09:17 AM
no,there arent. all is mutator
October 20th, 2011, 09:01 AM
Ok. second option is worked. BUt now i want to reach shoppingList vector.It's type of productClass
and Product class is
October 20th, 2011, 07:43 AM
class Order /* It is forbidden to change here*/
October 20th, 2011, 05:40 AM
ok. then how can i print the items which exist in the vector with the help of a function?
October 19th, 2011, 04:03 PM
August 23rd, 2011, 05:24 PM
ok. I understand. Thanks a lot.
August 23rd, 2011, 08:32 AM
Interestingly , No it is not a mistake .When i compile and run with this:
memcpy(snacks.ncandy.bar_name, &MyChocolate, sizeof(candybar));
August 23rd, 2011, 02:25 AM
August 22nd, 2011, 05:47 PM
I study the code which is Paul McKenzie's last post and add only couts at last. That's it:
using namespace std;
August 22nd, 2011, 04:36 PM
Thanks for all replies . You informed me very well.
August 21st, 2011, 08:15 AM
No , it shouldn't because in my first thread(i copy paste below) , p is an allocated pointer and q is not an allocated pointer. Both of them doesn't equal Null when i run the program.The output is...
August 21st, 2011, 07:33 AM
I am trying to understand this code.I find it from the web and copy paste directly. The comments are not mine.
I want you to focus on insert function firstly.
int create(struct node *p, int...
August 21st, 2011, 07:15 AM
I understand in this way from your words:
We take space from memory randomly. Thus p is most probably Not NULL but it can be Null ( the possibility of being Null is very low) .
August 21st, 2011, 06:44 AM
struct node *next;
April 5th, 2011, 02:48 AM
the first one doesn't change the value of myKnap.W .
i have tried the second one and fixed some deficient point in your code. It should be correct.
using namespace std;...
April 5th, 2011, 02:15 AM
If you mention about data structures in C++,i recommend you the book: DATA STRUCTURES AND ALGORITHM ANALYSIS IN C++. By MARK ALLEN WEISS
April 4th, 2011, 11:42 AM
Why don't we use in this way??
// definition of template class member function
template <class T>
T mypair::getmax() const
April 4th, 2011, 05:43 AM
OK.But i couldn't any example - any code which has ostream??Could you clarify and show it with an easy example??
Click Here to Expand Forum to Full Width