270 likes | 410 Views
Preparing the environment and writing first program. Introduction to Computers and Programming Professor: Hsu- Feng Hsiao ( hillhsiao@cs.nctu.edu.tw ) TAs: 陳羿 丞 許 芷瑜 曾冠儒 杜 斐 利 [Philip Tovstogan ]. How to access NCTU FTP. Connect to FTP server of NCTU: Server: ca.nctu.edu.tw
E N D
Preparing the environment and writing first program Introduction to Computers and Programming Professor: Hsu-FengHsiao (hillhsiao@cs.nctu.edu.tw) TAs: 陳羿丞 許芷瑜 曾冠儒 杜斐利[Philip Tovstogan]
How to access NCTU FTP • Connect to FTP server of NCTU: • Server: ca.nctu.edu.tw • Username: u<STUDENT_ID> (e.g. u0160817) • Password: your D2 NCTU e-mail account password • You can use any FTP client • FileZilla (opensource) - http://filezilla-project.org/ • Mozilla Firefox • ...
Downloading VS setup File • File location • /Visual_Studio/For_Windows/English/Visual_Studio_2010/(E)Visual_Studio_Ultimate_2010.iso • Use any virtual disk software to mount it • Daemon Tools Lite • (http://www.daemon-tools.cc/eng/products/dtLite) • etc. • Follow instructions to install
Dev C++ Setup • Go to Dev C++ website for download • http://www.bloodshed.net/dev/devcpp.html • Follow instructions to install
Code #include <stdio.h> intmain() { printf("Hello, World!\n"); return 0; } • Visual Studio • Dev C++ #include <stdio.h> #include <stdlib.h> int main() { printf("Hello, World!\n"); system("PAUSE"); return 0; }