묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
해결됨10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
1-N 코드 질문있습니다
안녕하십니까 큰돌님강의 보기 전에 문제를 풀어봤는데 틀렸다고 나와서 질문드립니다. 최대 범위인 20억 * 20억일 때 long long 범위가 넘는데 pow 반환값을 long long 에 저장해서 틀린게 맞을까요 ?? 그리고 pow함수의 시간복잡도는 어떻게 되는지도 궁금합니다http://boj.kr/c90ff8da35d3490b859f8ee922c59bf9
-
미해결
The Intersection of AI and Writing: Tools for Success
In today's digital age, the realm of writing has undergone a profound transformation. With advancements in Artificial Intelligence (AI), writing tasks have become more efficient and accessible than ever before.AI-powered writing tools have emerged as invaluable assets for writers, students, and professionals across various industries.These tools leverage machine learning algorithms to generate high-quality content, assist in grammar and style corrections, and even provide suggestions for creative inspiration.Moreover, the rise of AI has also brought attention to human-based custom essay writing services, where expert writers offer personalized assistance in crafting well-researched and polished essays.This article explores the intersection of AI and writing, highlighting the tools and services that contribute to success in the realm of written expression.The Power of AI Writing ToolsAI Essay Writers: Enhancing Efficiency and QualityOne of the most notable AI writing tools is the AI essay writer, which offers a range of functionalities that streamline the essay writing process.These tools employ natural language processing algorithms to understand user prompts and generate comprehensive essays on a given topic.AI essay writers can produce coherent and well-structured essays within minutes, saving considerable time and effort for individuals facing tight deadlines or struggling with the writing process.One prominent AI essay writing tool is PerfectEssayWriter, which has garnered positive mentions in various platforms such as Reddit, Quora, and Medium.It has received favorable reviews on platforms like Sitejabber, Reviews.io, and ResellerRatings. Furthermore, it has been featured in news articles such as News Direct, Yahoo Finance, and Tech Bullion.Essay Generators: Sparking Creativity and InspirationAnother remarkable AI writing tool is the essay writer, which aids individuals in overcoming writer's block and stimulating creativity.These tools use AI algorithms to generate topic ideas, provide outlines, and even suggest compelling introductions and conclusions.Essay generators serve as valuable resources for writers seeking inspiration and guidance throughout the writing process.Essay Introduction"In today's interconnected world, the rapid advancement of technology has transformed various aspects of our lives, revolutionizing the way we communicate, work, and access information.As society becomes increasingly reliant on technology, it is crucial to examine the impacts and implications of this digital revolution.This essay will delve into the advantages and disadvantages of technology in our modern era, exploring its influence on social interactions, education, and productivity.By analyzing both the positive and negative effects of technology, we can gain a deeper understanding of its role in shaping our society and make informed decisions about how to navigate the challenges and opportunities it presents."In Essay Introduction paragraph, the topic of the essay is clearly stated, which is the impact of technology in today's world. The paragraph highlights the significance of technology and its widespread influence on various aspects of life.It sets the context for the essay by explaining the importance of examining the advantages and disadvantages of technology. The introduction also mentions the specific areas that will be explored in the essay, namely social interactions, education, and productivity.Lastly, the paragraph emphasizes the importance of understanding technology's role and making informed decisions regarding its use.The Role of Human-Based Custom Essay Writing ServicesWhile AI writing tools offer significant convenience and efficiency, there are instances where a more personalized and human touch is required.This is where custom essay writing services come into play. These services connect students and professionals with experienced writers who can craft bespoke essays tailored to their specific requirements.One such service is WriteMyEssay, which specializes in providing high-quality custom essays. Platforms like Reddit and Quora feature discussions and reviews about the service. Reviews on Sitejabber and Reviews.io showcase positive experiences from satisfied customers.Similarly, 5StarEssays is another reputable custom essay writing service. It has been mentioned on platforms like Reddit, Quora, and Medium. Reviews on Sitejabber, Reviews.io, ResellerRatings, and ProvenExpert reflect the satisfaction of customers who have utilized their services.The Marriage of AI Writing Tools and Custom Essay Writing ServicesThe synergy between AI writing tools and custom essay writing services is evident. AI tools like AI essay writers and essay generators provide efficiency, speed, and inspiration, allowing individuals to overcome writing challenges and write my essay for free.On the other hand, custom essay writing services offer the human touch, providing personalized assistance and expertise for those who require customized essays.Both AI writing tools and custom essay writing services have their unique advantages and use cases. AI tools excel in generating quick drafts, proofreading, and providing general guidance.On the other hand, custom essay writing services cater to individuals who seek tailor-made essays crafted by experienced writers.ConclusionIn conclusion, the intersection of AI and writing has revolutionized the way we approach written expression. AI writing tools such as AI essay writers and essay generators offer efficiency, inspiration, and convenience.Meanwhile, custom essay writing services bridge the gap by providing personalized assistance from expert writers.By leveraging the strengths of both AI tools and human-based services, writers, students, and professionals can achieve greater success in their written endeavors.Whether utilizing AI-powered tools or seeking personalized support, the future of writing is undoubtedly enhanced by the power of AI.Comparison of 5 Best AI Writing Tools in 2023PerfectEssayWriter.ai: This AI writing tool holds the top spot due to its advanced natural language processing capabilities and a built-in plagiarism checker. It ensures high-quality, original content for users.MyEssayWriter.ai: Ranked second, MyEssayWriter offers customizable writing styles and robust grammar and spell-check features. Users can tailor their writing to meet specific requirements and ensure impeccable grammar and spelling.EssayService.ai: This tool takes the third spot, primarily due to its wide range of writing services and quick turnaround time. It caters to various writing needs, such as essays, research papers, and more, and delivers timely results.CollegeEssay.org – AI Essay Writer: Ranked fourth, this AI writing tool boasts an easy-to-use interface, making it accessible to users with varying levels of technical expertise. It also offers topic suggestions to help users get started on their writing projects.Jasper: Although not hyperlinked, Jasper still secures the fifth position. It stands out for its simplified writing process and AI-generated topic outlines, assisting users in organizing their thoughts and generating engaging content. Useful Resources:: Exploring the Potential of AI in WritingAI Writing Tools for Website Content GenerationAI Writing Tools: Exploring Emotional Intelligence
-
미해결스프링 핵심 원리 - 기본편
스프링 핵심원리 컴포넌트 스캔 질문:NoSuchBeanDefinitionException
지금 실행해보면 아래와 같은 에러가 나오는데 어떻게 하면 해결할 수 있는지 알려주시면 감사하겠습니다!org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'hello.core.member.MemberService' available
-
미해결
Module not found: Cant resolve~
안녕하세요 인프런x코드캠프 부트캠프 코스를 듣고 있습니다. 강의를 따라하다 보니 어디서 놓친건지 경로가 이상한건지 계속 이런 오류가 뜹니다. node-modules와 yarn.lock을 지운 뒤 yarn도 다시 설치해보고 해도 안되네요.. 추가로 올려야 할 파일이 있으면 알려주세요..!
-
미해결따라하며 배우는 리액트 네이티브 기초
맥이 있기는 한데..
16년도 맥이라,xcode 다운이 어렵네요..혹시 이렇게 되면 네이티브 cli 부분은진행이 어려운건가요?데스크탑은 있습니다,아그리고, npx expo start를 하고 카메라를 찍어봐도접속이 계속 안되네요...
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
강의 6:23 필드주입
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]여기에 질문 내용을 남겨주세요.6:23에 필드주입을 하면 중간에 바꿔치기를 할수있는 방법이 없다는게 무슨 말인가요? 그럼 생성자주입은 바꿔치기가 된다는건데 이게 조립될때를 말하는건가요? 그럼 필드주입은 조립될때도 안바뀐다는건가요? 실행중에 바꾸는건 세터만 된다는식으로 얘기를해서요 컨트롤러가 정확하게 어떻게 작동되는지에 대한 이해가 아직 부족한거같은데 로드맵 따라가다보면 채워지는 부분일까요?
-
미해결앨런 iOS 앱 개발 (15개의 앱을 만들면서 근본원리부터 배우는 UIKit) - MVVM까지
(기초-3)가위바위보 앱 만들기 - 기초 앱 강의 12강 질문입니다!
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.강의 코드를 모두 동일하게 작성을 했는데 comChoice의 값이 랜덤으로 바뀌지를 않는 거 같아요. myChoice는 select를 누를 때마다 변하는데, comChoice는 처음 값만 그대로 가고 변하지를 않습니다. 어떤 부분이 문제인가요?? // // ViewController.swift // RPSGame // // Created by Gahyun Kim on 2023/07/12. // import UIKit class ViewController: UIViewController { //변수 / 속성 @IBOutlet var mainLabel: UILabel! @IBOutlet var comImageView: UIImageView! @IBOutlet var myImageView: UIImageView! @IBOutlet var comChoiceLabel: UILabel! @IBOutlet var myChoiceLabel: UILabel! var myChoice = Rps(rawValue: Int.random(in: 0...2))! var comChoice = Rps(rawValue: Int.random(in: 0...2))! //함수 / 메서드 //앱의 화면에 들어오면 처음 실행되는 함수 override func viewDidLoad() { super.viewDidLoad() // 1) 첫번째/두번째 이미지뷰에 준비(묵) 이미지를 띄워야 함 comImageView.image = #imageLiteral(resourceName: "ready") myImageView.image = UIImage(named: "ready.png") // 2) 첫번째/두번째 레이블에 *준비*라고 문자열을 띄워야 함 comChoiceLabel.text = "준비" myChoiceLabel.text = "준비" } @IBAction func rpsButtonTapped(_ sender: UIButton) { // 가위/바위/보(enum)를 선택해서 그 정보를 저장해야함 //버튼의 문자를 가져옴 guard let title = sender.currentTitle else { return } print(title) switch title { case "가위" : myChoice = Rps.scissors case "바위" : myChoice = Rps.rock case "보" : myChoice = Rps.paper default : break } } @IBAction func selectButtonTapped(_ sender: UIButton) { // 1) 컴퓨터가 랜덤으로 선택한 것을 이미지뷰에 표시 // 2) 컴퓨터가 랜덤으로 선택한 것을 레이블에 문자열로 표시 switch comChoice { case Rps.rock : comImageView.image = #imageLiteral(resourceName: "rock") comChoiceLabel.text = "바위" case Rps.paper : comImageView.image = #imageLiteral(resourceName: "paper") comChoiceLabel.text = "보" case Rps.scissors : comImageView.image = #imageLiteral(resourceName: "scissors") comChoiceLabel.text = "가위" } // 3) 내가 선택한 것을 이미지뷰에 표시 // 4) 내가 선택한 것을 레이블에 문자열로 표시 switch myChoice { case Rps.rock : myImageView.image = #imageLiteral(resourceName: "rock") myChoiceLabel.text = "바위" case Rps.paper : myImageView.image = #imageLiteral(resourceName: "paper") myChoiceLabel.text = "보" case Rps.scissors : myImageView.image = #imageLiteral(resourceName: "scissors") myChoiceLabel.text = "가위" } // 5) 컴퓨터가 선택한 것과 내가 선택한 것을 비교해서 이겼는지/졌는지 판단해서 문자열로 표시 if comChoice == myChoice { mainLabel.text = "비겼다" } else if comChoice == .rock && myChoice == .paper { mainLabel.text = "이겼다" } else if comChoice == .paper && myChoice == .scissors { mainLabel.text = "이겼다" } else if comChoice == .scissors && myChoice == .rock { mainLabel.text = "이겼다" } else { mainLabel.text = "졌다" } } @IBAction func resetButtonTapped(_ sender: UIButton) { // 1) 컴퓨터가 다시 처음 준비 이미지뷰에 표시 // 2) 컴퓨터가 다시 준비 레이블에 문자열로 표시 comImageView.image = #imageLiteral(resourceName: "ready") comChoiceLabel.text = "준비" // 3) 내 선택 이미지뷰에도 준비 이미지를 표시 // 4) 내 선택 레이블에도 준비 문자열 표시 myImageView.image = #imageLiteral(resourceName: "ready") myChoiceLabel.text = "준비" // 5) 메인 레이블 *선택하세요* 표시 mainLabel.text = "선택하세요" // 6) 컴퓨터가 다시 랜덤 가위/바위/보를 선택하고 저장 comChoice = Rps(rawValue: Int.random(in: 0...2))! } }
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
회원서비스테스트 BeforeEach AfterEach
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]여기에 질문 내용을 남겨주세요.MemberServiceTest에서 BeforeEach에서 새로 객체를 불러오고 AfterEach에선 다음 테스트를 위해 저장된걸 지우는걸로 이해를 했는데 어차피 객체를 새로 만드는데 지우는 과정이 왜 필요한건가요? 그래서 AfterEach 코드를 지워봤는데 회원가입()에서부터 막히더라고요AfterEach는 테스트가 끝나고 실행되는건데 왜 첫번째 테스트부터 작동에 문제가 생기는건가요?
-
해결됨[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
앱 stop 뜨면서 종료되는 현상
실행시 stop 뜨면서 종료되는 현상이 있었으나프로젝트를 다시 재생성하면서 천천히 진행해본결과..안드로이드 프로젝트의 API 버전이 낮게 설정되어있었다. 기존에 사용하던 디바이스는 API 34 지만 프로젝트는 33이였던것... 다시 34로 맞춰서 해보니 문제없이 동작되었음..! 프로젝트와 디바이스의 버전을 맞추는게 굉장히 중요한것 같다. 거의 대부분의 문제는 버전문제인것 같다..버전을 잘 확인할것..
-
해결됨10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
1-M 반례를 잘 모르겠습니다
안녕하십니까 큰돌님좋은 로직이 아닌 것은 알지만 강의 듣기 전에 코드 작성했었는데 틀렸다고 해서 어떤 반례가 있는 것일까요 ?? http://boj.kr/d9d056ce29f948bca638664de0101191
-
해결됨10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
1-I 개념 질문있습니다
안녕하십니까 큰돌님개념에서 Map은 map<string, int> mp; 이런 식으로 사용하는 것을 알겠는데 Arr 은 어떻게 String - int하는 건가요 ?? 예시 코드라도 보여주실 수 있을까요 ?? 말로 들었을 때 이해가 잘 안 가서 질문드렸습니다 ..!
-
미해결자바 기초부터 마스터하기 with 은종쌤 (Do it 자바 프로그래밍 입문) - Part 1(기초편)
upgradeLevel에 인수를 넣기 위해 새로 AdvancedLevel 과 같은 instance를 생성하는게 어색하게 느껴집니다.
안녕하세요 강의 잘 듣고 있습니다.저는 upgradeLevel 을 하기 위해서 새로 인스턴스를 생성하고 넘겨주는 방식이 아닌 게임처럼 한단계씩 업그레이드 되는 방식으로 구현하고 싶습니다. 그래서 다음과 같이 생각해서 적어봤는데, 2가지 문제가 있는것 같습니다. 어떻게 하면 될까요? public BeginnerLevel level = new BeginnerLevel(); public void upgradeLevel(PlayerLevel level) { // if(level.levelName ) if (level instanceof BeginnerLevel) { level = new AdvancedLevel(); } else if (level instanceof AdvancedLevel) { level = new SuperLevel(); } else if (level instanceof SuperLevel) { System.out.println("you are already highest level"); } }첫째로 instanceof를 잘못쓰고 있는 것 같고, 둘째로 level = new AdvancedLevel() 이런식으로 재정의 하는게 가능한가요? 궁금합니다.
-
미해결
메모리반도체 FPGA강의
메모리 반도체(DRAM, SRAM, NAND Flash) 관련 FPGA 강의를 찾고 있는데 추천하시는 강의가 있을까요? Xilinx Evaluation kit와 SRAM, NAND Flash 칩은 보유하고 있습니다.
-
미해결스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
jstl 관련 회원목록 조회 시 에러 발생(스프링 부트 3.0 이상 사용)
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]JAVA 17, 스프링부트 3.0 이상 사용중입니다.현재 매뉴얼에는 스프링부트 3.0 이상 사용자는 dependency 부분만 수정하면 작동이 가능하다고 되어있는데회원등록 후 회원조회를 해보니 WhiteLabel Error와 함께 다음과 같은 오류가 발생했습니다.ERROR 84347 --- [nio-8080-exec-2] a.c.c.C.[.[.[.[frontControllerServletV1] : Servlet.service() for servlet [frontControllerServletV1] in context with path [] threw exception [/WEB-INF/views/members.jsp (line: [17], column: [4]) According to TLD or attribute directive in tag file, attribute [items] does not accept any expressions] with root cause이와 관련하여 해결방법을 찾아보니 JSTL의 버전업으로 인해 taglib 사용 시 uri를 "http://java.sun.com/jstl/core" 가 아닌 "http://java.sun.com/jstl/core_rt"를 사용하면 정상적으로 회원목록 조회가 작동하는 것을 확인하였습니다.관련자료 : https://erim1005.tistory.com/entry/JSTLAccording-to-TLD-or-attribute-directive-in-tag-file
-
해결됨Practical Testing: 실용적인 테스트 가이드
yml 프로파일 구분 관련 질문이 있습니다.
강의 잘 보고 있습니다. 감사합니다. 지금 설정해두신 yml 파일을 보면,아무런 프로파일을 지정하지 않으면 local 프로파일을 이용한다고 되어 있고, local 프로파일에는 ddl-auto 설정이 create으로 되어 있습니다.spring: profiles: default: local datasource: url: jdbc:h2:mem:~/cafeKioskApplication driver-class-name: org.h2.Driver username: sa password: jpa: hibernate: ddl-auto: none --- spring: config: activate: on-profile: local jpa: hibernate: ddl-auto: create show-sql: true properties: hibernate: format_sql: true defer-datasource-initialization: true # (2.5~) Hibernate ??? ?? data.sql ?? h2: console: enabled: true 기본 프로파일에는 ddl-auto 설정이 none으로 되어 있는데, 이 설정은 어떨 때 적용이 되는 건가요?어차피 아무런 프로파일을 지정하지 않으면, local 프로파일대로 ddl-auto 설정은 create을 따라갈텐데 ddl-auto: none을 적어두신 이유가 궁금합니다. 결론은 아무런 프로파일을 지정하지 않았을 때,local 파일의 ddl-auto 속성인 create이 되는지,아니면 default 프로파일로 설정한 ddl-auto: none이 적용이 되는지가 궁금합니다.
-
미해결스프링 핵심 원리 - 기본편
스프링빈 등록시점관련
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]여기에 질문 내용을 남겨주세요.스프링빈이 @Bean 메서드에서 return 되는 시점에 객체가 빈으로 등록되는게 아니라 new 연산자로 생성하는 시점에 빈이 되는 건가요???리턴하는 코드보다 의존관계 주입하는 코드가 먼저 있는데 (NetworkClient networkClient = new NetworkClient(); networkClient.setUrl("https://www.naver.com"); return networkClient;)스프링 컨테이너 생성→ 스프링 빈 생성 →의존관계 주입→ 초기화 콜백 이 순서에서 보면 빈이 new 로 생성되고 주입받고 return 하는 것 같아서요 .. .. 지금까지는 return new 객체 패턴으로 스프링에 빈을 등록했어서 조금 헷갈립니다.
-
미해결입문자를 위한, HTML&CSS 웹 개발 입문
float속성
float속성 강의에서 p태그의 가로 길이가 div의 width만큼밖에 안되어 있는데 원래는 block속성이니까 뷰포트 전체를 차지해야 하는 것 아닌가요?? 아니면 혹시 div의 자식 태그여서 부모의 width속성을 상속 받은 건가요?
-
미해결[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part4: 게임 서버
Server Service에서 함수포인터 사용관련해서 질문을 남깁니다.
using SessionFactory = function<SessionRef(void)>; Service(ServiceType type, NetAddress address, IocpCoreRef core, SessionFactory factory, int32 maxSessionCount = 1); Service의 생성자는 이런식으로 SessionFactory라는 함수포인터를 받고 있습니다. 그런데 함수포인터를 전달하지 않고, ServerServiceRef service = MakeShared<ServerService>( NetAddress(L"127.0.0.1", 7777), MakeShared<IocpCore>(), MakeShared<GameSession>, // TODO : SessionManager 등 100); 이렇게 MakeShared로 생성된 GameSession 클래스를 전달해도 잘 동작하는데, 함수포인터 형식에 클래스를 그냥 사용해도 잘 동작하는 이유가 궁금합니다.MakeShared의 함수에서 ()를 사용하지 않으면, 내부적으로 xnew함수만 전달되어서 그런것인가요? 제가 이해한게 정확한지 모르겠어서 질문을 남깁니다. (한번도 function을 이렇게 사용한적이 없어서 모르겠네요 ㅜㅜ)
-
해결됨[코드캠프] 부트캠프에서 만든 고농축 프론트엔드 코스
강의명에 오타가 있는 것 같습니다.
강의 너무 잘듣고 있습니다.23-05-login-chech-hoc / login-check-hoc-success앞쪽에 chech라고 오타가 있는 것 같아요
-
해결됨Svelte REST-API 프로젝트
첫 메인 화면 $isLogin 인증 부분 궁금한점이 있습니다.
처음 화면에서 http://127.0.0.1:3012 을 호출하면 http://127.0.0.1:3012/articles/all 주소로 자동 이동합니다.궁금한 점은 articles/all 화면에서 제일 상단에 인증되면 보이는 입력칸이 보입니다. {#if $isLogin} 으로 조건이 되어도 true 인지 입력칸이 보입니다.로그아웃 버튼을 누르면 로그인을 하지 않은 첫화면인데 작동이 되어 로그아웃으로 해제 됩니다. 이 부분이 궁금합니다. <script> import ArticleHeader from '../components/ArticleHeader.svelte'; import ArticleList from '../components/ArticleList.svelte' import ArticleAddForm from '../components/ArticleAddForm.svelte' import Comments from '../pages/Comments.svelte' import { isLogin } from '../stores' import { Route } from 'tinro' </script> <ArticleHeader /> <main class="slog-main "> {#if $isLogin} <ArticleAddForm /> {/if} <ArticleList /> <Route path="/comments/:id" > <Comments /> </Route> </main> function setIsLogin() { const checkLogin = derived(auth, $auth => $auth.Authorization ? true : false) return checkLogin }