0

brand new to CS50, but not computers etc. Have installed VMware player under windows 7 and installed Appliance 19. See "Initial Screen.png" Then Play Virtual Machine. After numerous error messages I get to the request to update Linux tools which I accept. See "Tools Update.png". Eventually get the CS50 Registration screen. See "Registration Choice.png". Select edX and then get login screen. See "Login Screen.png". Unfortunately that's it. Won't accept keyboard input although the mouse works fine. I can compile and run the source under windows but that appears to introduce it's own problems. I am using Codeblocks IDE and hello.c compiles and runs perfectly. hello-1.c with #include "CS50.h" also compiles and runs. But, hello-2.c with #include "CS50.h" fails with "undefind reference to 'GetString', see Compile Error.png". CS50.h is being included ok so at a loss. Please help

5
  • Have you tried to unplug and replug the keyboard? Maybe plug it into another USB port? – Kareem Jun 20 '14 at 11:47
  • Hmmm, whats "Initial Screen.png" ? – Nib Jun 20 '14 at 12:06
  • Your question doesn't appear to be well explained, care to explain a little better ? – Nib Jun 20 '14 at 12:11
  • The machine is a laptop so no seperate keyboard. – Steve Jun 20 '14 at 12:33
  • As far as the .png files, I screen captured the output at each stage, but stupidly forgot to include the images. Doh!. – Steve Jun 20 '14 at 12:34
0

For the issues with the cs50 library, you must have it installed on Windows in order to be able to use its contents. You may follow the instructions here to install the cs50 library on Windows! Also, the declaration file is named cs50.h not CS50.h

2
  • Hi Kareem, thanks for answering, but yes I now all that. VMware and appliance are installed. CS50.zip was downloaded and installed in my source directory. As I stated in the query cs50.h is include correctly. I use CS50 purely for typo reasons. The actual code is correct. – Steve Jun 20 '14 at 12:23
  • I'm sorry if I couldn't help, but that's all what I get about the cs50 library installation on Windows! – Kareem Jun 20 '14 at 12:27
0

From VMWare site:

Force Virtual Machines to Grab Keyboard and Mouse Input

You can set the virtual machine to grab mouse and keyboard input. When input is grabbed, the mouse pointer is confined to the virtual machine window, and all keyboard and mouse input is directed to the virtual machine.

Ordinarily, with VMware Tools installed, when you click in the virtual machine, VMware Fusion directs keyboard and mouse input to the virtual machine. When you click on your Mac desktop, keyboard and mouse input is directed to your Mac host. You can force all input to the virtual machine.

Procedure

Force a virtual machine to grab keyboard and mouse input:

On the keyboard, press Ctrl+G.

Force a virtual machine to release keyboard and mouse input:

On the keyboard, press Ctrl+.

Reference article here: http://pubs.vmware.com/fusion-6/index.jsp?topic=%2Fcom.vmware.fusion.help.doc%2FGUID-8905F215-ED84-4C5D-80A9-C372670321FC.html

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .