2004/7/2-3 [Computer/SW/Languages/C_Cplusplus] UID:31149 Activity:moderate | 7/2 Is this valid C++ code? It works for gcc but in VxWorks the array
is initialized to { 0, 0 }. Just out of curiosity/bitterness. tia.
#define IN_Q 0
#define OUT_Q 1
int foo () {
int queueTypes[] = { IN_Q, OUT_Q };
...
|
2004/5/6 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Compilers] UID:30054 Activity:moderate | 5/6 I'm trying to use "#define errno WSAGetLastError()" in a winsock
file, but the compiler says errno is already #def'ed. I can't
just run cpp on the file--it's a crappy ide-based compiler--so
I'd like to do something like printf("errno"), but of course that
just prints "errno" instead of the preprocessor's notion of what
errno is #def'ed to. What should I do instead?
...
|
2004/2/24-25 [Computer/SW/Languages/Perl] UID:12378 Activity:nil | 2/23 I need to come up with some sort of scriptable solution for controlling
various hardware-- we already have an interface that accepts
string-based commands over a socket, but no way to control it via script
(e.g. with variables, if/then/else/while, error recover/reporting).
Would perl be good for this sort of thing, or are there simpler, more
focused languages/modules available?
...
|
2003/11/19-20 [Computer/SW/OS/Misc] UID:11140 Activity:low | 11/19 Anybody write code (or know people who write code) that go into
airplanes, guided missiles, or satellites, etc? Code that just HAS
to work 100% of the time? I'm wondering about what kind of
OS they use (if any) or how exactly they write such code. Any
documented procedure online? Thanks.
\_ APL and no stupid "we'll just patch it later" testing.
...
|
2003/4/27-28 [Computer/SW/Languages/C_Cplusplus] UID:28238 Activity:kinda low | 4/28 Too many political trolls, so here's a computer one:
Ok... how did sodans/calgrads start up on learning COM/MFC?
Learning things like VxWorks, RogueWave and J2EE was pretty easy
given my Cal background, but Win32 has always eluded me. MFC looks
big an hairy, and COM doesn't seem too much friendlier. That said,
C# looks to be pretty easy to pick up... although I'd be more
...
|
2001/2/24 [Computer/SW/OS/Solaris] UID:20671 Activity:very high | 2/23 I'm looking for examples of a company successfully rewriting an OS.
Like Sun transitioned from 4.1.3 -> Solaris. This transition has to
happen while the company is still developing features and pushing the
old OS. How many times have a massive SW development effort like this
succeeded? Thanks.
\_ Windows to NT.
...
|
2000/4/19-20 [Computer/SW/OS/Misc, Computer/SW/Unix] UID:18060 Activity:nil | 4/18 Does anyone know how to configure vxWorks to boot using bootp
instead of ftp or rsh? URL is fine. BTW, I'm using Sol2.6/2.7
as my bootp server.
\_ do you just want to configure or are you a code developer?
How about using "vwman" or read the manual? Perhaps change
the boot parameters too?
...
|
2000/2/1 [Transportation/Airplane, Computer/SW/OS/Linux] UID:17393 Activity:insanely high | 2/1 Gee, how many planes have crashed in the past 12 months? Seems like
it has happened much more frequently than before.
\_ No more so than usual and still far less than linux boxes crash
going by the numbers. I'd rather fly than use linux.
\_ Oh, this is utter bullshit. In last two years only two Linux
boxes crashed on me and it was because of either hardware
...
|
|