I have a variable that holds a number:
my $num = 0;
I want to write that number to a file such that 0 (NULL) shows up in the file rather than it's ascii value (0x30 or 48) ... I'm making a binary file, not a text file.
I've tried the following:
open FILE, ">", "test.bin"
printf FILE "%c"...
Please consider the following code:
int main (int argc, char *argv[])
{
char s1[9] = "abcdefghi";
int length = sizeof(s1);
printf("Size of s1: %d\n", length);
rev1(s1);
}
void rev1(char *s)
{
int length = sizeof(s)
printf("Size of s: %d\n", length);
}
When I run this...
I've setup a fairly basic postfix mail server.
To test it out I've been sending/receiving from my gmail account. I can send from my gmail account and receive it just fine.
But when I try to send from my mail server to my gmail account I get the following in my log:
0C06F14FF85B...
This is my first time installing openbsd.
I'm trying to install openbsd3.9 so I used the image file cd39.iso and burnt that to a cd.
So the install goes fine, network card is setup and working fine and I'm at the "install sets" section. So I choose the only cd drive I have in the system, it...
When users login to OWA (outlook web access) and schedule an appointment you have the option of adding users and resources.
Users (there are both required and optional) will be emailed about the appointment but resources should not be emailed.
Problem is, the resources that are selected are...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.