[cs13001] Questions

Mikhail Nesterenko mikhail at cs.kent.edu
Thu Apr 21 11:45:39 EDT 2016



> The wording on question 7 of quiz:
> " p is a pointer to type int"
> 1. How can I tell whether it means p is a pointer to a variable of type
> integer or a pointer to an array of type integer?

you cannot. A pointer can point to either a scalar variable and an
array and there is no way to syntactically differentiate the two
cases. The differentiation has to come from the program
structure. Meaning that the programmer has to keep track of the
pointers and the memory locations they are pointing to.

> 2. lab 12: How can i start working on it? I think I can not write my code
> in VS and have to wait to do it in lab in nano or other unix editor because
> i do not have a unix on my own computer.

Carefully read the instructions here:

  http://vega.cs.kent.edu/~mikhail/classes/csi/Labs/Unix/tutorial.html

Specifically, the "Connecting" section. You need to install a (Windows)
client program to connect to a departmental Unix server.

thanks,
--
Mikhail


More information about the cs13001 mailing list