블로그
-
Java StringTokenizer과 split 각각의 단어 토콘을 분리
StringTokenizer st = new StringTokenizer("this is a test"); while (st.hasMoreTokens()) { System.out.println (st.nextToken()); } 결과 : this is a test String[] result = "this is a test".split("\\s"); for (int x=0
blog.naver.com · 2014.10.16
-
[JQuery] Select Box 제어
선택된 위치 var index = $("#test option").index($("#test option:selected")); 4. Replace all the options with new options .......
blog.naver.com · 2014.09.12
-
[MFC] 유니코드로 파일을 쓸 때 깨지는 현상 해결
=> CStringA ascllstr = CW2A(str); 참고> CString str; str.Format(_T("Test String")); CStringA ascllstr = CW2A(str); // 변환 CFile *file = new CFile(Path, CFile::modeCreate | CFile::modeWrite); file->Write
blog.naver.com · 2014.06.18
-
[영진전문대학 컴퓨터정보계열] 애플릿
extends JApplet implements ActionListener { JTextField f; JTextArea a; public void init() { f = new JTextField(); a = new JTextArea(); setLayout(new BorderLayout()); add(f,BorderLayout.SOUTH); add(a,BorderLayout.CENTER
blog.naver.com · 2013.12.02
-
[영진전문대학 컴퓨터정보계열] 입출력 - input output에 복사
java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; public class test FileInputStream("input.txt"); out = new FileOutputStream("output.txt"); int c; while((c = in.read())
blog.naver.com · 2013.11.04
-
날짜 계산
import java.text.SimpleDateFormat; import java.util.Date; import java.util.Calendar; public class Test static void main(String[] args) { try { String dateString = "200906090200"; SimpleDateFormat formatter = new
blog.naver.com · 2013.09.16
-
2013년 8월 20일 오전 9시 43분에 저장한 글입니다.
up its latest hit2013.08.19.cnet5YouTube app for Android gets multitasking, playlist searches and a new Noble posts Nook Video apps for Android, iOS and Roku2013.08.19.engadget7Com Hem launches TiVo IPTV test
blog.naver.com · 2013.08.20
-
4일차(9월27일) 자료형,형변환,if문
public class Test17 { public static void main(String[] args) { //아이디와 패스워드를 동시에 검사하는 과정 //admin, qwer //test , 1234 //indeok,asdf //입력 Scanner sc = new Scanner(System.in); //BufferReader과 동일한 기능 System.out.print
blog.naver.com · 2012.12.01
-
The amount of mentally stimulating conte
the number of books that are around — may predict the structure of the child's brain later in life, a new cortex is the brain's outer layer, and studies have linked thinner cortexes with higher intelligence test
blog.naver.com · 2012.11.11
-
겨울에도 rooftop bar에서 뉴욕을 즐긴다?
You know, get a little grounded.Actually, no.Not at all.That was a test...Opening Saturday in SoHo is the new James HotelRooftop Bar, a cozy outdoor spot out to prove that the fall is no reason to descend
blog.naver.com · 2010.10.18