c++ tag

886 questions


2 answers
61 views
0
c++ Error

I wrote this code, but I keep getting errors. It's the code execution result at the bottom, but this error keeps popping up. Please, which part should I correct?

2 years ago

1 answers
25 views
0
C++ Byte Pattern Output

int dwValue = 33;For , 0x21000000int dwValue = -33;I want to print it out in the format 0xdffffffff.void show_binary(char* pAddr, int size){ cout << 0x; char dwBuffer[20]; int dwValue; for (int ...

c++
2 years ago

1 answers
101 views
0
I think there is no problem with the C++ header file, but I can't compile it.

I tried to make a header file, but I can't compile it.No matter how much I look for it, it doesn't seem strange, so what's the problem? datejin.h#ifndef _DATEJIN_H_#define _DATEJIN_H_class datejin { i...

2 years ago

1 answers
25 views
0
The C++ problem is not solved well crying

This problem is not solved well. I just don't know what's going to go in a[20]. ㅜ

c++
2 years ago

1 answers
103 views
0
Grammar inquiries when used as two-dimensional array parameters

1) When using a two-dimensional array as a parameter for a function, why is it that the horizontal size should be specified...?2) Usually, we receive separate values of col and row that tell us the si...

2 years ago

1 answers
24 views
0
I'm a C++ beginner.

Hello, I'm still a lower-grade student who only learned C++ as an undergraduate course.I've learned up to polymorphism and I want to solve algorithm problems, so I'm reviewing them again these days.Bu...

c++
2 years ago

1 answers
100 views
0
C++ structure coding questions.

#include <stdio.h>#include <conio.h> //#include <string.h> typedef struct U_Information{ //Create structure char Name [10];char RRN [15];char ID [16];char Password [16];char Phone [1...

2 years ago

1 answers
24 views
0
c++ Questions about Extinction Relevant

// Enter code here#include <iostream>class Point {public: char * name_; int age_; Point(){}; Point(char * name,int age) { name_ = new char[strlen(name)+1]; strcpy(name_,name); age_=age; } Poi...

c++
2 years ago

2 answers
27 views
0

1 answers
25 views
0
Receive multiple entries separated by C++ string spaces

In C language, char arr1[10], arr2[10];scanf(%s %s, arr1, arr2 );It was possible, but I don't know how to do it in c++.getc, getcharWithout using your back std::cin <<Is there a way to use it on...

c++
2 years ago
« - 44 - »

© 2024 OneMinuteCode. All rights reserved.