I tried to start learning C and I got this error
have been learning programming for several years and wanted to try C. However, I ran into a problem while compiling the code. I would appreciate any attempt to help.Error. I don’t know how to add code image because when i am addning new its replaces old.
Not including a printf statement cause C compiler to give an error
I have just started to learn C after a long time (briefly learnt it during school but mostly forgot everything since then). Anyways I just wrote a simple program to calculate simple interest.
invalid conversion from ‘const T*’ to ‘T*’ using type aliases
I’m using the type aliases for pointer
and const pointer
and I don’t understand why there is difference between returning a cost pointer
and a const_pointer
.
invalid conversion from ‘const T*’ to ‘T*’ using type aliases
I’m using the type aliases for pointer
and const pointer
and I don’t understand why there is difference between returning a cost pointer
and a const_pointer
.
c++ compilation problem or syntax error of struct
I wrote a code thay contain a part like below :
compile files failed when .h and .cpp in different folders
I am a beginner in C++. I have my header files and source files stored in different folders as shown below. When I try to compile, I am unable to compile successfully.