2013/4/29-5/18 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Compilers] UID:54665 Activity:nil | 4/29 Why were C and Java designed to require "break;" statements for a
"case" section to terminate rather than falling-through to the next
section? 99% of the time poeple want a "case" section to terminate.
In fact some compilers issue warning if there is no "break;" statement
in a "case" section. Why not just design the languages to have
termination as the default behavior, and provide a "fallthru;"
...
|
2011/3/7-4/20 [Computer/SW/Languages/C_Cplusplus] UID:54056 Activity:nil | 3/7 I have a C question. I have the following source code in two identical
files t.c and t.cpp:
#include <stdlib.h>
int main(int argc, char *argv[]) {
const char * const * p1;
const char * * p2;
...
|
2010/8/8-9/7 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Languages/Web] UID:53914 Activity:nil | 8/8 Trying to make a list of interesting features languages have
touted as this whole PL field comes around, trying to see if they
have basis in the culture of the time: feel free to add some/dispute
1970 C, "portability"
1980 C++, classes, oop, iterators, streams, functors, templates
expert systems
...
|
2010/3/7-30 [Computer/SW/Languages] UID:53743 Activity:nil | 3/7 My sister is graduating soon with a decree in information management.
She was orignally CS, but couldn't cut the math, so her GPA sucks.
However, she has had a couple of internships and did fine. She did
desktop support at RockYou and is currently doing web programming
at UC Santa Cruz, but they can't keep her on after graduation.
Anyone got any jobs? She wanted to be a network admin, but right now
...
|
2009/8/7-14 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Languages/Java] UID:53252 Activity:high | 8/6 In C one can do "typedef int my_index_t;". What's the equivalent in
C#? Thanks.
\_ C#? Are you serious? Is this what the class of 2009 learn?
\_ No. I have to learn .NET code at work. I am Class of '93.
\_ python is what 2009 learns, see the motd thread about recent
cal courses and languages
...
|
2009/4/30-5/6 [Computer/Theory] UID:52923 Activity:nil | 4/30 Sorting question! I have n sorted arrays of doubles. What's the
fastest way to sort them into 1 big sorted array?
\_ as mentioned below: you are describing one half of mergesort
\_ You really have to ask this question?
\_ You don't know either, huh?
\_ If three are n sorted arrays of m doubles each, I think the fastest
...
|
2009/4/5-5/3 [Computer/SW/Languages, Computer/HW/Drives] UID:52801 Activity:nil | 4/5 Tuesday at 10:00PM I will be taking down Soda temporarily to migrate
disk arrays. This is an expected part of our move to the new server.
The downtime should be minimal - I'll be remounting /home read-only
for an hour or so while I run a final mirror over to the new array
and then will reboot Soda onto the new array. The final migration
will come at a slightly later time - this is in preparation for
...
|
2012/8/29-11/7 [Computer/SW/Security] UID:54467 Activity:nil | 8/29 There was once a CSUA web page which runs an SSH client for logging
on to soda. Does that page still exist? Can someone remind me of the
URL please? Thx.
\_ what do you mean? instruction on how to ssh into soda?
\_ No I think he means the ssh applet, which, iirc, was an applet
that implemented an ssh v1 client. I think this page went away
...
|
2012/8/16-10/17 [Computer/SW/SpamAssassin] UID:54458 Activity:nil | 8/16 Why does my Y! mail account always full of unfiltered spam
mails (and they're obviously spams)? Why can't they do
a better job like Google mail? Why does Y! mail charge
for exporting email? Google mail doesn't do that.
...
|
|