No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
two error come of (strcpy was not declare in this scope) would any one show me, hw to remove this error, ... plz Project Title: Student Record & Registration using Linked list Description: This project is a Linked List application. If you would like to refresh you knowledge about linked … |
|
in my program, in insert function: void apple :: insert(string s, int a) { node *ptr; ptr = new node; strcpy(ptr->name, s); ptr->price = a; ptr->next=head; head=ptr; } this is acctually i want to do strcpy(ptr->name, s); but error is: cannot convert std::string {aka std::basic_string<char>} to char* for argument 1 … |
|
would any one give me idea or code about how to make a binary search tree of apple Ltd products prices. suppose products are: macbook i3, macbook i5, macbook i7, iphone 3g, iphone 3gs, iphone 4, iphone 4s, iphone 5, iphone 5s, iphone 5c, ipand 2, ipad mini. |