Thanks for your reply "vampirekid.13". I have added cin.get(); after every cin >> and it works perfectly now.Thanks again everybody for your help.
Type: Posts; User: dinamit875
Thanks for your reply "vampirekid.13". I have added cin.get(); after every cin >> and it works perfectly now.Thanks again everybody for your help.
thats what it does, it just finishes execution and closes the window. But it supposed to show the results(output) for some reason it doesn't.If any one have some solution to it, please helppppp....
the code itself is ok, it crashes on the following line:
mergesort(A, B, C, m, n);
cout << "\n------The result of your sorted arrays is----" << endl;
for (i=0; i<m+n; i++)
...
Hi! I have written the following piece of code, it compiles and works fine, i can enter data in it, but the proble is: when i am tryng to dusplay entered data(numbers in my case) it crashes. I thnks...
Thanks for your help everyone!
I have changed my code as you have posted:
now i have:
[QUOTE=anon;857312]
public:
LinearQueue();
I think i doesn't , can you tell me please what kind of construct should it be and where should i put it in the code?Thanks
Thanks! I did basic C++ 2 years ago. Those lines of code that you have highlighted are not causing the problem, but thanks anyway. When i am trying to debug it gives me the message and it is said...
Hi folks! I have written one program, which works ok, compiles etc. But I have one problem with it: when i am trying to debug it i am getting the following error: "access violation segmentation fault...