묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결[개정판] 딥러닝 컴퓨터 비전 완벽 가이드
eval시 bounding box 출력에 대해서 궁금한 점이 있습니다
안녕하세요 object detection 모델 훈련 후에 inference할 때 만일 개 위치에 개 박스와 사람 박스가 같이 쳐져 있는 경우에는 훈련이 잘못된건가요? NMS를 거쳐도 결국 같은 클래스 상으로 지워지기 때문에 결국 모델 훈련에 있어서 잘못된 거 같은데, 기본적인 sigmoid 기반의 focal loss가 아닌 softmax 기반의 focal loss로 접근해야 할까요?
-
미해결쉽게 시작하는 쿠버네티스(v1.30) - {{ x86-64, arm64 }}
실제 쿠버네티스 버전 업그레이드는 어떻게 이루어지나요?
본 강의에서는 쿠버네티스 버전 업그레이드를 할 때 각 워커 노드에서 수동으로 업그레이드를 진행했는데 실제 개발 환경에서는 이런 식으로 업그레이드를 진행하지 않을 거 같다는 생각이 들었습니다. 실제 환경에서 가동되는 워커 노드는 수없이 많으니까요. 물론 기업마다 팀마다 차이가 있을 거 같지만, 실제 개발 환경에서 쿠버네티스를 업그레이드할 때 워커 노드는 어떻게 업그레이드를 할까요? 강사님의 경험에서 우러나온 답변도 환영합니다 :)
-
미해결유니티 머신러닝 에이전트 완전정복 (기초편)
ML-Agnet 살펴보기 영상오류
ML-Agent영상살펴보기 23분짜리 영상 뒷부분 (21분 촬영부분)에 영상이 삭제되어서 안보이는데 고쳐주세요.
-
미해결애프터이펙트 마스터 시즌1 패키지(에피소드1,2,3,4통합)
Ep3) 15강 마스크 애니메이션 2
여러 도형이 바뀌는 것 실습을 하고 있는데요. 같은 자리에서 바뀌는 건 잘 되는데, 마지막 자리를 움직인 폴리곤에서는 강의와 같은 결과가 나오지 않더라고요. 폴리곤이 오른쪽 상단으로 올라가면, 기존의 네모 마스크만큼만 보이고 나머지는 잘려서 없어지고 안 보입니다. 어떻게 해결해야 할까요? 하기를 이용해주세요.
-
미해결자바스크립트 : 기초부터 실전까지 올인원
쌤 !!
여기서 오늘 할일을 만들었다가 저장이 되어서 날짜별로 관리를 하고 싶은데 그렇게 하려면 어떻게 해야 하나요? 오늘 할일을 작성했다면, 데이터가 저장이 되어서 다음날이 되면 어제꺼로 되는... 그런거? 어떻게 만들어야 할까요? 도와주세요~
-
해결됨따라하며 배우는 노드, 리액트 시리즈 - 기본 강의
react 5 to 6 업그레이드 관련 이슈
밑에 분도 관련 이슈로 코드예시를 들어주셨는데요. react 버전이 v5 -> v6가 업그레이드 되면서 바뀐 내용에 대한 정보는 공식홈페이지 docs 주소남깁니다. React Router | Upgrading from v5 여러가지가 있지만 우선 강의를 기준으로 switch가 Routes로 바뀌었구요. url에 있는 docs를 예시로 작성하셔도 되고, 하기 어렵다면 예제를 그대로 사용하시면 됩니다. import { BrowserRouter, Route, Routes,} from "react-router-dom"; import LandingPage from './components/views/LandingPage/LandingPage' import LoginPage from './components/views/LoginPage/LoginPage' import RegisterPage from './components/views/RegisterPage/RegisterPage' function App() { return ( <BrowserRouter> <Routes> <Route exact path="/" element = {<LandingPage/>}/> <Route exact path="/login" element = {<LoginPage/>}/> <Route exact path="/register" element = {<RegisterPage/>}/> </Routes> </BrowserRouter> ); } export default App;
-
미해결[리뉴얼] Node.js 교과서 - 기본부터 프로젝트 실습까지
passport 공식문서 질문
1. 공식문서에서는 passport-local을 받아와 그대로 생성자로 사용합니다. 강의에서는 가져온 passport-local에서 Stratege를 꺼내 LocalStrategy 생성자로 사용합니다. passport-local의 깃헙입니다. require에 .Strategy를 붙이나 안붙이나 똑같아 보이는데 원래는 15번째 줄만 있었는데 의존성때문에 수정하지않고 10번째 줄을 추가해 결국 같은건가요? 2. 공식문서를 보면 authenticate 함수를 객체로 옵션을 넣어 failureField로 실패처리를 하고 app.post에 다음 콜백으로 req,res,next를 받는 함수를 넣어 authenticate를 중간 미들웨어로 사용합니다. app.post( '/login/password', passport.authenticate('local', { failureRedirect: '/login', failureMessage: true, }), (req, res) => res.redirect('/~' + req.user.username) ); 강의에서는 authenticate함수 내부의 에러도 처리하기위해 authenticate와 (req,res,next)를 받는 함수를 합쳐 req,res,next와 authError, user, info 6개의 변수를 모두 다룰 수 있게 커스터마이징해 사용했다고 이해했습니다. 제가 궁금한 점은 공식문서를 찾아봐도 authenticate의 인자로 콜백함수를 받을 때 콜백함수가 localStrategy의 done에서 보낸 인자를 받는다는 내용을 못찾았습니다. 그래서 passportjs깃헙을 보니 함수가 정의된 부분에 document에 나오지 않은 사용법이 주석으로 설명 되어있던데 제로초님은 새로운 라이브러리를 사용할때 깃헙까지 읽으며 익히시나요?
-
미해결Node.js로 웹 크롤링하기
페이스북 로그아웃 관련해서 문의드립니다.
안녕하세요, 페이스북 로그인 로그아웃 기능을 구현하는 예제를 학습하는 도중, 해결하지 못하겠는 문제가 생겨서 질문을 남깁니다. 현재 아래와 같이 수업을 따라 진행하고 있습니다만, 페이스북이 로그아웃 버튼을 강의 시기에는 <li> 태그 안에 두어서 lastchild로 찾을 수 있었다면, 현재는 여러 해쉬 처리된 div class로 찾기가 너무너무 어렵습니다. 요소 검사로 찾았다 싶은 class도 중복이 너무 많거나 안이 비어있습니다. 혹시 페이스북에서 로그아웃을 '태그'를 통해 할 수 있는 새로운 방법이 있을까요? await page.evaluate(()=>{ document.querySelector('.i09qtzwb.n7fi1qx3.b5wmifdl.hzruof5a.pmk7jnqg.j9ispegn.kr520xx4.c5ndavph.art1omkt.ot9fgl3s.sx5rzos5.s45kfl79.emlxlaya.bkmhp75w.spb7xbtv').click; }); 항상 강의 너무 잘 듣고 있고 좋은 강의 해주셔서 감사합니다! const puppeteer = require('puppeteer'); const dotenv = require('dotenv'); dotenv.config(); const autoLogin = async () => { try { const browser = await puppeteer.launch({ headless: process.env.NODE_ENV === 'production', args: ['--window-size=1600,900'] }); browser.userAgent( 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.0 Safari/537.36' ); const page = await browser.newPage(); await page.setViewport({ width: 1080, height: 1080 }); await page.goto('https://www.facebook.com'); const id = process.env.APPLE; const pw = process.env.BANANA; /* // 방법 1: 가장 단순한 로그인 방식 await page.evaluate((id, pw)=>{ // 아이디 입력 document.querySelector('#email').value = id; // 비밀번호 입력 document.querySelector('#pass').value = pw; // 로그인 버튼 클릭 document.querySelector('._6ltg button').click(); }, id, pw); */ // 방법 2: puppeteer를 사용한 로그인 방식 // page.type(선택자, 입력값) : 실제로 해당 선택자에 입력하는 것으로 작동 await page.type('#email', process.env.APPLE); await page.type('#pass', process.env.BANANA); // hover는 특정 태그 위에 마우스를 올리는 행위를 의미 await page.hover('._6ltg button'); await page.waitFor(800); await page.click('._6ltg button'); await page.waitFor(800); // 알림 허용 등 팝업 없애기 -> esc 버튼을 한 번 누르기 // page.keyboard.press()는 인자로 들어온 키를 누르는 동작을 함 // https://github.com/wix-incubator/unidriver/blob/master/core/src/puppeteer-us-keyboard-layout.ts // ex) page.keyboard.press('Enter'); await page.keyboard.press('Escape'); await page.waitFor(1500); await page.close(); await browser.close(); } catch (err) { console.error(err); } }; autoLogin();
-
미해결
eCommerce web development company in India
The task of choosing a good eCommerce website design company is a very difficult job. It might happen that the desired profits are still not obtained even after thousands of dollars are spent. Thus, some guidelines must be pursued for predetermining whether the particular eCommerce website design company is worth the business or not. Many companies assure productivity and prove to be fruitful and profitable for the business. The first and foremost point that should be looked for is whether there is a good variety of services offered by the company or not. These services include logo designing, content designing, eCommerce web hosting, and e-commerce website design. One must also keep in mind that the website design company which is chosen should be able to provide all the updated and latest services. Some companies can prove all up-to-date services and give a new look to the business. If necessary the previous works of the eCommerce website design company must be evaluated and must be compared with other web design companies. It must be clarified whether there are qualified professionals in the company or not. A person must see whether the latest updated techniques are used by the company or not. The company will not charge for initial assessment if it is very well established and has substantial experience. One can come to know about details of work and quotes by reading several testimonials and feedbacks of their clients on their website. A good eCommerce website design company will have highly qualified professionals who possess the latest technical knowledge. Apart from updating the eCommerce website development and latest technology, one will also want an online store design for looking exceptional and unique. For this, a person has to search for an eCommerce web development company in India that will have the quality of imagination and creativity for building up such a website which will fulfill the intention of developing the online store as well as meet the criteria. The eCommerce website design must also have the capability of other eCommerce solutions such as a marketing and an advertising division that consists of various internet marketing strategies. The hosting techniques used by the eCommerce website design company must be able to meet all the special needs of the client. Once the eCommerce website is designed successfully and is updated with the latest eCommerce software and technology, special attention must be paid to customer relationship management. The CRM organization also allows the person to optimize his resources and achieve his goals. One should adapt to the changes very easily. Thus, an eCommerce website design company in Noida is very essential for maintaining a good relationship with clients. With proper communication and the use of the latest technology, we can meet the requirements of our clients and help them in gaining an edge over their contenders. Our eCommerce website design company offers cost-effective and pocket-friendly E-commerce web design services. Our team of experienced E-commerce web developers makes use PHP development, web 2.0 development, and custom website designing to meet the specific requirements of our varied clients.
-
미해결자바스크립트 : 기초부터 실전까지 올인원
todolist filter함수 이해가 안가요ㅜㅜ도와주세요..
여기에 filter에 (event)를 가지고 온것은 이해가 가는데! 뭔가 if(e)라는걸 왜 하는건지 이해가 잘 안가네요.. 기존 코드에 없던건데 if(e)가 있어야..앱이 기능이 되더라구요.. ㅜㅜ왜 넣어야하는건지.. 무슨의미인건지 궁금해요! - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
-
미해결
포토샵 기초
포토샵 배우고 싶어요 그런데 포토샵 프로그램도 깔아 주시나요?
-
미해결스프링 핵심 원리 - 기본편
의존성 주입에 대한 질문입니다.
1. 강의 3분 ~ 3분 30초에서 생성자를 통한 의존관계 주입을 설명하는 부분에서 딱 1번만 호출되고 불변한다고 하셨는데 그렇다면 그 1번의 시점은 스프링 컨테이너에 등록되는 시점이라고 봐도 되는걸까요? 2. 강의 21분 30 ~ 22분에서 필드 주입에 대해서 말씀하신 부분에 대해서 왜 OrderServiceImpl 에 파라미터가 있는 생성자가 있으면 OrderServiceImplTest 의 fieldInjectionTest 에서 오류가 나는지 궁금합니다. 3. 강의 21분 44초에서 왜 OrderServiceImplTest 에서 NPE 에러가 뜨는지 궁급합니다.
-
미해결배달앱 클론코딩 [with React Native]
apk, aab 부분 관련 오류입니다.
안녕하십니까 제로초님. 항상 강의 잘 듣고 있습니다. 우여곡절 끝에 여기까지 왔는데 apk, aab 추출하는 부분에서는 도저히 해결책을 못찾을 거 같아서 질문드립니다. 우선 에러는 위와 같고 제 build.gradle은 다음과 같습니다. apply plugin: "com.android.application" apply plugin: 'com.google.gms.google-services' apply from: project(':react-native-config').projectDir.getPath() + "/dotenv.gradle" import com.android.build.OutputFile /** * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets * and bundleReleaseJsAndAssets). * These basically call `react-native bundle` with the correct arguments during the Android build * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the * bundle directly from the development server. Below you can see all the possible configurations * and their defaults. If you decide to add a configuration block, make sure to add it before the * `apply from: "../../node_modules/react-native/react.gradle"` line. * * project.ext.react = [ * // the name of the generated asset file containing your JS bundle * bundleAssetName: "index.android.bundle", * * // the entry file for bundle generation. If none specified and * // "index.android.js" exists, it will be used. Otherwise "index.js" is * // default. Can be overridden with ENTRY_FILE environment variable. * entryFile: "index.android.js", * * // https://reactnative.dev/docs/performance#enable-the-ram-format * bundleCommand: "ram-bundle", * * // whether to bundle JS and assets in debug mode * bundleInDebug: false, * * // whether to bundle JS and assets in release mode * bundleInRelease: true, * * // whether to bundle JS and assets in another build variant (if configured). * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants * // The configuration property can be in the following formats * // 'bundleIn${productFlavor}${buildType}' * // 'bundleIn${buildType}' * // bundleInFreeDebug: true, * // bundleInPaidRelease: true, * // bundleInBeta: true, * * // whether to disable dev mode in custom build variants (by default only disabled in release) * // for example: to disable dev mode in the staging build type (if configured) * devDisabledInStaging: true, * // The configuration property can be in the following formats * // 'devDisabledIn${productFlavor}${buildType}' * // 'devDisabledIn${buildType}' * * // the root of your project, i.e. where "package.json" lives * root: "../../", * * // where to put the JS bundle asset in debug mode * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", * * // where to put the JS bundle asset in release mode * jsBundleDirRelease: "$buildDir/intermediates/assets/release", * * // where to put drawable resources / React Native assets, e.g. the ones you use via * // require('./image.png')), in debug mode * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", * * // where to put drawable resources / React Native assets, e.g. the ones you use via * // require('./image.png')), in release mode * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", * * // by default the gradle tasks are skipped if none of the JS files or assets change; this means * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to * // date; if you have any other folders that you want to ignore for performance reasons (gradle * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ * // for example, you might want to remove it from here. * inputExcludes: ["android/**", "ios/**"], * * // override which node gets called and with what additional arguments * nodeExecutableAndArgs: ["node"], * * // supply additional arguments to the packager * extraPackagerArgs: [] * ] */ project.ext.react = [ enableHermes: true, // clean and rebuild if changing ] apply from: "../../node_modules/react-native/react.gradle" apply from: "../../node_modules/react-native-code-push/android/codepush.gradle" /** * Set this to true to create two separate APKs instead of one: * - An APK that only works on ARM devices * - An APK that only works on x86 devices * The advantage is the size of the APK is reduced by about 4MB. * Upload all the APKs to the Play Store and people will download * the correct one based on the CPU architecture of their device. */ def enableSeparateBuildPerCPUArchitecture = true /** * Run Proguard to shrink the Java bytecode in release builds. */ def enableProguardInReleaseBuilds = true /** * The preferred build flavor of JavaScriptCore. * * For example, to use the international variant, you can use: * `def jscFlavor = 'org.webkit:android-jsc-intl:+'` * * The international variant includes ICU i18n library and necessary data * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that * give correct results when using with locales other than en-US. Note that * this variant is about 6MiB larger per architecture than default. */ def jscFlavor = 'org.webkit:android-jsc:+' /** * Whether to enable the Hermes VM. * * This should be set on project.ext.react and that value will be read here. If it is not set * on project.ext.react, JavaScript will not be compiled to Hermes Bytecode * and the benefits of using Hermes will therefore be sharply reduced. */ def enableHermes = project.ext.react.get("enableHermes", false); /** * Architectures to build native code for in debug. */ def nativeArchitectures = project.getProperties().get("reactNativeDebugArchitectures") android { ndkVersion rootProject.ext.ndkVersion compileSdkVersion rootProject.ext.compileSdkVersion lintOptions { checkReleaseBuilds false // Or, if you prefer, you can continue to check for errors in release builds, // but continue the build even when errors are found: abortError false } defaultConfig { applicationId "com.y2gcoder.fooddeliveryapp" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 2 versionName "0.0.5" resValue "string", "build_config_package", "com.y2gcoder.fooddeliveryapp" } splits { abi { reset() enable enableSeparateBuildPerCPUArchitecture universalApk false // If true, also generate a universal APK include "armeabi-v7a", "x86", "arm64-v8a", "x86_64" } } signingConfigs { debug { storeFile file('debug.keystore') storePassword 'android' keyAlias 'androiddebugkey' keyPassword 'android' } release { if (project.hasProperty('RELEASE_STORE_FILE')) { storeFile file(RELEASE_STORE_FILE) storePassword RELEASE_STORE_PASSWORD keyAlias RELEASE_KEY_ALIAS keyPassword RELEASE_KEY_PASSWORD } } } buildTypes { debug { signingConfig signingConfigs.debug if (nativeArchitectures) { ndk { abiFilters nativeArchitectures.split(',') } } } release { // Caution! In production, you need to generate your own keystore file. // see https://reactnative.dev/docs/signed-apk-android. signingConfig signingConfigs.release minifyEnabled enableProguardInReleaseBuilds proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" } } // applicationVariants are e.g. debug, release applicationVariants.all { variant -> variant.outputs.each { output -> // For each separate APK per architecture, set a unique version code as described here: // https://developer.android.com/studio/build/configure-apk-splits.html // Example: versionCode 1 will generate 1001 for armeabi-v7a, 1002 for x86, etc. def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4] def abi = output.getFilter(OutputFile.ABI) if (abi != null) { // null for the universal-debug, universal-release variants output.versionCodeOverride = defaultConfig.versionCode * 1000 + versionCodes.get(abi) } } } } dependencies { implementation fileTree(dir: "libs", include: ["*.jar"]) //noinspection GradleDynamicVersion implementation "com.facebook.react:react-native:+" // From node_modules implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0" implementation 'com.naver.maps:map-sdk:3.14.0' implementation files('libs/com.skt.Tmap_1.70.jar') implementation files('libs/com.skt.Tmap_1.70.jar') implementation files('libs/com.skt.Tmap_1.70.jar') implementation files('libs/com.skt.Tmap_1.70.jar') implementation files('libs/com.skt.Tmap_1.70.jar') implementation files('libs/com.skt.Tmap_1.70.jar') implementation files('libs/com.skt.Tmap_1.70.jar') debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") { exclude group:'com.facebook.fbjni' } debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") { exclude group:'com.facebook.flipper' exclude group:'com.squareup.okhttp3', module:'okhttp' } debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}") { exclude group:'com.facebook.flipper' } implementation platform('com.google.firebase:firebase-bom:29.1.0') implementation 'com.google.firebase:firebase-analytics' if (enableHermes) { def hermesPath = "../../node_modules/hermes-engine/android/"; debugImplementation files(hermesPath + "hermes-debug.aar") releaseImplementation files(hermesPath + "hermes-release.aar") } else { implementation jscFlavor } } // Run this once to be able to run the application with BUCK // puts all compile dependencies into folder libs for BUCK to use task copyDownloadableDepsToLibs(type: Copy) { from configurations.implementation into 'libs' } apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) 나름 제로초님이 올려주신 깃헙과 구글링을 해봤는데, 네이티브 쪽을 모르다 보니 쉽게 해결할 수가 없습니다. 혹시 이러한 문제를 겪어보신 적 있으십니까?
-
해결됨안드로이드 앱 모의해킹/분석 시작하기 (With.IDA/JEB/Frida)
so파일 디버깅 에러 문의드려요
살기기 64bit 에서 안드로이드 서버 실행후 포트열고 lib\arm64-v8a\libnative-lib.so 를 ida로 실행후 앱 패키지에 attach까지는 되었는데요 (ida 7.0버전) attach 순간 아래와 같이 에러가 나면서 어떠한 버튼을 눌러도 안되더라고요 해결방법이 있을까요???
-
해결됨안드로이드 앱 모의해킹/분석 시작하기 (With.IDA/JEB/Frida)
odex 파일 추출 에러 질문입니다
odex 파일 메모리맵에서 adb로 추출한다음 dex파일로 변경하려고 하는데 에러나서 문의드려요 녹스에서 추출한파일은 test.dex, 실기기에서 추출한파일은 test.odex파일 이렇게 되던데 둘다 backsmali 사용시 에러가 나네요;;; backsmali 버전을 달리해도 에러나고 방법 문의드립니다
-
미해결[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part1: C++ 프로그래밍 입문
연산자 오버로딩을 하지 않았는데 = 는 왜 작동하는건가요?
posA = posB; 가 실행되려면 미리 연산자 오버로딩을 해야하는거 아닌가 싶어서요!
-
미해결홍정모의 따라하며 배우는 C언어
질문있습니다!!
원래 질문 글이 사라져있네요 ㅠㅠ 도움 받아서 결국 프로그램은 다 작성했습니다 감사합니다 ㅎㅎ 한가지 해결하지 못한 것이 있어서 다시 찾아왔습니다 ㅠㅠ scanf가 '\n'를 읽지 않는다/ 읽어내지 못한다 라는 말을 답변에서도 보고 다른 질문자분들의 답변에서도 봤는데요, 1. scanf(" %c", &A)처럼 %c 앞에 한 칸을 띄우는 이유가. scanf가 여러줄 있을 시 앞에서 입력되어 있는 '\n'를 문자로 받아들 일 수 있기 때문이지 않나요? 즉 scanf는 정상적으로 '\n'를 읽어낼 수 있지 않나요? 2. 저는 이 예제를 작성할 때에 콘솔창에 입력하는 방식이 (문자)-(space)-(숫자)-(space)-(숫자)-('\n')형식이다 보니 마지막 '\n'이 while문을 한바퀴 돌고 난 후의 문자 입력시 영향을 줄 수 있다고 생각해서 " %c"로 작성하였었습니다. 그런데 scanf(" %c", &A);는 '\n'(엔터키)를 실제로 인식하지 못하던데 왜그런가요..?(1번이랑 이어지는 내용 같네요 ㅠㅠ) 3. 찾아보니 scanf는 형식 지정자에 어긋나는 자료를 받게되면 동작을 멈춘다고 했는데 scanf("%d%d%d", &a, &b, &c)로 디버깅을 해보니 입력받는 자료가 중간부터 틀릴 경우에도 아예 처음부터 입력을 안받은 것 마냥 원래의 숫자가 들어가 있었는데요, 중간까지라도 맞게 입력받은 숫자들은 그냥 날아갔다고 보면 되나요? 버퍼에도 남기지 않고 그냥 없어진건가요?! 감사합니다
-
미해결홍정모의 따라하며 배우는 C언어
exception throw
9:34 에 나오는 코드를 따라했는데 다음 화면처럼 오류가 뜨고 실행이 되지 않았는데요 제가 다른 분 질문보고 혹시 이건가 해서 고쳤더니 해결되었습니다. (malloc이 <stdlib.h> 에 정의되어 있는데 이것을 include 하지 않아서 였습니다. ) 그런데 강의화면의 경우 <stdlib.h>를 쓰지 않고도 실행이 잘되는데 <stdlib.h>가 뭔가 세부내용이 바뀌어서 그런 건가요? 그리고 이번에는 다행히 잘 해결된 상황이긴 하지만 제 화면에서처럼 저러한 exception throw 오류가 뜨면 저것을 보고 'malloc이 정의가 안 되어있구나' 라고 어떻게 생각해야 하나요? malloc에 빨간 줄이 쳐진 것도 아니고 오류를 어떻게 해결해야 했던 건지 궁금합니다.
-
미해결나만의 포트폴리오 웹페이지 만들기
화면이 너무작아요
이렇게 조그만한 글씨 인강 처음 봐요. 화면 크게 어떻게 못하나요? 한강의 할때마다 눈 아파요
-
미해결자바(Java) 알고리즘 문제풀이 입문: 코딩테스트 대비
문제의 예시가 이해가 되지 않습니다.
안녕하세요. 아래에 같은 질문을 남겨주신 분이 계셨는데 댓글을 읽고도 잘 이해가 안 가서 질문드립니다. 3 1 4 2 에서 4번학생이 3등이고 2번 학생이 4등이라고 하더라도 결과가 3이 어떻게 나오는 지 모르겠습니다. 학생번호가 아래과 같고 4 3 2 1 순위가 아래와 같다면 3 4 1 2 4 3 2 1 3 1 4 2 3번 학생은 1번 학생보다 주어진 3문제 모두 등수가 앞서야만 멘토가 될 수 있다는 것인데 첫번째 문제에서 4등을 하였고 1번 학생이 2등을 하였는데 어떻게 멘토가 될 수 있는 건가요?