Hi,

Iam very much new to programming and C++
please help me

I have an application that uses socket++ classes on Unix (AIX) environment
I have included #include<sockinet.h> in two of my .cpp files
and I have socket++ source in my temp directory

when iam trying to compile my application using the makefile, the error shown is The #include file "sockinet.h" is not found.

I dont know how to make my application to use socket++ classes
I know that we have to include something in the makefile, but dont know how to do it
Please suggest me

Thanks & Regards
Vadan

somewhere in the program settings you can go to includes and it will say additional includes and put the directory of your temp file in there. same with library files. I only know dev c++ so dont know how to do it on other compilers

use the -I keyboard in makefile to designate additional include directoies -I/usr/include/mydir Similar for library paths, but use -L instead of -I

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.