+ 1
(C++)Help! Why this code is running with error?
code: https://code.sololearn.com/c744Ygo4hZwh/?ref=app https://code.sololearn.com/cCr1NdMwwXeF/?ref=app https://code.sololearn.com/cp1ZrfRZbRmz/?ref=app error: Segmentation fault why this error occurred? how to fix it? edit: the error is in processor.h. i dont know why, when "if (brand == "AMD")" executed, the error occurred
33 Réponses
+ 3
@saurabh
its a program to debug your c/c++ program in linux/gnu.
+ 3
I don't know much about it but it says
compiler version g++ 6.3.0
+ 3
thnx @Jamie,@Kevin and @ace😄
+ 2
https://code.sololearn.com/cE71gnE4HqF3/?ref=app
this one included too
+ 2
@jamie
yap yap yap
+ 2
good refrence
+ 2
what is a gdb
+ 2
whoa!! sounds gud
cant it be used in windows or android??
+ 2
one more question??
as I m a beginner
should I learn it?
+ 2
you must learn it. its important
+ 1
in computer. with gcc
+ 1
@Ace
yeah im trying with gdb here. but im little confuse. (still noob with gdb)
+ 1
i cant believe it. you right jamie. are you using gdb?
+ 1
@ace
good advice.
+ 1
@ace and @jamie
thanks for help and advice.
i almost delete this project because frustrated
+ 1
gdb is something new for me. i will learn more debugging with gdb
0
:v