Hello,
Does linux automatically link lsocket if you are using it in a program?
I ask because I can compile my program and it works fine using:
#g++ wisdom.cc
but im supposed to use a make...
Type: Posts; User: frontz
Hello,
Does linux automatically link lsocket if you are using it in a program?
I ask because I can compile my program and it works fine using:
#g++ wisdom.cc
but im supposed to use a make...
g++ program.cc -lposix4 -lpthre
/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../../i586-suse-linux/bin/ld: cannot find -lposix4
collect2: ld returned 1 exit status
I assume I probably need to...
Thanks for the help, I think im on the right track now.
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
void convert();
int main(int argc, char* argv[]){
convert(argc,argv);
return 0;
}
Im having trouble dealing with a program that takes multiple inputs (which can be a character, decimal, octal, hex) in any order. finding out if the input is a character or a digit.
When using...