Ograniczanie wyników
Czasopisma help
Autorzy help
Lata help
Preferencje help
Widoczny [Schowaj] Abstrakt
Liczba wyników

Znaleziono wyników: 29

Liczba wyników na stronie
first rewind previous Strona / 2 next fast forward last
Wyniki wyszukiwania
Wyszukiwano:
w słowach kluczowych:  C++
help Sortuj według:

help Ogranicz wyniki do:
first rewind previous Strona / 2 next fast forward last
PL
W artykule przedstawiono analizę porównawczą technologii Java i C++ w kontekście wydajności na platformie Andro-id. Celem tej pracy było wskazanie wydajniejszego języka do tworzenia aplikacji mobilnych. Badania przeprowadzono na autorskich aplikacjach. Testy dotyczyły sortowania danych, wyznaczania liczb pierwszych, modyfikacji bitmapy, zapisu do bazy danych i odczytu z pliku tekstowego. Serie powtórzeń każdego testu wykonane zostały na urządzeniach marki Samsung oraz Xiaomi. Kryteria, którymi się posłużono to: czas wykonania testu, obciążenie procesora, wykorzy-stanie pamięci RAM. Wydajność wwiększości przeprowadzonych testów była na korzyść języka C++. Cechą wykazu-jącą największe różnice między badanymi technologiami był czas wykonania, gdzie C++ uzyskał 18punktów, a Java 3 punkty. Dla wykorzystania procesora wynik był taki sam, jednak różnice wartości mniejsze. Parametrem niewskazu-jącym faworyta było wykorzystanie pamięci RAM. Uzyskano 11punktów dla języka C++ i10 punktów dla Javy.
EN
The article presents a comparative analysis of Java and C ++ technologies in terms of performance on the Android plat-form. The purpose of this work was to point to a more efficient language for developing mobile applications. The study was carried out on custom applications. The tests concerned data sorting, prime numbers determination, bitmap modifi-cation, saving to the database and reading from a text file. The series of repetitions of each test were performed on Sam-sung and Xiaomi devices. The following criteria were used: test execution time, CPU load, and RAM usage. The per-formance, in most of the carried out tests, was in favor of the C++ language, and the main difference and with the great-est discrepancy between the technologies tested was the execution time, where C++ scored 18 points, and Java 3 points. For the CPU usage, the result was the same, but value differences were smaller. A nondiscerning parameter that was the use of RAM. C++ received 11 points and Java 10.
2
EN
The project aimed to develop and implement an efficient web server in the C++ programming language. A highly concurrent network server was achieved using system calls such as polls and a limited number of threads. The server has built-in support for a new scripting language called Ckript. It is an original project that exposes most of the server’s functionality and is the primary way of developing back-end web applications. Ckript is an interpreted language with a strong typing system, garbage collection, semi-manual memory management, first-class functions, explicit variable references, support for certain object-oriented patterns and many others. In the article the syntax of the language but also the environment architecture has been explained. Finally, the testing procedure has been described with the results’ presentation and discussion at each step.
PL
Celem projektu było opracowanie oraz implementacja wydajnego serwera przy użyciu języka C++. Zastosowanie wywołań systemowych oraz ograniczonej liczby wątków pozwoliło zbudować wysoko współbieżny serwer. Posiada on wbudowane wsparcie dla nowego języka skryptowego Ckript. Jest to projekt autorski, który udostępnia większość funkcjonalności serwera i jest głównym środkiem budowania aplikacji back-endowych. Ckript to język interpretowany z systemem silnego typowania, mechanizmem porządkowania pamięci, półautomatycznym zarządzaniem pamięcią, wbudowanymi funkcjami, referencjami do zmiennych, obsługą pewnych wzorców zorientowanych obiektowo i wiele innych. W artykule wyjaśniono składnię języka, ale także architekturę środowiska. Na koniec opisana została procedura testowania wraz z prezentacją wyników i dyskusją na każdym etapie.
3
Content available Digital Audio Broadcasting
EN
Processing digital radio - either on the transmitter or the receiver side - requires a significant amount of digital processing. A receiver for digital radio usually consists of two parts, a ”hardware” part, handling the conversion from an analog antenna signal to a stream samples, and a ”software part”, a decoder, decoding the samples and generating audio, text, images and video. In this paper some aspects of the design and implementation of Qt-DAB, a software decoder for Digital Audio Broadcasting (DAB and DAB+), is discussed. The Qt-DAB decoder runs on a variety of hardware platforms, hardware as small as creditcard sized computers as the Raspberry PI 2, and home computers. In the design performance and flexibility were key. The design is such that it is easy to interface to different hardware SDR devices and easy to add new features. While the core of the Qt-DAB software is formed by the signal processing part, interpreting the incoming sample stream and generating audio, text and images, by far the largest part of the software is handling user interaction and user comfort. Qt-DAB provides a large amount of options, options to select a device, to inspect the signal, to store signals, and options to set the configuration. All in all, it shows that about three quarters of the amount of code is involved is the non-signal processing part.
EN
The research paper contains a review and analysis of common programming mistakes made by first and second year students of Computer Science. The data were collected during the courses entitled “Algorithmics and Data Structures” and “Numerical Methods”, where students have to write programs in the C++ language. The article includes examples of three selected mistake types. A comparison of mistakes made by first and second year students is presented. The analysis carried out shows that the percentage of mistakes made decreases when the students are in the second year, but three types of mistakes demonstrate the opposite trend. It can be concluded that those three types of mistakes are related to the course of Numerical Methods, where students have to deal with a significant amount of mathematical expressions. The results show that the students have the most significant problems with memory management.
PL
Artykuł zawiera przegląd i analizę typowych błędów programistycznych popełnianych przez studentów pierwszego idrugiego roku Informatyki. Dane wykorzystane podczas analizy zostały zgromadzone w trakcie zajęć z przedmiotów: Algorytmy i Struktury Danych oraz Metody Numeryczne. Podczas zajęć studenci piszą programy w języku C++. Arty-kuł zawiera przykłady trzech wybranych typów błędów. W artykule przedstawione zostało porównanie błędów popeł-nianych przez studentów pierwszego oraz drugiego roku. Przeprowadzona analiza wykazała, że liczba popełnianych błędów jest mniejsza dla studentów drugiego roku ale przy trzech rodzajach błędów można było zaobserwować od-wrotną tendencję. Błędy te powiązane są ze specyfiką przedmiotu Metody Numeryczne. Podczas tego przedmiotu studenci mają do czynienia w większym stopniu z wykonywaniem obliczeń matematycznych. Wyniki pokazują, że studenci mają największe problemy z zarządzaniem pamięcią.
5
Content available remote A Set-theoretic Approach to Reasoning Services for the Description Logic DL4,xD
EN
In this paper we consider the most common TBox and ABox reasoning services for the description logic 𝒟ℒ〈4LQSR,x 〉(D) (𝒟 ℒD 4,×, for short) and prove their decidability via a reduction to the satisfiability problem for the set-theoretic fragment 4LQSR. 𝒟 ℒD 4,× is a very expressive description logic. It combines the high scalability and efficiency of rule languages such as the Semantic Web Rule Language (SWRL) with the expressivity of description logics. In fact, among other features, it supports Boolean operations on concepts and roles, role constructs such as the product of concepts and role chains on the left-hand side of inclusion axioms, role properties such as transitivity, symmetry, reflexivity, and irreflexivity, and data types. We further provide a KE-tableau-based procedure that allows one to reason on the main TBox and ABox reasoning tasks for the description logic 𝒟 ℒ D 4,× . Our algorithm is based on a variant of the KE-tableau system for sets of universally quantified clauses, where the KE-elimination rule is generalized in such a way as to incorporate the γ-rule. The novel system, called KEγ -tableau, turns out to be an improvement of the system introduced in [1] and of standard first-order KE-tableaux [2]. Suitable benchmark test sets executed on C++ implementations of the three mentioned systems show that in several cases the performances of the KEγ -tableau-based reasoner are up to about 400% better than the ones of the other two systems.
PL
Obecnie coraz częściej wykorzystuje się metody sztucznej inteligencji (AI) do budowania systemów ekspertowych, czy opartych na wiedzy. Jednakże, bardzo często podczas zajęć w szkole podstawowej i średniej podczas zajęć z programowania, lub ogólniej kształcenia myślenia komputacyjnego, uczniowie uczą się algorytmów rozwiązujących problemy w warunkach pewności. Wobec tego większość młodych ludzi nie ma okazji rozważania rozwiązań problemów w zakresie logiki rozmytej. Aby nauczyciele informatyki rozważali z uczniami metody sztucznej inteligencji, należy przygotować proste przykłady algorytmów AI. W artykule przedstawiono kilka prostych przykładów zbiorów i relacji rozmytych oraz prostego systemu wnioskującego zakodowanych w C++.
EN
Currently, artificial intelligence (AI) methods are increasingly used to build expert or knowledge-based systems. However, very often during elementary and high school classes while programming classes, or more general, computational thinking training, students learn algorithms that solve problems in conditions of certainty. Therefore, most young people have no opportunity to consider solutions to fuzzy logic problems. For IT teachers to discuss artificial intelligence methods with students, simple AI algorithms should be prepared. The article presents some simple examples of fuzzy sets and relations as well as a simple inference system coded in C++.
PL
W artykule scharakteryzowano czym jest Qt. Przedstawiono przykładową implementację związaną z komunikacją międzyprocesową wykorzystującą pamięć współdzieloną w klasycznym problemie producenta i konsumenta. Takie rozwiązanie jest mile widziane przez programistów, którzy z różnych powodów piszą swoje programy stosując framework Qt w możliwie szerokim zakresie.
EN
This article illustrates what Qt is. An example of the producer-consumer problem implementation in interprocess communication based on the shared memory is presented. Such solution can simplify the process of building interprocess application for those who want to write their programs using Qt in all possible aspects.
8
Content available remote Unreal Engine 4 jako narzędzie do tworzenia gier
PL
W dobie coraz większej popularyzacji wirtualnej rozgrywki, twórcy gier komputerowych udostępniają autorskie silniki w formie open source. Dwa najczęściej stosowane darmowe silniki to Unity stworzony przez Unity Technologies oraz Unreal Engine 4 wydany przez Epic Games. Oba znajdują zastosowanie podczas tworzenia gier AAA oraz jako narzędzie do rozwijania umiejętności początkujących programistów. Unity opiera się na programowaniu w języku C#. Natomiast Unreal Engine, który zostanie opisany w niniejszym artykule, korzysta z możliwości jakie daje C++.
EN
Video games developers, due to the still growing popularity of the video games are eager to share their game engines as open-sources. The two most common used and free of them are Unity, developed by Unity Technologies, and Unreal Engine 4 by Epic Games. Both of them are frequently used during the development of AAA games and also as a practicing tool for the beginning programmers. Unity is based on C# language, while Unreal Engine, which will be elaborated in the article, is coded in C++.
9
Content available Range-Kutta algorithm presentation in C++ language
EN
Introduction and aim: The aim of this paper is to describe the basics of C++ for educational purposes, taking into account issues such as the origins of language, comparing the languages C and C++. There will be presented Runge-Kutta algorithm in the C++ source code. The results obtained will be compared with the results obtained on the same input data, calculated in MathCAD and presented by W. Lipinski in the book: Numerical calculation-connection in the theory of signals and electrical circuits. Material and methods: Differential equation of the fourth degree - Runge-Kutta will be written in C++ based on the results obtained in the program MathCAD. Shown as a flowchart, there will be presented an input data, and there will be described the source code as the results. Results: Based on a comparison of results there has been presented the simplicity of this execution and the possibility of its further analysis. Conclusion: There has been given the source code of the program C++, and results were compared with the results obtained in the program MathCAD, with using the same data.
PL
Wstęp i cel: Celem niniejszej pracy będzie opisanie podstaw języka C++ w celach dydaktycznych, uwzględniając takie zagadnienia, jak: początki języka, porównanie języków C oraz C++. W dalszej części pracy przedstawiony zostanie algorytm Rungego-Kutty w kodzie źródłowym języka. Wyniki uzyskane, zostaną porównane z wynikami, uzyskanymi na takich samych danych wejściowych, wyliczonych w programie MathCAD, przedstawione przez W. Lipińskiego w książce: Obliczenia numeryczne w teorii sygnałów i obwodów elektrycznych. Materiał i metody: Równanie różniczkowe czwartego stopnia - algorytm Rungego-Kutty - zostanie napisane w języku C++ na podstawie wyników otrzymanych w programie MathCAD. Pokazany zostanie schemat blokowy algorytmu, przedstawione zostaną dane wejściowe, oraz opisany zostanie kod źródłowy algorytmu z wynikami. Wyniki: Na podstawie porównania wyników została przedstawiona akuratność kodu, zanalizowana prostota jego wykonania i możliwość jego dalszej analizy. Wiosek: Napisano kod źródłowy programu C++, a wyniki porównano z wynikami uzyskanymi w programie MathCAD, z wykorzystaniem tych samych danych.
PL
W artykule przedstawiono porównanie wybranych narzędzi RAD do wizualnego programowania w języku C++. Do porównania zostały wybrane środowiska programistyczne: C++ Builder, Visual Studio, Qt Creator. Wielokryterialna analiza porównawcza i wybór najlepszego środowiska do nauki wizualnego programowania w C++ zostały przeprowadzone na podstawie danych producenta i przeprowadzonego eksperymentu ze studentami.
EN
The article presents a comparison of visual programming RAD tools for C++ language. For comparison were chosen following development environments: C ++ Builder, Visual Studio, Qt Creator. Multi-criteria comparative analysis and selection of the best learning environment visual programming in C ++ were carried out on the basis of the manufacturer and the experiment with students.
EN
The data acquisition systems must be capable of process all the data produced by the source to ensure the highest level of accuracy, especially when it deals with hard real-time system monitoring task. However, the production of data is faster than the process to acquire and to process such a data. Using concurrency approach is an alternative to obtain the required level of performance and data processing. This paper presents the comparison between various C++ frameworks that by using multithreading technology and ringbuffer data structure allow data transfer in concurrent way. The comparison is based on the time interval between the instant when data is published and the instant when the data is gathered. These latency measurements have been taken using the configuration of one producer and two consumers for all evaluated frameworks. The results show that using standard C++ libraries to develop a simple framework it is possible to achieve suitable performance in order to fulfill the requirements of the high performance data acquisition systems described.
PL
Algorytm funkcji skrótu MD5 to jeden z najpopularniejszych sposobów uzyskania skrótu wiadomości. Otrzymane skróty mogą służyć jako podpisy cyfrowe plików lub ciągów znaków. Niniejszy artykuł przedstawia implementację tego algorytmu w języku C++. Można tu znaleźć opis klasy, która może później posłużyć jako biblioteka do dowolnego programu napisanego w tym języku.
EN
Message-Digest algorithm 5 is one of the most popular ways to get the message digest. Received shortcuts can be used as digital signatures of files or strings. This paper contains the implementation of this algorithm in C++ programming language. You can find there the description of the class, which can serve as a library in different programs written in C++.
PL
Algorytmy genetyczne są wykorzystywane w szerokim spektrum ludzkiego dążenia do optymalizacji życia codziennego, są krokiem milowym dla całej gałęzi wiedzy określanej mianem sztucznej inteligencji. Został stworzony program optymalizujący, pod względem dostępnego zasięgu użytkowników, rozmieszczenie wielu mobilnych routerów w budynku, aplikacja biorącą pod uwagę rozmieszczenie ścian i użytkowników.
14
Content available Język C++/CLI – narzędzie do tworzenia aplikacji
PL
Praca przedstawia podstawowe wiadomości na temat języka C++/CLI (Common Language Infrastructure), w szczególności różnice pomiędzy nim a językiem C++. Pomimo skrótowej formy zawiera informacje wystarczające do zbudowania pełnowartościowych aplikacji w technologii .NET.
EN
This paper presents basic features of a C++/ CLI (Common Language Infrastructure), with a particular focus on differences between this language and a C++ language. Despite the abbreviated form, the paper contains enough information to allow one to create valuable applications using .NET technology.
EN
A comparison between old and new standards like GPSS, Simula67, Arena, Simio and BLUESSS is made from the point of view of additional user-defined object attributes and related functions. The scope of the applications under consideration is limited to the discrete-event, queuing and manufacturing simulation. The focus is made on the management of the object attributes and related operations, and on the way to make the simulation tool flexible enough without complicating the basic model building operations. A proposal of a new simulation tool is presented.
EN
BEMLAB [7, 8] is the open source Boundary Element Method (BEM) library designed for solving potential problems. BEM requires Partial Differential Equations (PDEs) to be expressed in the boundary integral form. To simplify solution of some common time based problems, PDEs can be expressed using complex calculus. Boundary Integral Equations (BIEs) have to be adapted accordingly. Therefore it is essential to introduce complex numbers into BEMLAB library. The article announces mathematical backgrounds and introduces architecture areas, which are complex specific. It also presents an example of library usage.
PL
BEMLAB [7, 8] to biblioteka o otwartym kodzie źródłowym implementująca metodę elementów brzegowych (MEB). Umożliwia rozwiązywanie problemów potencjalnych opisanych równaniami różniczkowymi cząstkowymi, które muszą być przedstawione w postaci równania całkowo-brzegowego. Aby uprościć rozwiązywanie niektórych problemów zależnych od czasu, np. harmonicznych, równania różniczkowe cząstkowe można przedstawić używając liczb zespolonych. Równania całkowo-brzegowe muszą być również odpowiednio dostosowane. Z tego powodu wymagane było wprowadzenie obliczeń na liczbach zespolonych do omawianej biblioteki BEMLAB. Artykuł zawiera matematyczne podstawy oraz wprowadza w zagadnienia architektury odnoszące się do problemów opisanych w dziedzinie liczb zespolonych. Ponadto zawarto również przykład użycia biblioteki.
EN
The aim of the paper was preparation of methods and algorithms for the kinematics of cutting tool motion of a prototypical guillotine used for cutting bundles of sheets applying an object oriented language C++. The guillotine allows for cutting at an arbitrary chosen angle within a range from 30° to 90° measured relatively to the work-top of a horizontal table. The functioning of the guillotine is based on a slider-crank mechanism combined with an electrical power transmission system whose task is to guarantee a constant value of a linear velocity of the blade of a cutting tool in the process.
PL
Celem pracy było przygotowanie metod i algorytmów do kinematyki ruchu noża prototypowej gilotyny do cięcia pakietów blach przy użyciu języka programowania obiektowego C++. Gilotyna umożliwia cięcie pod dowolnym kątem w zakresie od 30° do 90° mierzonym względem roboczej powierzchni poziomego stołu. Działa ona w oparciu o mechanizm korbowowodzikowy połączony z elektrycznym układem napędowym, którego zadaniem jest zapewnienie stałej prędkości liniowej ostrza noża podczas procesu cięcia.
18
Content available remote Rainbow Induced Subgraphs in Proper Vertex Colorings
EN
Given a graph H we define p(H) to be the minimum order of a graph G such that every proper vertex coloring of G contains a rainbow induced subgraph isomorphic to H. We give upper and lower bounds for p(H), compute the exact value for some classes of graphs, and consider an interesting combinatorial problem connected with computation of (H) for paths. A part of this research has been guided by a computer search and, accordingly, some computational results are presented. A special motivation comes from research in on-line coloring.
19
Content available remote Metoda układów wieloczłonowych w systemach CAD
PL
Badanie ruchu układów złożonych z wielu członów poruszających się względem siebie i otoczenia, jest zadaniem trudnym do rozwiązania. Do analizy tego problemu wykorzystywane są różne algorytmy komputerowe. Jednym z takich algorytmów jest metoda układów wieloczłonowych, która jest ogólnie przyjętym terminem dla metod modelowania, analizy i syntezy układów rzeczywistych. Poniższy artykuł omawia procedurę tworzenia pakietu symulacyjnego dla systemu CAD, opartego o formalizm układów wieloczłonowych oraz interfejs API tego systemu. Zamieszczone zostały również wyniki symulacji przeprowadzonych za pomocą tego pakietu.
EN
Motion study of systems consist of many bodies moving relative to each other and environment, is a hard to solve task. Many different computer algorithms are used to analyze such problem. One of these algorithms is multibody systems method, which is generally accepted term for modeling, analysis and synthesis methods of real systems. This article discusses procedure of creating of simulation package for CAD system, based on multibody systems formulation and CAD system API interface. Article also consists results of simulation carried out with this package.
PL
W pracy przedstawiony został moduł oprogramowania napisany w Builder C++ monitorujący stan pracy ładowarki poprzez port COM.
EN
The software written in Builder C++ that monitors the process of processor impulse charger in the article are presented. In the paper protocol, interface, components used are presented.
first rewind previous Strona / 2 next fast forward last
JavaScript jest wyłączony w Twojej przeglądarce internetowej. Włącz go, a następnie odśwież stronę, aby móc w pełni z niej korzystać.