Search Results

Search: Posts Made By: shetlandbob
Forum: Programming 02-19-2004
3,391
Posted By shetlandbob
I've done this in C++ using a system command ...
I've done this in C++ using a system command

mailx -s SUBJECT yourname@yourE-MailAddress < logFile

write the above code into a char string then use:

system ( command );

in your code, the...
Forum: Programming 02-19-2004
26,297
Posted By shetlandbob
Thanks for the help, I found what the problem was...
Thanks for the help, I found what the problem was and for any future reference I have described it below:

In my header file I have a section the "ifdef OSF Platform" then add in extra defines that...
Forum: Programming 02-19-2004
26,297
Posted By shetlandbob
It says that usleep is not defined i.e. line...
It says that usleep is not defined
i.e.
line 1690: identifier "usleep" is undefined
usleep ( 500000 );

if I define it as an int then it compiles but the process does not actually sleep.
Forum: Programming 02-19-2004
26,297
Posted By shetlandbob
using usleep in c++ on diff platforms
Hi,

I'm using the command usleep (500000) when compiling C++ on the SunOS platform, but it does not compile on a OSF1 platform?
Any ideas?

Thanks
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 09:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy