• 제목/요약/키워드: C 응용 프로그램

Search Result 322, Processing Time 0.031 seconds

Development of window application for fault current calculation by IEC 60909 (IEC 60909 기반의 고장 전류 계산을 위한 응용 프로그램 개발)

  • Han, Jong-Hoon;Jang, Gil-Soo;Park, Chang-Hyun
    • Proceedings of the KIEE Conference
    • /
    • 2008.07a
    • /
    • pp.255-256
    • /
    • 2008
  • 개발된 프로그램은 C++ 언어를 사용하여 객체지향 프로그래밍 (Object Oriented Programming) 개념에 맞추어 설계되었다. C++과 같은 OOP 언어는 클래스 정의, 연산자 오버로딩, 상속, 캡슐화와 같은 차별적인 특성을 가지고 있어 대규모 프로그램의 작성과 관리에 매우 효과적이다. 전력 계통의 각 구성 요소들은 클래스로 설계되었으며 계산 모듈 또한 별도의 클래스로 디자인하여 향후 프로그램 개선과 확장을 용이하게 구현하였다. 개발된 프로그램은 편리한 Graphic User Interface (GUI)를 제공하기 위해서 Windows Application Programming Interface (API)와 Microsoft Fundamental Classes (MFC) 등을 이용하였으며 Microsoft Visual Studio.net 을 이용하여 컴파일 되었다 [1].

  • PDF

Static Allocation of C++ Objects to CORBA-based Distributed Systems (C++ 객체의 CORBA 기반 분산 시스템으로의 정적 할당)

  • 최승훈
    • Journal of Internet Computing and Services
    • /
    • v.1 no.2
    • /
    • pp.69-88
    • /
    • 2000
  • One of the most important factors on the performance of the distributed systems is the effective distribution of the software components, There have been a lot of researches on partitioning and allocating the task-based system, while the studies on the allocating the objects of the object-oriented system into the distributed object environments are very little relatively. In this paper. we defines the graph model for partitioning the existing C++ application and allocating the C++ objects into CORBA-base distributed system, In addition, we propose a distributed object allocation algorithm based on this graph model. The performance of distributed systems is determined by the concurrency between objects, the load balance among the processors and the communication cost on the networks. To search for the solutions optimizing the above three factors simultaneously, the object allocation algorithm of this paper is based on the Niched Pareto Genetic Algorithm (NPGA). We performed the experiment on the typical C++ application and CORBA system to prove the effectiveness of our graph model and our object allocation algorithm.

  • PDF

Implementation of Socket Using JNI (JNI를 이용한 소켓 구현)

  • Jo, Hee-Nam;Jung, Myung-Jo;Cha, Tae-Sung;Lee, Cheol-Hoon
    • Proceedings of the Korea Information Processing Society Conference
    • /
    • 2002.11b
    • /
    • pp.1603-1606
    • /
    • 2002
  • JNI 는 자바언어로 이루어진 응용프로그램과 C 나 C++같은 다른언어로 구현된 응용프로그램 사이에 양방향 인터페이스를 제공하는 자바 플랫폼의 강력한 특징중 하나이다. 소켓의 경우 자바언어만으로는 호스트에 의존적인 특징을 지원하지 못하기에 필연적으로 Native 메소드를 사용해야만 한다. 본 논문은 호스트 의존적인 부분에 대해 Ml 을 사용하여 연결지향 프로토콜에서 이용되는 소켓을 구현한다.

  • PDF

The Analysis and Design of Thread Model for Java Virtual Machine (자바가상머신 쓰레드 모델 분석 및 설계)

  • 유용선;박윤미;류현수;이철훈
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2004.10a
    • /
    • pp.625-627
    • /
    • 2004
  • 최근 들어 인터넷의 발달과 더불어 PDA, 핸드폰과 같은 모바일 디바이스와 다양한 정보가전용 기기들에 네트워크 기반의 자바기술이 적용되고 있으며, 이러한 자바 기술을 사용함으로써 플랫폼 독립성 이식성, 보안성, 이동성 둥의 장점을 얻을 수 있다. 그러나, 자바로 작성된 응용프로그램은 C, C++로 작성된 응용프로그램 보다 수행속도가 느리다는 단점이 있다. 이러한 문제점을 해결하기 위해서는 자바가상머신의 성능향상이 필수적이다. 지금까지 메모리 관리를 위한 가비지 컬렉션, 소프트웨어나 하드웨어를 이용한 바이트 코드 변환, 인라인캐시(inline-cache)를 사용한 접근 속도 향상 등 많은 부분에서 활발한 연구가 진행되고 있다. 본 논문에서는 모바일 플랫폼에서 동작하는 KVM(kilo-virtual machine)의 성능향상을 위한 쓰레드 구조를 분석하고 설계한다.

  • PDF

Design and Implementation of Static Program Analyzer Finding All Buffer Overrun Errors in C Programs (C 프로그램의 버퍼 오버런(buffer overrun) 오류를 찾아 주는 정적 분석기의 설계와 구현)

  • Yi Kwang-Keun;Kim Jae-Whang;Jung Yung-Bum
    • Journal of KIISE:Software and Applications
    • /
    • v.33 no.5
    • /
    • pp.508-524
    • /
    • 2006
  • We present our experience of combining, in a realistic setting, a static analyzer with a statistical analysis. This combination is in order to reduce the inevitable false alarms from a domain-unaware static analyzer. Our analyzer named Airac(Array Index Range Analyzer for C) collects all the true buffer-overrun points in ANSI C programs. The soundness is maintained, and the analysis' cost-accuracy improvement is achieved by techniques that static analysis community has long accumulated. For still inevitable false alarms (e.g. Airac raised 970 buffer-overrun alarms in commercial C programs of 5.3 million lines and 737 among the 970 alarms were false), which are always apt for particular C programs, we use a statistical post analysis. The statistical analysis, given the analysis results (alarms), sifts out probable false alarms and prioritizes true alarms. It estimates the probability of each alarm being true. The probabilities are used in two ways: 1) only the alarms that have true-alarm probabilities higher than a threshold are reported to the user; 2) the alarms are sorted by the probability before reporting, so that the user can check highly probable errors first. In our experiments with Linux kernel sources, if we set the risk of missing true error is about 3 times greater than false alarming, 74.83% of false alarms could be filtered; only 15.17% of false alarms were mixed up until the user observes 50% of the true alarms.

Design of an Automated Testing Tool to Detect Dynamic Memory Access Errors in C Programs (C언어 기반 프로그램의 동적 메모리 접근 오류 테스트 자동화 도구 설계)

  • Cho, Dae-Wan;Oh, Seung-Uk;Kim, Hyeon-Soo
    • Journal of KIISE:Software and Applications
    • /
    • v.34 no.8
    • /
    • pp.708-720
    • /
    • 2007
  • Memory access errors are frequently occurred in computer programs written in C programming language [1,2]. Accordingly, a number of research works have suggested a wide variety of methods to detect such errors automatically. However, they have one or more of the following problems: inability to detect all memory errors, changing the memory allocation mechanism, and excessive performance overhead. To cope with these problems, in this paper we suggest a new and automated tool to detect dynamic memory access errors in C programs.

An Intermediate Language Translator for .NET Languages (.NET 언어를 위한 중간 언어 번역기)

  • 최성규;박진기;이양선
    • Proceedings of the Korea Multimedia Society Conference
    • /
    • 2003.11b
    • /
    • pp.533-536
    • /
    • 2003
  • 자바는 썬 마이크로시스템즈사가 개발한 언어로서 현재 가장 널리 사용되는 프로그래밍 언어 중 하나이며, 컴파일러에 의해 플랫폼에 독립적인 바이트코드를 바이너리 형태로 가지고 있는 클래스 파일을 생성하면 JVM에 의해 어떠한 하드웨어나 운영체제에 상관없이 수행이 가능한 플랫폼 독립적인 언어이다. 마이크로소프트사는 .NET 플랫폼을 개발하면서 자바 언어에 대응하기 위해 C# 프로그래밍 언어를 만들었다. C#은 C/C+.의 강력함과 자바나 비주얼 베이직의 높은 생산성을 매우 효과적으로 결합한 프로그래밍 언어이다. C#은 컴파일 과정을 거치면 자바의 바이트코드와 같은 중간 언어인 MSIL코드를 갖는 파일을 출력하게 되는데, C# 이외에도 모든 .NET 언어들은 컴파일과정을 거치면서 MSIL 코드를 얻기 때문에 여러 .NET 언어들을 이용해서 하나의 응용 프로그램을 만들 수 있다. 본 논문에서는 임베디드 시스템에서의 적용을 위해 C#을 컴파일 하여 나오는 중간 언어 형태인 MSIL 코드를 자바의 중간 언어의 한 종류인 Oolong 코드로 변환해 줌으로서 C#으로 구현된 프로그램이 자바 플렛폼에서 JVM에 의해 실행되도록 하는 중간 언어 번역기를 구현하였다.

  • PDF

Design and Implementation of C# Code Generation (C# 코드 생성 기능의 설계 및 구현)

  • 이장우;김태균
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2003.04c
    • /
    • pp.109-111
    • /
    • 2003
  • 본 논문에서는 기존에 구현된 객체지향 CASE 도구인 OODesigner에 C# 언어 코드 생성 기능을 추가로 설계하여 구현한 결과를 제시한다. 본 논문의 결과로 기존의 OODesigner에는 Java, 일반적인 C++. Visual C++ 코드 생성기능을 가지고 있었는데 C# 코드 생성을 지원할 수 있도록 기능이 향상되었다. .NET 프레임워크 하에서 동적 웹 페이지, 분산 응용 프로그램의 컴포넌트. 데이터베이스 엑세스용 컴포넌트 등을 개발하기 위한 C#의 사용이 확산되고 있는 상황으로 볼 때 본 논문에서 구현된 C# 코드 생성 기능의 구현은 C#을 이용한 소프트웨어 개발의 생산성 향상에 크게 이바지할 것으로 판단된다.

  • PDF

A Development of C-API Mechanism for Open Distributed Computing Systems (개방형 분산 컴퓨팅 시스템에서의 C-API 메타니즘 개발에 관한 연구)

  • 이상기;최용락
    • Journal of the Korea Society of Computer and Information
    • /
    • v.3 no.4
    • /
    • pp.110-119
    • /
    • 1998
  • This paper describes a C-API (Cryptographic-Application program Interface) mechanism that can serve cryptographic service to one or more application programmers in an open distributed computing system. Generic cryptographic service, provides application Programmers with cryptographic algorithms and interfaces which can be shared so that the programmers can program distributed applications containing security services even though they have no detailed knowledge of cryptographic algorithms. Therefore, in this paper, a generic C-API mechanism is designed that can be used independently from various application environments and basic system structures so that programmers can use it commonly. This mechanism has the advantage that allows application programmers be able to use some cryptographic services and key management services not considering of the application program and operating system.

  • PDF

A Survey on 3D Graphics Library Development in the PDA Environment (PDA 환경에서의 삼차원 그래픽스 라이브러리 개발 현황 조사)

  • Pyo, S.H.;Chu, C.W.;Park, T.J.;Choi, B.T.
    • Electronics and Telecommunications Trends
    • /
    • v.16 no.6 s.72
    • /
    • pp.65-74
    • /
    • 2001
  • Palm OS 위주로 발전해오던 PDA 시장에 Microsoft 사의 OS인 PocketPC 2000/2002와 고성능의 하드웨어가 출현하면서 PDA 기반 응용 소프트웨어의 기능도 일정 관리 등의 개인 정보 관리 기능을 벗어나 게임, 동영상 등 멀티미디어 응용 부분으로 확대되고 있다. 그 중에서도 최근 들어 3D를 표방하는 게임 및 응용 프로그램들이 속속 등장하고 있다. 본 고에서는 현재 PDA 환경에서 사용되는 삼차원 그래픽스 라이브러리의 현황과 전망을 짚어 보고자 한다.