Simple console graphics in C [closed] - c

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am new to C and I would like to know if it is possible to make colorful console menus with simple graphics, like old DOS programs used to look. I am programming on Windows PC and portability is not important for this one.

Take a look at PDCurses which is a dos/windows curses implementation (curses does all the console richness in unix/linux environments).

Related

create a c programming IDE app with flutter [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 months ago.
Improve this question
which dependency can help me to run c programming language and show me the result. Creating c programming IDE is possible with flutter or not?
You can use this for syntax highlighting:-
https://pub.dev/packages/flutter_highlight
For compiling C though you can use Online Compiler APIs like:-
https://sphere-engine.com/compilers
https://www.jdoodle.com/compiler-api/
https://www.hackerearth.com/docs/wiki/developers/v4/
https://github.com/Jaagrav/CodeX-API
For emulating the terminal you can use Xterm: https://pub.dev/packages/xterm

How does C or ASM communicate with networking cards? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I was wondering how does the C or ASM code from kernel communicate with network card. I can't find this anywhere. Like when I would write my own kernel , and wanted networking how would I go about that, would I need to have separate code for each networking card that exists?

Programmatic SLI and CrossFireX Detection [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Using C how can I detect the currently installed discrete GPUs and if they are currently in CrossFireX or SLI. I am using windows 7 and openGL. I would like to discover this information so that in my game I can support Alternate Frame Rendering more efficiently.
You need to use specific extensions, for each vendor. For CrossFire, you would use WGL_AMD_gpu_association, and specifically wglGetGPUIDsAMD and wglGetGPUInfoAMD to get information about the different GPUs. For Nvidia SLI, you would use WGL_NV_gpu_affinity, and specifically wglEnumGpusNV and wglEnumGpuDevicesNV to get information about the different GPUs.
To actually utilize multi-gpu, you will also need to create your contexts with the functions within those two extensions as well.

Developing a custom filesystem for an operating system [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am developing an operating system using C, Assembler and the GCC Cross Compiler. I have already implemented a working kernel that prints to the screen and allows the user to type in some simple commands. I have already looked into some file systems such as FAT32 and LFS. What other options do I have about implementing my very own filesystem?
There's always Practical File System Design with the Be File System (PDF).

What are configuration files? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
What are configuration files? What are their use in c programs?
Additional question: What does it mean to have an error which states "Cannot open configuration file"?
A configuration file could be any file which the program uses to persistently store options, state, or data between executions. The concept is not specific to C and is probably universal to most programming languages. It is impossible, without knowing exactly what program you are dealing with, to figure out what they are, where they would be stored, or why the program wouldn't be able to open it.

Resources