Puoi usare odbc. Ti consiglio di non usare Dev-C++, è un progetto morto che funziona davvero molto male.