Questions tagged [error-handling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
4k views

pset2 vigenere error "incompatible integer to pointer conversion"

This is the error I get: vigenere.c:34:34: error: incompatible integer to pointer conversion passing 'char' to parameter of type 'const char *'; take the address with & [-Werror,-Wint-...
1
vote
1answer
92 views

What does the try and catch block do inside query()?

In the distribution code of pset7, there is a file functions.php containing the function query(). In this function there is a try block followed by a catch block; what purpose do they serve?