Date: Wed, 10 Sep 2003 11:26:12 From: s0------@monmouth.edu To: rclayton@monmouth.edu Subject: using send-files I couldn't get send-files to work. exit
Date: Wed, 10 Sep 2003 11:32:36 From: s0------@monmouth.edu To: rclayton@monmouth.edu Subject: I can't get send-files to work I was trying to send the program from rockhopper while telnetting in. Does it have to be sent from an on campus machine? I followed the instructions on the assignment page: send-files -a 1 -s 305lab1a.cc It says it can't find "send-files".
Date: Mon, 8 Sep 2003 12:40:24 Subject: assignment 1 From: s0------@monmouth.edu To: rclayton@monmouth.edu I was trying to view the get() in the directory "/export/home/class/cs-305/pa1a" and it said it wasn't there. Also I had a question on the assignment with it are we supposed to have it look, for example "something.html" or "something"? that's assuming that WWW preceds the string.
Date: 10 Sep 2003 10:53:39 From: rclayton@monmouth.edu To: s0------@monmouth.edu Subject: Re: Turn in process I am having trouble with the turn in script, i have tried various combinations of -an with parenthesis and without, with spaces and without, however i continue to get an error. Stare at the assignment page until you understand which assignment it is you're turning in.
-a
options you used?
#include <iostream> int f (unsigned int a) { return --a; } int f (int a) { return a++; } int main() { std::cout << f(5); }
Why does this program output 6
?
f(static_cast<unsigned int>(5));
u
suffix.
f(5u);
const unsigned int i = 5; f(i);
g++
and Forte CC
produce errors when compiling f(3000000000);
$ CC -c t.cc "t.cc", line 7: Error: Overloading ambiguity between "f(unsigned)" and "f(int)". 1 Error(s) detected. $
int f(unsigned a) { return --a; }
a
is zero, the value
--a
is undefined (that is,
implementation independent).
This page last modified on 11 September 2003.