|
|
"jr" <cre### [at] gmailcom> wrote:
> ...
> jr@crow:2:tmp$ cat mr.c
> #include <stdio.h>
> int main(void) {
> ssize_t a, b, c;
> a = -1, b = 0, c = 1;
> printf("ssize_t vals: %zd %zd %zd\n", a, b, c);
> return 0;
> }
> ...
and, although I don't "speak" C++, I was able to confirm that it should work if
you include 'stdio.h'.
jr@crow:6:tmp$ c### [at] mrcpp
#include <iostream>
#include <stdio.h>
int main(void) {
ssize_t a, b, c;
a = -1, b = 0, c = 1;
std::cout << "ssize_t vals:" << a << " " << b << " " << c << "\n";
return 0;
}
jr@crow:7:tmp$ c++ mr.cpp
jr@crow:8:tmp$ ./a.out
ssize_t vals:-1 0 1
jr@crow:9:tmp$
regards, jr.
Post a reply to this message
|
|