886 questions
Hello, I'm a reserve who just got discharged from the military while preparing to return to school for the second semester of the second year of computer engineering.I was curious while looking at the...
If there is a matrix of img_3 as shown in the figure below, it is set to go down in the top row, but when it goes down, it is set to go down in the range of +-1. Instead, I went down and picked the lo...
I'm trying to make student information output while studying c++.int main(){ int Stu[2][20] = { {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20}, {21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,...
I'm a student who just started studying through C++ Jeongol!!The question is, there are printf and cout in C++, right?When opening here, printf inserts \n in the middle of the character to open it In ...
I want to know how to find a rectangular area with a c++ if statement!
#include <stdio.h>char stack[14] = ((9/2)*(4-2));int top = -1;void h_push(int in){ top++; stack[top] = in;}int h_pop(){ int out; out = stack[top]; top--; return out;}int main() { char inpu...
I got 123456 inputI'm trying to print out 321654 What's wrong with my form??int main() { int t = 0; char str1[4]; char str2[4]; cin >> str1 >> str2; char str1copy[4] = { 0 }; char str2copy...
I'd like to ask you a very basic question I was not used to using the cout command, so I was curious about it after trying many things.If you look at the code below, for convenience of explanation, we...
#include <stdio.h>int a[4];int front = -1;int rear = -1;void enQueue(int in){ int i, j; If (ear < 3) { // <----Why should it be less than part 3 here?`` `` rear++; a[rear] = in; printf(a...
« | - 84 - | » |
© 2024 OneMinuteCode. All rights reserved.