+ 10

Stack implementation error

Hello guys, I have coded a program for stack implementation using array. Here it is working perfectly fine, but it is giving an error in code::blocks. The error is stated as follows: sh: 1: Syntax error: “(“ unexpected I have checked this code thrice and still unable to figure out what is wrong. If anyone can help it would be great. https://code.sololearn.com/c351f1ElyFCS/?ref=app

26th May 2019, 10:36 AM
Night_fury~
Night_fury~ - avatar
2 Respostas
+ 8
when I run this code it gives sh: 1:Syntax error:”(“ unexpected [in console window], maybe it is my compilers fault 🤔
26th May 2019, 2:34 PM
Night_fury~
Night_fury~ - avatar
+ 2
I just run the code. Look fine for me. Looka like it was a simple syntax error or?
26th May 2019, 12:01 PM
Thomas Wittek
Thomas Wittek - avatar