c++ tag

886 questions


1 answers
91 views
0
c++ Question about code flow when tree mid-interval is carried out as a recursive function

#include <stdio.h>#include BST.hint main(){ BST myBSTtree; myBSTtree.BST_InsertNode(5, 500); myBSTtree.BST_InsertNode(3, 300); myBSTtree.BST_InsertNode(2, 200); myBSTtree.BST_InsertNode(4, 400);...

2 years ago

1 answers
29 views
0
c++ Programmer's Algorithm Problem Questions

When you solve the programmers algorithm problem and check it with the test case, if the code is scored, all but two will fail.

c++
2 years ago

1 answers
95 views
0
C++ Grammar Questions

Hello, I checked the code below while studying open source. QString name(void) const { return_name;} LinkInterface* link(void) { return _link.lock().get(); }Can we find official documents or articles ...

2 years ago

1 answers
49 views
0
I have a question about the phenomenon of not being compiled.

I'm a student studying coding with DEV C++. Even if you type a normal code to see what you touched wrong, the two screens below will appear. Because of this, I'm not making progress and I'm going craz...

2 years ago

1 answers
49 views
0
To output the C-language strings in reverse order

#include <stdio.h> // output in reverse string orderint main() { char sarr[] = banana; for (int i = 0; i < 10; i++) { if (sarr[i] == '\0') break; sarr[i] = sarr[5 - i]; printf(%c\n, sarr[...

2 years ago

1 answers
25 views
0
I'd like to ask you a question about C++ accumulate.

Hello!inputArray: [5, 1, 2, 3, 0, 1, 5, 0, 2] I want to create a code that adds numbers sequentially in that array and returns a result when I check for zero.If possible, I tried to solve it using the...

c++
2 years ago
« - 89 -

© 2024 OneMinuteCode. All rights reserved.