+ 11

FIRST & FOLLOW

I have made a program to compute FIRST & FOLLOW(Compiler Design) of given production rules. I am facing few problems, I am getting SIGSEV error while I am compiling the code in an online ide - jdoodle (I am quite lucky that I am not getting this error on SoloLearn ide) and if I comment or remove line number 154 then the program is not running on codeblocks, I literally have no idea why this is happening how can the absence of cout at that point is changing the working of the program. Any advice on how I can fix these errors? P. S. : Any kind of advice/review about the code is appreciated. Thank you! Code: https://code.sololearn.com/cGmNIfA0tR65/?ref=app

25th Aug 2018, 6:01 PM
Agnibha Chakraborty
Agnibha Chakraborty - avatar
6 Respostas
+ 7
I can't comment when I haven't seen the result. But I tried in jdoodle and there no option to paste your code!
26th Aug 2018, 6:10 PM
Roneel
Roneel - avatar
+ 2
Here is another good online C++ IDE and compiler that uses an interactive console for input. That might be helpful. Not sure what a first and follow is, so can’t be much help with that. https://www.onlinegdb.com/online_c++_compiler
26th Aug 2018, 7:45 PM
Parker king
Parker king - avatar
+ 2
l undersand what is C++
26th Aug 2018, 7:56 PM
Slavik Gorbunov
Slavik Gorbunov - avatar
+ 1
C++ =C# ???
26th Aug 2018, 7:44 PM
Slavik Gorbunov
Slavik Gorbunov - avatar
+ 1
Thanks,I'm justa deginner.
26th Aug 2018, 7:50 PM
Slavik Gorbunov
Slavik Gorbunov - avatar
+ 1
Wath C++.
26th Aug 2018, 7:53 PM
Slavik Gorbunov
Slavik Gorbunov - avatar