묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결C 프로그래밍 - 입문부터 게임 개발까지
제 코드좀 봐주실 수 있을까요?
안녕하세요 항상 쉽고 명료한 강의 덕분에 너무나 잘 배우고 있습니다. 제가 계산기 코드를 따로 짜봤는데 빌드업이 되지 않아서 한 번 봐주실 수 있을까요? #include <stdio.h> void p(int plus); int main(void) { int a; int b; int plus = a + b; printf("숫자 두 개를 입력하시오\n"); scanf_s("%d %d", &a, &b); p(plus); } void p(int plus) { printf("a+b는 %d입니다.\n",plus); }
-
미해결React로 NodeBird SNS 만들기
게시글 추가하면 key 에러가 발생해서여
index.js:1 Warning: Encountered two children with the same key, `[object Object]`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version. in div (at pages/index.js:28) in Home (at _app.js:28) in div (created by Context.Consumer) in Col (at AppLayout.js:38) in div (created by Context.Consumer) in Row (at AppLayout.js:29) in div (at AppLayout.js:19) in AppLayout (at _app.js:27) in Provider (at _app.js:21) in NodeBird (created by withRedux(NodeBird)) in withRedux(NodeBird) in Suspense (created by AppContainer) in Container (created by AppContainer) in AppContainer 이거 key를 바꿔야 되는건가여? https://github.com/hyunsokstar/node_bird_22/blob/master/front/pages/index.js 알려주시면 감사여 ~! ㄳㄳ~!
-
미해결스프링 데이터 JPA
Entity 특정 컬럼을 환경에 따라 설정할수 있을까요?..
같은 서비스를 여러 나라에서 서비스중입니다. 소스는 같이 사용하나 서버나 db는 다른환경에서 운영중입니다. 타나라에서만 제공할 서비스에 컬럼을 계속해서 추가하는데한국db테이블에도 불필요한 컬럼을 계속 추가해줘야하는 이슈가생기고 있습니다. 혹시 이럴경우에 쉽게 해결할수 있는 방법이 있을까요?
-
해결됨웹 게임을 만들며 배우는 자바스크립트
코드 질문드려요!
삭제된 글입니다
-
미해결Flutter 입문 - 안드로이드, iOS 개발을 한 번에 (with Firebase)
firebase 연동 후 빌드시 에러가 납니다.
firebase 연동 후 빌드시 빌드에러가 납니다. 1. android > build.gradle dependencies { classpath 'com.android.tools.build:gradle:3.3.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'com.google.gms:google-services:4.2.0' } 2. android > app > build.gradle defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.vampireahn.instagram_clon" minSdkVersion 16 targetSdkVersion 28 multiDexEnabled true versionCode flutterVersionCode.toInteger() versionName flutterVersionName testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"} dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test:runner:1.1.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1' implementation 'com.google.firebase:firebase-core:16.0.7'}apply plugin: 'com.google.gms.google-services' 3. android > gradle.properties org.gradle.jvmargs=-Xmx1536Mandroid.useAndroidX=trueandroid.enableJetifier=true 위와같이 설정 후 빌드를 하면 * Error running Gradle: ProcessException: Process "/Users/an-yongjae/FlutterProjects/instagram_clon/instagram_clon/android/gradlew" exited abnormally: > Configure project :app registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) WARNING: API 'variant.getJavaCompile()' is obsolete and has been replaced with 'variant.getJavaCompileProvider()'. It will be removed at the end of 2019. For more information, see https://d.android.com/r/tools/task-configuration-avoidance. To determine what is calling variant.getJavaCompile(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace. WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'. It will be removed at the end of 2019. For more information, see https://d.android.com/r/tools/task-configuration-avoidance. To determine what is calling variant.getMergeAssets(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace. WARNING: API 'variantOutput.getProcessResources()' is obsolete and has been replaced with 'variantOutput.getProcessResourcesProvider()'. It will be removed at the end of 2019. For more information, see https://d.android.com/r/tools/task-configuration-avoidance. To determine what is calling variantOutput.getProcessResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace. ********************************************************* WARNING: This version of image_picker will break your Android build if it or its dependencies aren't compatible with AndroidX. See https://goo.gl/CP92wY for more information on the problem and how to fix it. This warning prints for all Android build failures. The real root cause of the error may be unrelated. ********************************************************* FAILURE: Build failed with an exception. * What went wrong: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.0 and higher. The following dependencies do not satisfy the required version: root project 'android' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.71 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 5s Command: /Users/an-yongjae/FlutterProjects/instagram_clon/instagram_clon/android/gradlew app:properties Finished with error: Please review your Gradle project setup in the android/ folder. 와 같이 빌드 에러가 납니다. 어떻게 수정을 해야 하는지 조언 부탁 드립니다.
-
해결됨파이썬 입문 및 웹 크롤링을 활용한 다양한 자동화 어플리케이션 제작하기
txt결과값이 다릅니다
강의와 같은 코드를 작성했느데 a.string의 출력값이 변하지 않아서 어떤게 잘못된건지 알 수 있을까요? 다음에 find_all("a",string="daum")을 print해도 []이렇게 찾을 수 없습니다..
-
미해결React로 NodeBird SNS 만들기
가입하기를 눌렀을때 아이콘 효과가 안보여요
signup page에서 가입하기를 눌렀을때 <Button type="primary" htmlType="submit" loading={isSigningUp}>가입하기</Button> 버튼을 누르면 액션응ㄴ 디스패치 되고 isSigningUp 도 true => false로 바뀌는데 아이콘 빙글빙글이 안돌아가여 이유가 무엇일지 혹시 알려주시면 감사여 ~!~! 리덕스 사가 https://github.com/hyunsokstar/node_bird_22/blob/master/front/sagas/user.js
-
해결됨자바 ORM 표준 JPA 프로그래밍 - 기본편
Entity 클래스의 역할
안녕하세요. 강사님! 엔티티 클래스가 역할과 책임을 가지고 주도적으로 일을 하는 클래스가 되어야 할까요 아니면 그저 DTO 같은 데이터 저장소로써 역할만 하는것이 나은지 궁금합니다!
-
미해결바닥부터 시작하는 STM32 드론 개발의 모든 것
강의자료
강의 자료는 다운 받을 수는 없나요
-
미해결홍정모의 게임 만들기 연습 문제 패키지
13분 30초쯤에 메모리누수가 생긴다는게 잘이해가 안가네요
포탄을 쏘고 움직이고 포탄을 쏘면 메모리 릭이 생기신다고 하셨는데 왜 메모리릭이 생기는지 잘이해가 안갑니다. 15분에서 힌트 주신다면서 총알이 있는 상태에서 또 스페이스를 누르면 원래 나가던 총알이 딜리트가 안된상태에서 뉴 불릿으로 새롭게 만들어지면서 메모리릭이 생기게 된다 이 이유 때문인건가요? 아니면 다른 문제 인건가요? 그리고 혹시 이런 부분에서 메모리 릭이 실시간으로 나고있는지 아닌지 확인 하는 방법이 따배c++에서 비쥬얼 스튜디오로 프로파일링 하기 이부분을 참고하면 되는건가요?
-
미해결[리뉴얼] 파이썬입문과 크롤링기초 부트캠프 [파이썬, 웹, 데이터 이해 기본까지] (업데이트)
강의자료
강의자료를 다운로드 받을수 있나요 ?
-
미해결프로그래밍, 데이터 과학을 위한 파이썬 입문
command_data[]~ append(row)까지만 해서 실행했는데 다음과 같은 에러가 뜹니다.
[코드] import csv def aetKev(item): # 데이터 정렬코드 return item[1] command_data=[] # 파일 읽어오기 코 with open("command_data.csv","r") as csvfile: spamreader=csv.reader(csvfile, delimiter=',', quotechar='"') for row in spamreader: command_data.append(row) print(len(command_data)) [실행에러] C:\workspace>python dict.py Traceback (most recent call last): File "dict.py", line 8, in <module> for row in spamreader: UnicodeDecodeError: 'cp949' codec can't decode byte 0x80 in position 590: illegal multibyte sequence
-
미해결React로 NodeBird SNS 만들기
saga 작성할때
function removePostAPI(postId){ return axios.delete(`/post/${postId}`,{} , { withCredentials: true, }); } axios로 가져올때 저 url 뒤에 {}괄호 들어가는거는 어떤 경우에 들어가는건가요??
-
프로그래밍 시작하기 : 파이썬 입문 (Inflearn Original)
이때까지 잘 이해가 됬는데...
삭제된 글입니다
-
해결됨스프링 프레임워크 핵심 기술
IoC 컨테이너 5부: 빈의 스코프 5분 15초
IoC 컨테이너 5부: 빈의 스코프 강좌 5분 15초경에 만드는 ApplicationContext ctx; 를 입력하면 ctx에 빨간줄로 아래와 같이 에러가 발생합니다. Could not autowire. No beans of 'ApplicationContext' type found. less... (Ctrl+F1) Inspection info:Checks autowiring problems in a bean class. 강사님의 장비에서는 정상적으로 진행되는 것 같은데 어떤 문제일까요? 구글에서 검색을 해봐도 잘 이해가 가질 않아서 해결을 못하고 있습니다. INTELLIJ IDEA 2018.3.6 과 JDK1.8.0.221 버전을 사용하고 있습니다.
-
미해결정말 쉽게 풀어보는 코딩 테스트 top 기본 문제 (with 자바)
정확한 문제지문
강의 잘 보고있습니다. 그런데, 문제를 정확히 이해가기 위해서는 정확한 문제설명이 필요할 듯 싶습니다. 현재까지 푼 문제들로 보면 전부 Leetcode 에서 볼수있었는데요, 정확히 문제에 대한 설명을 한글로나 영어로 적어주시면 문제가 원하는게 무엇인지 이해하는데 도움이 많이 될 듯 싶습니다. 안그러면 Leetcode 사이트를 번갈아 가며 봐야해서 번거롭네요.
-
미해결프로그래밍 시작하기 : 파이썬 입문 (Inflearn Original)
로또 추첨기
수업 듣다가 set은 랜덤으로 뽑아 올 수 있다고 하길래, 로또추첨기가 떠올라서 해봤습니다. 이거 말고 def를 이용한 것은 어떻게 해야 될 지 감이 잘 안옵니다ㅠㅠ 항상 답변 감사드립니다! a = {1, 3, 7, 9, 35, 65, 79, 94, 73, 92} while a: print(a.pop()) if len(a) < 4: print("Congratulations") break
-
미해결파이썬 사용자를 위한 웹개발 입문 A to Z Django + Bootstrap
선생님 질문드립니다!
선생님 안녕하세요? vscode로 개발중에 문제가 생겨서 질문드립니다. 맥터미널에서는 가상환경 (venv37) 의 파이썬 버전(3.7.4)이나 장고 모듈 버전(2.2.5) 인식이 제대로 되는데요, vscode의 터미널에서는 venv37환경 설정했음에도 불구하고 (vscode팔렛트로도 설정하고, conda activate venv37 명령어 사용하였습니다. 명령어 앞에 (venv37)도 잘 떠요!) venv37의 파이썬 버전이(2.2.7)로 인식되고 장고 모듈이 없다고 뜹니다 ㅠ ㅠ.. 무엇이 문제일까요? 지금까지는 맥터미널 사용해서 강의 잘 따라가고 있고, 장고 서버도 잘 동작합니다! 그러면 그냥 무시하고 맥 터미널을 사용해서 계속 강의 진행해도 될까요? 답변주시면 감사하겠습니다! 감사합니다^^
-
미해결React로 NodeBird SNS 만들기
질문입니다.!!
현업 리엑트프로젝트는 메뉴를 DB에서 가저오나요. 아니면 영상처럼 쓰나요?
-
해결됨스프링 웹 MVC
classpath
classpath에서 찾는다는 내용이나오는데요 classpath위치는 어떻게 최초이 설정되는것인지 궁금합니다.