9 lines
1013 B
Markdown
9 lines
1013 B
Markdown
Použitý AI model: Google Gemini a ChatGPT (individualne)
|
|
|
|
Prompty: 1. ,,I have this line of code for calculating two numbers and I am getting bogus 6 digit numbers when trying to calculate them (i debugged the numbers individually with multiple printf() statements)" *skopirujem mu moj kod na citanie
|
|
,,Can I declare multiple char[] arrays at once in a single statement like this? char num1Temp[10], num2Temp[10], resultTemp[10];"
|
|
,,What characters does the ispunct() function return"
|
|
,,given that ispunct() function returns these values, does the same return logic apply to the rest of 'is...' functions in the ctype library"?
|
|
,,Could you give me a float equivalent of the atoi() function?"
|
|
,,Why does strtof() return an invalid float number like this?" *poslem mu screenshot vystupu na ktory som si dal vytlacit vstup*
|
|
,,Could you explain to me this error please?" *poslem mu screenshot erroru, kde som nespravne castoval, resp. passoval do strtof() funkcie smerník a nechcel sa mi program prelozit*, |