'programming'에 해당되는 글 2건
- 2011.06.04 Set Path in programming
- 2011.06.01 Web sites related with programming
*'\' ( backslash )
- escape sequence (ex. \n : Line Feed(change the line), \r : carriage return)
- the character to express special character (ex. \\ : express the special character '\'(backslash))
- separate directory in 'Windows API' (c:\work\test.dat)
(In Windows programming, you have to write down like this c:\\work\\test.dat. Because \(backslash) is a special character)
(In Windows programming, you can also use /(slash) "c:/work/test.dat")
*'/' : slash
- separate directory in 'Linux' or 'Windows Programming'
- comment in Windows Programming (ex. // : Don't extract this line)
< Ubuntu(Linux) >
*Relative path
- Reference point : working directory
- . : current folder
- .. : upper folder
ex) Eigen/math (Eigen is the name of the folder which located in working directory. 'math' is also the name of the folder.)
*Absolute path
- Write down the path from the first prat of the file system
- The first part of the Ubuntu's file system is '/'
ex) /home/Eigen
<Visual Studio(Windows)>
- In 'Visual Studio', you can use both '/' and '\\'.
- escape sequence (ex. \n : Line Feed(change the line), \r : carriage return)
- the character to express special character (ex. \\ : express the special character '\'(backslash))
- separate directory in 'Windows API' (c:\work\test.dat)
(In Windows programming, you have to write down like this c:\\work\\test.dat. Because \(backslash) is a special character)
(In Windows programming, you can also use /(slash) "c:/work/test.dat")
*'/' : slash
- separate directory in 'Linux' or 'Windows Programming'
- comment in Windows Programming (ex. // : Don't extract this line)
< Ubuntu(Linux) >
*Relative path
- Reference point : working directory
- . : current folder
- .. : upper folder
ex) Eigen/math (Eigen is the name of the folder which located in working directory. 'math' is also the name of the folder.)
*Absolute path
- Write down the path from the first prat of the file system
- The first part of the Ubuntu's file system is '/'
ex) /home/Eigen
<Visual Studio(Windows)>
- In 'Visual Studio', you can use both '/' and '\\'.
'Programming Works' 카테고리의 다른 글
Web sites related with programming (0) | 2011.06.01 |
---|---|
Ubuntu's internet setting (0) | 2011.05.20 |
Installation of Ubuntu on Windows Environment (0) | 2011.05.20 |
* C++.com : http://www.cplusplus.com/
* Win32 Api (Korean site) : http://www.winapi.co.kr/
* Numerical Recipes (search various source code) : http://www.nr.com/
* Eigen (Math Library) : http://eigen.tuxfamily.org/index.php?title=Main_Page
'Programming Works' 카테고리의 다른 글
Set Path in programming (0) | 2011.06.04 |
---|---|
Ubuntu's internet setting (0) | 2011.05.20 |
Installation of Ubuntu on Windows Environment (0) | 2011.05.20 |