output tag

7 questions


2 answers
438 views
0
Understanding How Java Open Files Without a System Cache for Reading and Writing Data

Question SummaryCould you tell me how Java can do the following things that Win32 API does?Open files without a system cache to read and write dataI'm investigating, but I can't find any means at the ...

1 years ago

1 answers
318 views
0
Ask about an error that occurred while printing the python list as *

Hello. I have a question because the output of the Python list is confusing in many ways.If the elements in the list are integers, * is often used to print out the brackets, but this time I tried to a...

1 years ago

3 answers
144 views
0
It's a Java binary output recursive method, but I don't understand.

public static void bin(int num) { if(num>0) { int bin; bin = num % 2; num/=2; bin(num); System.out.print(bin); } } public static void main(String[] args) { bin(10); }This is the code, but...

1 years ago

1 answers
126 views
0
System.out.println I have a question.

Opening System.out.println().I understand that you can access the object out declared as PrintStream in the object called System and access println, which is the method of PrintStream. However, when S...

1 years ago

1 answers
119 views
0
Is it possible to input/output a C++ file through a variable in which the file name is stored instead of entering a specific file name?

I'm a C++ beginner. Hello.Not the same format as ifstream in (C:\~~~~~\Example.txt).Stored as string A = Example.txt, I wonder if there is a way to write in the same format as ifstream in (C:\~~~~\A)....

1 years ago

3 answers
122 views
0
To output a text file

I worked with Python to print the ALE.txt file in the picture like output.txt, but it's blocked to some extent. Can you help me?I made it roughly, but I don't know what to do from here.I don't know if...

1 years ago

1 answers
150 views
0
In the c++ question console window, Hello appears in red...

If I run this code, HELLO comes out in red in the console window, but why does it come out like that?Please explain in detail.char red[] = { 0x1b, '[', '1', ';', '3', '1', 'm', 0 };cout << red &...

2 years ago

© 2024 OneMinuteCode. All rights reserved.