2013. 5. 7. 12:21

 

 

chkdsk h:/f/r

 

만약 외장하드가 갑자기 인식이 안되거나 / 포맷하라고 하면 사용하면 좋은듯!

시간이 많이 걸리니(거의 500G가량되서 그런가) 충분히 기다릴 수 있는 시간을 확보하고 수행할것 -

노트북이 절전모드로 넘어가면서 chkdsk를 중단한듯...

Posted by Triany
2011. 9. 15. 21:43
한글 스펙은 2010이지만, 다른 버전과는 GUI 정도만 다를 뿐 거의 유사합니다~^^
( 한글 2008도 거의 동일 스펙이에요~ )
간단히 캡쳐본으로 설명해 드릴께요~^^
(페이지는 1, 2페이지 같이 보이는 설정으로 설명해 드릴께요~)





일단 기본적으로, 이 상태에서~~~







개체속성 - 표 - 쪽 경계에서 : [나눔]으로 설정할 경우
표가 적당히 자리를 차지하면서 나눔으로 나눠 집니다~(문자 아래에 다음 페이지로 안넘아지요~)






 


개체속성 - 표 - 쪽 경계에서 : [셀 단위로 나눔]으로 설정할 경우
셀의 일정한 크기를 유지하면서 나눔으로 나눠 집니다~(문자 아래에 다음 페이지로 안넘아지요~)
(셀 모양이 나눠지지 않아요~ )






개체속성 - 표 - 쪽 경계에서 : [나누지 않음]으로 설정할 경우
표가 다음장으로 넘어갑니다~^^



필요에 따라 적당히 설정해서 쓰시면 될 듯 싶습니다~^^

Posted by Triany
2011. 7. 29. 02:20
WinXP에서는 잘 되던 텔넷이 Win7을 쓰고나서부터 안되기 시작..
아래와 같은 에러가 뜨면서 실행-telnet이 안들어가 지더군요..


이유를 살펴보니 Win기능 사용 안함에 체크되어 있었습니다....
텔넷 서버/클라이언트 설정은 간단! 3단계만 거치면 됩니다.ㅎ



1 . 제어판에서 - 프로그램및 기능에 들어간다.


 


2. Windows 기능 사용/사용 안함 클릭




3. 텔넷 서버와 텔넷 클라이언트에 체크 표시를 해주면  OK이다.(영어로 telnet server/telnet client라고 되어 있기도 하다.)

Posted by Triany
2011. 3. 9. 22:08
c++ 코딩시
visual studio 2008버전에서
atal error C1083: 포함 파일을 열 수 없습니다. 'fstream.h': No such file or directory
라는 오류가 발생하게 되면

visual studio 2008 sp1을 깔면 해결된다.

http://www.microsoft.com/downloads/ko-kr/confirmation.aspx?displaylang=ko&FamilyID=fbee1648-7106-44a7-9649-6d9f6d58056e



NONO!! 이게 해결책이 아니다!!!!!!!!
헤더가 잘못된것...!!!
C++에서는 .h붙는 헤더들을 거의 사용 안한다.
fstream.h 가 아닌 ->> fstream 으로 바꿔줘야 함.
이와 더불어, fstream헤더에 포함된 함수정의로,, 사용해야..
예를 들자면
기존의 6.0버전이 이런 식으로 사용했다면..
void read ( ifstream input_file )
{
 listData c;

 while ( input_file.get(c) ) {
  if (c != ' ' && c != '\n' )
   insert(c);
 }
}


이렇게 바꿔줘야. (포인터 식으로!)
void read ( ifstream *input_file )
{
 listData c;

 while ( input_file->get(c) ) {
  if (c != ' ' && c != '\n' )
   insert(c);
 }
}


<답 찾았던 원문참조.>
Sep 26th, 2004

0

fstream.h, I thought it was a standard header....

Expand Post »
I'm trying to write a simple file output program for my class. The error I recieve when I try to compile in VS .net 2003 is the following.

fatal error C1083: Cannot open include file: 'fstream.h': No such file or directory

The code to my program is extremely straight forward as I always test a concept before incorporating it into the final solution. It's as follows:

C++ Syntax (Toggle Plain Text)
  1. #include <math.h>
  2. #include <fstream.h>
  3. #include <iomanip.h>
  4.  
  5. void main()
  6. {
  7. int a[25];
  8. double s[25];
  9.  
  10. for(int n=0; n < 25; n++)
  11. s[n] = sin(3.14159265*(a[n]=n*15)/180);
  12.  
  13. ofstream out("SineDataV2.txt", ios::out);
  14.  
  15. for(n=0;n<25;n++)
  16. out << setw(5) << a[n] <<''<<setw(12)<<s[n]<<'\n';
  17.  
  18. out.close();
  19. }

Any ideas why I can't include it? I'm pretty sure I'm including the correct file as MSDN reference tells me so: http://msdn.microsoft.com/library/de...m_ofstream.asp

Thanks in advance to those that help!
Reputation Points: 11
Solved Threads: 0
Newbie Poster
C#Coder is offline Offline
19 posts
since Sep 2004
Sep 26th, 2004
0

Re: fstream.h, I thought it was a standard header....

>Any ideas why I can't include it?
Yes, fstream.h is not a standard C++ header. Nor is iomanip.h. Come to think of it, void main isn't standard either (regardless of what your compiler's documentation says). If you want to go fully standard, use C headers with the .h dropped and prefix them with C, and use C++ headers with the .h dropped. Then prefix every standard name with std:: (or you can use using namespace std if you want) because all standard names are in the std namespace. Also, there's no need to manually close the file. ofstream's destructor will handle that for you. Lastly, you had a bug where the first loop declares a variable yet you try to use it after the loop. This is wrong because the variable is declared within the scope of the loop and when the loop ends the variable is destroyed. You can do what you were doing with older versions of Visual C++, but not anymore:
C++ Syntax (Toggle Plain Text)
  1. #include <cmath>
  2. #include <fstream>
  3. #include <iomanip>
  4.  
  5. int main()
  6. {
  7. int a[25];
  8. double s[25];
  9.  
  10. for(int n=0; n < 25; n++)
  11. s[n] = std::sin(3.14159265*(a[n]=n*15)/180);
  12.  
  13. std::ofstream out("SineDataV2.txt", std::ios::out);
  14.  
  15. for(int n=0;n<25;n++)
  16. out << std::setw(5) << a[n] <<' '<<std::setw(12)<<s[n]<<'\n';
  17. }
Team Colleague
Reputation Points: 4652
Solved Threads: 1046
Code Goddess
Narue is offline Offline
9,544 posts
since Sep 2004
Sep 26th, 2004
0

Re: fstream.h, I thought it was a standard header....

Greetings,

» Any ideas why I can't include it?
It sometimes depends. fstream is part of the C++ standard, fstream.h isn't.

The difference between fstream and fstream.h
fstream is somewhat more restrictive than the older fstream.h. One would possibly avoid problems by careful use of namespaces, but it would be a lot smarter to stick with one or the other.

You should avoid using the *.h version as much as possible, because some implementations have bugs in their *.h version. Moreover, some of them support non-standard code that is not portable, and fail to support some of the standard code of the STL.

Furthermore, the *.h version puts everything in the global namespace. The extension-less version is more stable and it's more portable. It also places everything in the std namespace.

Conclusion
fstream.h is an old style method of including std C++ headers, and in opposite to fstream you don't have to declare that you're using the std namespace.

It is sometimes recommended to use:
#include <fstream>
using namespace std;

Hope this helps,
- Stack Overflow
Reputation Points: 26
Solved Threads: 4
C Programmer
Stack Overflow is offline Offline
185 posts
since Sep 2004
Sep 26th, 2004
0

Re: fstream.h, I thought it was a standard header....

Thanks Narue and Stack Overflow for your quick and accurate replies!!

All is now good and I can get on with the rest of the lab
Reputation Points: 11
Solved Threads: 0
Newbie Poster
C#Coder is offline Offline
19 posts
since Sep 2004
Jun 1st, 2010
-1

Re: fstream.h, I thought it was a standard header....




출처: http://www.daniweb.com/software-development/cpp/threads/11430

Posted by Triany
2011. 2. 26. 22:19

win7 운영체제를 깔고난 이후, 자리를 비웠다 오면 자주 자동 재부팅이 일어났다.
고민하던 중, 방법을 찾게 되었다.


1)예약된 자동업데이트 시 자동재부팅 기능 설정안함 

 window키 + R 을 눌러 실행 창을 뜨게 한다.
 gpedit.msc 를 입력한다.


로컬 그룹 정책 편집기에서
[컴퓨터구성]-[관리템플릿]-[windows구성요소]-[windows update]로 들어가
예약된 자동 업데이트 설치 시 로그인한 사용자로 자동 다시시작 안함을 더블릭하여 사용으로 바꿔준다.

사용으로 바꾸고 확인을 눌러주면 OK



2)오류시 자동 재부팅 기능 해제
내컴퓨터-속성-관리-고급시스템설정-고급에 들어간다.

시작 및 복구에서 설정을 클릭해 준후, 시스템 오류시 자동으로 다시 시작 체크박스를 해지해 준다.

Posted by Triany
2011. 2. 26. 12:17

미드를 보다 보면 한글자막 따로, 영어자막 따로 있는 경우가 많습니다.
영어공부를 위해 자막을 함께 보는 편이 좋다고 판단되는 경우가 있습니다. 그 경우에 한영 통합 자막 만드는 쉽고 좋은 툴이 있어 소개해 드리고자 합니다.


파일은 아래 경로에서 다운 받으면 됩니다.
http://uzys.net/xe/?mid=textyle&category=123&vid=SW&document_srl=157
전, Setup Version UzysSMIMergeTool_setup_0.2.2.zip 를 다운 받았습니다


사용방법은 간단합니다.
압축을 푼후 setup.exe로 설치를 하고 실행시키면 아래와 같은 창이 뜨는데
동일 이름의 한글 자막과 영어자막을 넣어준 후(마우스로 끌어 넣어야 되더군요 -

완성후 출력해주는 폴더를 지정해 준 후 RUN을 눌러주면 OK




잘 합쳐 졌군요^^
참고로 자막파일 변환 기준은 한글자막입니다.
한글자막이 smi면 출력되는 파일 형식도 smi
한글자막이 srt면 출력되는 파일 형식도 srt라도 하네요.
참고하세요~

Posted by Triany
2010. 9. 25. 18:16
기다리던 드라마 ost CD가 왔다 -. mp3에 넣고 듣고 다닐려고 보니 CD 오디오 트랙 형식.
CD 오디오 트랙 형식을 mp3로 변경하기 위한 쉬운 방법은 Windows Media Player를 이용하는 방법이다.
(주의 : 구 버전에는 리핑기능이 없다. 나도 이 김에 윈도우미디어플레이어 11로 업데이트 하였다.)

1. WMP를 키고, 리핑 탭으로 들어간다.


2. 리핑의 형식은 mp3로 체크한다. 


3. 비트 전송률을 조정한다.(나는 320Kbps-최고음질)로 조정하였다.



4. 하단의 리핑 시작 버튼을 누르면 OK!


리핑된 mp3파일은 My Documents(내문서) - 내 음악 에 저장된다.
꽤 간단한 방법인듯^^



Posted by Triany
2010. 9. 3. 01:36

Visual Studio 6.0 사용시 아래와 같은 오류가 뜰 경우

(File Open이나 Add Folder시) MSDEV.EXE - 응용 프로그램 오류가 발생한다면,

서비스 팩 6를 다운 받으면 된다.

 

 

 

 

 

 

링크는..

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=a8494edb-2e89-4676-a16a-5c5477cb9713

 

 

사용하고 있는 언어에 따라, 한국어 또는 영어로 바꿔줘야 한다.


Posted by Triany