1304 questions
My professor said that the function f4 in the lower right corner of the picture here is the word warning in the compiler I will, but they said it's a safe code. In my opinion, since the f4 function is...
#include < stdio.h>#include < stdlib.h>#define Q_SIZE 100typeef element; //int type is defined as the data type of the queue elementtypedef struct{element queue[Q_SIZE]; int front, rear; ...
#include < stdio.h>#include < stdlib.h>#include < string.h>typedef char element; typedef struct stackNode { element data; struct stackNode *link; }stackNode;stackNode* top; void pus...
I am a beginner developer who has been studying C++ language for almost a year.If there are more source files during development, the compilation time will eventually increase, and to solve this probl...
//168int main() { int arr[10] = {100,98,97,95,89,76,92,96,100,99}; int* parr = arr; int sum = 0; while(parr - arr <= 9) { sum += (*parr); parr ++; } printf (Mean of my test score: %d \n, sum/10)...
#include <stdio.h>int money(int m){ int a = 1, b = 1, c = 1; for (a = 1; 500 * a + 700 * b + 400 * c <= m; a++) { for (b = 1; 500 * a + 700 * b + 400 * c <= m; b++) { for (c = 1; 50...
#include <stdio.h>#include <stdlib.h>#include <fcntl.h>#include <sys/stat.h>#include <sys/types.h>#include <unistd.h>#include <string.h>#include <dirent.h&...
Can you process all incoming serial data at 115200bps with Python?I'm converting the C-sweaved sauce to Python, but I keep missing the dataI'm putting data in a circular queue and processing it, but t...
How are you? I am a student studying OpenGL. I'm just using OpenGL to squeeze the sauce, but I can't do it with my humble skills, so I end up leaving a question at dawn.The source is given a notepad, ...
#pragma warning (disable:4996)#include<stdio.h>int main(void) { int cnt = 0, digt_cnt = 0, i, total = 0; char c; while (c = getchar()) { if (c == 'q') return 0; ++cnt; {if (c >= '0' &...
« | - 67 - | » |
© 2024 OneMinuteCode. All rights reserved.