python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Escape only ansi color in printf
I want to print in console windows path with ansi color.
Like this:
file=read -r
printf "\033[32+++Path is \\\\uncshare\\testpath\\$file++\033[0m"
I need to escape any special symbol like...
stevemayster
Votes: 0
Answers: 1
Printing char multi dimensional arrays not working like I want to
#include <stdio.h>
int main()
{
FILE *fisier;
fisier = fopen("cnp.txt", "r");
int cnpuri = 0;
char cnp[10][13];
while(1){
fscanf(fisier, "...
Xand Pi
Votes: 0
Answers: 1
Troubleshoot for loop with arithmetic in shell
I'm trying to write a loop that pulls sequencing metrics from column 2 of a txt file (ending in full_results.txt) and writes everything into a combined tsv (ideally with headers as well, but I haven't...
zoëshell
Votes: 0
Answers: 0
Sort merge two piles in C
I'm learning C and encountered with this issue: So I have a code that sorts 2 arrays (a and b) into a new array c. That should be easy enough, but the code isn't working and I'd like to ask for help, ...
Nicolás Rivera
Votes: 0
Answers: 0