hi everybody,
I've got some troubles in C and i need your help
In C: (test.c)
Suppose i include <unistd.h> and i call function "open" ==>> it run OK
In C++: (test.cpp)
I'm using a framework (e.g. RTM) which is function "open" has already in it.
My problem is: althought i include <unistd.h> , but every time i call function "open" in test.cpp will show an error such as "no matching function for call to test::open()"
I suppose the compiler doesn't understand the function "open" should be call in <unistd.h> library.
Is there the way to solve it?
any help will be appreciate!
gackiem.
gackiem 0 Newbie Poster
shrikant telkar -1 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
gackiem 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.