No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
i have sorting program, it works well when coded in simple way but when used recursion it give the floating exception (core dumped), it have tries to debug and it show error in the division stage, it tires to do typecasting also, but does not work out for recursion [code=c++] … | |
hi i have used the template in my simulation program but it generate the error, my program line of code that generate the error is (these code are in queue.template file) template <class QueueItem> queue <QueueItem>::~queue() // [B]line25[/B] { } template <class QueueItem> void queue<QueueItem>::push(const QueueItem& entry) //[B]line 42[/B] { … | |
I have a header file : abc.h and abc.template file and i want to use the template feature, how can i modfiy following program to change it completely in template abc.h file have [code=cplusplus] #idndef d_h #define d_h # include header files - cstdlib, iostream and string namespace xyz { … | |
i sloved the previous problem and got the new problem now, i have three file header file where i define the function prototype and the other implementaion file for the function body and other one is the test file which takes input for the implementation file i have a function … | |
I try to use the getline function, it works in simple program and accepts the input from user but when i try to use inside the do while loop, it just escape the line and shows that there is null input. cin works fine, case 1: cl.append(Cb("abc",false)); cout << "text"; … |
The End.