Giter VIP home page Giter VIP logo

Aykut Sahin's Projects

crack icon crack

Simple program to crack a password which is encrypted by the DES Algorithm. (In the process of getting enhanced.)

employee-list icon employee-list

The task is to implement a set of functions to handle linked lists. An office is implemented as a structure with two linked lists. The first linked list stores the employees, the second list represents the cars. Each employee is represented by name and a link to his/her assigned car. A car is represented by its model name. Given that structures, the functions are used to initialize a new office, add a new employee, add a new car, copy the office, and dispose the office. TEMPLOYEE is a data structure defined in the testing environment. Your implementation must use the structure, however, it must not modify it in any way. The structure represents one employee. The employees are organized in a single linked list. The structure has the following fields: m_Next - a link to the next employee in the list. The last employee in the list must set m_Next to the NULL value. m_Car - is a link to the assigned car. The link is either NULL (meaning the employee does not have any car assigned), or it references some element in the car linked list. m_Name - an ASCIIZ (zero terminated) employee name. TCAR is a data structure defined in the testing environment. Your implementation must use the structure, however, it must not modify it in any way. The structure represents one car. The car are organized in a single linked list. The structure has the following fields: m_Next - a link to the next car in the list. The last car in the list must set m_Next to the NULL value. m_Model - an ASCIIZ (zero terminated) car model name. TOFFICE is a data structure defined in the testing environment. Your implementation must use the structure, however, it must not modify it in any way. The structure represents one office, the structure contains two fields: m_Emp - a pointer to the first employee in the linked list of employees, m_Car - a pointer to the first car in the linked list of cars. initOffice () the function creates a new office. The structure is to be dynamically allocated and a pointer to that structure is to be returned. Both lists in the newly created office must be initialized as empty. addEmployee ( office, name ) the function creates a new employee and places the new employee at the first position of the employee list. The parameters are name - name of the new employee and office - the office to place the employee to. The function is responsible for the allocation of the employee structure, moreover it must initialize the fields. The newly listed employee does not have any car assigned, i.e. m_Car must be set to NULL. addCar ( office, model ) the function creates a new car and places the new car at the first position of the car list. The parameters are model - the model name of the car and office - the office to place the car to. The function is responsible for the allocation of the car structure, moreover it must initialize the fields. freeOffice ( office ) the function frees all resources allocated by the given office (i.e. both employee and car linked lists plus the structure that represents the office), cloneOffice ( office ) the function creates an independent copy of the given office. The newly created office must preserve the employees, the cars, the order of employees, the order of the cars, and the assigned cars. Caution: the newly created list must be independent, thus the links to the cars must be updated to refer to the corresponding elements in the newly created office. Return value is a pointer that points to the newly allocated (and filled) office structure.

fondword-puzzle icon fondword-puzzle

Given a puzzle grid and a list of words to search for; the program strucks out each of the words from the puzzle.

image-flip icon image-flip

The task is to develop a function to handle an image file -- the function shall be able to read the image, flip it, and save the modified image.

intervals icon intervals

The task is to develop a C++ classes CRange and CRangeList. The classes will represent an interval of integers and a list of integer intervals, respectively.

luhnsalgorithm icon luhnsalgorithm

Determines the type of the credit card according to it's number

myworkspace icon myworkspace

This repository contains variety of source codes in C

triangles icon triangles

Checking if its a valid triangle given by the vertices or sides

vim-sublime-monokai icon vim-sublime-monokai

Vim Monokai color scheme that tries to be as faithful as possible to Sublime's Monokai syntax highlighting

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.