Posts by Adriel Gama • 39 points
7 posts
-
0
votes1
answer1068
viewsQ: List and Access Python subdirectories
Good afternoon guys, I’m trying to create a very simple text file management system, but in some of the difficulties I am found is accessing and manipulating files in subdirectories. Below I have…
-
1
votes1
answer357
viewsQ: Check existence of Python file with function
I searched all the repositories corresponding to my doubt here, but all are very direct when creating and reading part of files in Python, but I saw nothing related using function. Function to…
-
0
votes1
answer2428
viewsQ: Calculate execution time of a sort algorithm in C
I have a question about how to get the run time only in the sort algorithm. I searched a lot on the Internet and found a lot of superficial stuff, nothing that would help me in what I need. I have a…
-
2
votes1
answer276
viewsQ: How to modularize the following code C
Below follows a code for date entry by the user and validation of it, but would like to modularize it. I don’t know if there is a possibility to use it outside of the box, or in an external file…
-
-1
votes2
answers5608
viewsA: Count how many times each character appears in a string (no function use)
Code finalized!! EDITED #include <stdio.h> main(){ char str[30]; int i, j, count = 0, aux = 0, c = 1; puts("Informe a String"); gets(str); while (str[count] != '\0'){ count++; } for(i = 0; i…
-
-2
votes2
answers5608
viewsQ: Count how many times each character appears in a string (no function use)
I’m having the doubt in a matter of string exercises that I’m doing. The question is this below: Write a program that reads a string and prints how many times each character appears in this string…
-
-1
votes3
answers1148
viewsQ: How to concatenate strings without using a function?
Good afternoon guys, I have this question. How do I concatenate two strings without using function or library for this?