system tag

14 questions


1 answers
364 views
0
The system ("cls") does not work.

...for(int i = 0; i <= 3 ; i++){ system(cls); turn(&A,&B,&C); printf(<PlayerStat>\n); printf(A : %d\nB : %d\nC : %d\n,A,B,C); sleep(3);}I did it like this I can't erase the cmd wi...

1 years ago

2 answers
68 views
0
Is there a language in which the operating system cannot be created? [Closed]

This question appears to be outside the scope defined in Help Center for stack overflow.Closed 6 years ago.6 years agoIs there a language in which you cannot create an operating system?if anyWhat are ...


4 answers
94 views
0
Why does the 8086 segment register have a width of 16 bits?

While reading this, I found the following statement:https://ja.wikipedia.org/wiki/Intel_8086In addition to the address register for the operation, it also has a 16-bit register for address conversion ...

2 years ago

1 answers
107 views
0
Monitoring Information Sent to the Outside (Trying to)

I have a question about both PC (Windows, Mac, Linux) and smartphone (iOS, Android). Can I check the information I sent to the outside world or check the contents of what I'm going to send and block i...


1 answers
76 views
0
I'm doing it with the os.popen function in Python, but it doesn't work. Help mecrying

import osdef run(command): file = open(tmp.py, 'w') file.write(command) file.close() res = os.popen(sudo python3 tmp.py -f).read() return resres = run (Hello)print(Result+res+)So, this is how we built...

2 years ago

1 answers
159 views
0
Operating system concepts 9th edition (dinosaur book) User thread, kernel thread question.

I have a question because I don't understand the user thread well.'Thread management is done by the thread library in user space,so it is efficient''because onlyone thread can access the kernel at a t...

2 years ago

2 answers
89 views
0
I have a question about the process state diagram in the operating system.

If you look at the process state diagram, there are states such as new, ready, running, waiting, etc.At this time, the process does not go to ready immediately when there is an input/output or event, ...

2 years ago

1 answers
118 views
0
How do I check the system version of Android?

Is there a way to know the Android system version by code? For example, 1.0, 2.2.

2 years ago

1 answers
91 views
0
How to check whether files exist or not with C regardless of operating system

Do I have to write it like this to find out if there is a file or not?Please let me know if there is a shorter way.It's too inefficient to check multiple files because there are more files. int exists...


1 answers
87 views
0
Can I find out the cache size (in lines) within the C/C++ program?

Please tell me the code to find out the cache size (in line units) in the C/C++ program.My computer uses Linux and I would appreciate it if you could tell me the other platform code.It would be nice i...

- 1 - »

© 2024 OneMinuteCode. All rights reserved.