1304 questions
void calculate();int main(void){ calculate(); return 0;}void calculate(){ char option; int num1, num2;while (1) { printf(+ - * / Select one: ); scanf(%c, &option); getchar(); switch (option) { cas...
#include <stdio.h>int* array(){ int a[3][3] = {{1,2,3}, {4,5,6}, {7,8,9}}; return (int*) a;}int main() { int (*a)[3] = (void*)array(); printf(%d , a[0][0]); printf(%d , a[2][2]);}In fact, it's a...
I made source C with visual studio, but there is an error in the inf file that I read during the build process.(input path)\paper.inp(1):error C2059: Syntax error: 'constant'An error like this appears...
First of all, if I can tell you about my situation, I'm going to do a project with MFC in a single document, and I'm going to do a basic class with FormView And I added a new dialog in the Resource Vi...
While studying the algorithm, I compared the speed using the clock function by implementing the quick alignment and the merge alignment as cIn general, I knew that quick sorting performed better than ...
When I run the Stop function, I need to show the last data that went in, but it doesn't come outDo you know what the problem is?#include<stdio.h>#include<stdlib.h>#include<string.h>#...
Farmer John developed a new way to line up the cows for dinner. N (1-15) cows should be placed in order, and a napkin with one of the three +, -, and . written between each cow should be placed so tha...
int main(){int i = 0;char ch = 0;char data[100];FILE *fp1 = fopen(data.txt,wt);FILE *fp2 = fopen(data.txt,rt);fputs (#Name: Life Coding\n, fp1);fputs (#resident number: 001234-3123456\n, fp1);fputs(#p...
I don't even understand what you mean... Please help the coding masters who will understand ㅠ
« | - 73 - | » |
© 2024 OneMinuteCode. All rights reserved.