Error while compiling VS 2005

Pernah mengalami error d:\research\graph1.0\graph\coords.cpp(107) : error C2668: 'log' : ambiguous call to overloaded function ??,

jika ya, ubah function-function yang mengandung function log() menjadi log((double))

contoh : a = log(x)+log(10); menjadi a = log((double)x)+log(10.)

Advertisements

One thought on “Error while compiling VS 2005

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s