Git Product home page Git Product logo

ky-algorithm-class-b's Introduction

2023年12月13日 Project 完

  • 알고리즘 수업 / 팀플 과제 / 문제해결

완성본 문제점 및 개선점

팀 프로젝트.. main 브렌치로 푸시 그만!...


깊은 복사 코드를 굳이 이렇게 짤 필요가 있었을까?

과연 이게 깊은 복사인가?

개선 전

object copy(object in,int number)
{
    object obj;
    obj.data_num = number;
    obj.date = in.date;
    obj.Ideparture = in.Ideparture;
    obj.Iarrival = in.Iarrival;
    obj.info[0] = in.info[0];
    obj.info[1] = in.info[1];
    obj.info[2] = in.info[2];
    return obj;
}

개선 후


담당하였던 date sort 개인환경에서는 문제가 없었지만,
윈도우 환경에서는 함수 호출 시 오버스택 발생

해결방법
근본적 원인

problem

solve

ky-algorithm-class-b's People

Contributors

harrykito avatar tk001111 avatar jizkim avatar haiiron avatar

Stargazers

 avatar  avatar

Forkers

tk001111 jizkim

ky-algorithm-class-b's Issues

.gitignore 추가해도 계속 staging 됨... (CLion 문제인가?)

개별 개발환경 적용에 문제발생..
.gitignore 추가하여 이전 상태 유지하려해도 add 하면 ignore된 파일도 변경, 커밋 푸시 후 확인..
터미널 환경에서 테스트는 안해보았으나 CLion 자체의 git 제어 툴 문제일수도있음.

브렌치 나누어 각자 환경에서 CMake 캐싱 데이터 리셋 후 해결이 되긴 함.

(..프로젝트 後 본 문제 해결법 알아둘 필요성 있음..)

프로젝트 후 README 작성

프로젝트 후 개선/보완점
해결하지못한 윈도우 환경 function Stack 부족 문제에 대한 다양한 접근으로 해결방법과 근본적 원인분석

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.