886 questions
string strTest = Hello; has a size of 5 charTest[] = {'H', 'e', 'l', 'l', 'o'}; has a size of 5.What is the difference between string and char[]?
We are creating a program that sends the result value calculated using language c to ATmega128A to make ATmega128A work. The only answer is to use MFC?
//#include <stdio.h>long fib(long num);int main(void){ int seriesSize; scanf (%d, &seriesSize); if (seriesSize <2) seriesSize =2; printf(First %d Fibonacci numbers: \n, seriesSize); for...
#include<stdio.h>int main(){ int A; int B; scanf(%d%d,&A,&B); if (A>B) printf(>); else if(A=B) printf(==); else (A<B) printf(<);}I don't know why it doesn't work.136D:\Sys...
#include<stdio.h>int main(){ int score; scanf(%d,&score); if(100>=score>89) printf(A); else if(89>=score>=80) printf(B); else if(79>=score>=70) printf(C); else if(69>...
Hello.I understand that many of the programming languages can refer to themselves while defining a function or class.Recursive Function.# Python3sum = 0;def factorial(a, n) if (n==1): return 1 else: ...
Vector v1 with 5 elements and vector v2 with 3 elements are
I've been thinking about it for about 8 hours, but I can't solve it, so I'm posting a question.Like the title, I'm making a space invader game in winapi (win32). If you press the space bar, a bullet w...
#include <stdio.h>int main(void){ char name[10]; printf (Enter Your Name:); scanf_s(%s, name); printf (Your name is %s; name); return 0;}Why is that?
I saw the code in the C++ book and followed it. But I want to add and remove objects in this code. What should I do?I'm really a beginner.ㅠ
« | - 79 - | » |
© 2024 OneMinuteCode. All rights reserved.