Posts by Lelre Ferreira • 59 points
7 posts
-
3
votes1
answer218
viewsQ: Stack implementation in C, how to pass values?
I am trying to implement a stack in C. The prompted by the teacher is already basically done which was to show an error if the stack was full or empty. But when going to main I found great…
-
0
votes1
answer1020
viewsQ: How to count elements of a C File?
I have the following problem to solve the college, but so far I have not seen a valid solution... I made the following code up to the time of sending since help request. // // 2.c // IFTM Exercises…
-
1
votes1
answer697
viewsA: Passing matrix to function by reference
If anyone has a similar question I will leave the answer. The logic error that our collaborator Maniero commented is the following: I switched the balls when writing the matrix printing function.…
-
0
votes1
answer697
viewsQ: Passing matrix to function by reference
Good morning everyone, I wish in my code to leave the Main(); only with calling functions, all work is divided into small functions in the document. I want to write a matrix[3][3] in a function and…
-
0
votes2
answers610
viewsA: Array by function in C
The error in the above code was in passing parameters. #include<stdio.h> #include<stdlib.h> #include<locale.h> //Estava passando o endereço do vetorN e não o vetor propriamente…
-
0
votes2
answers610
viewsQ: Array by function in C
Good morning! I’m having trouble passing a vector to void function for the sorting to be done and returned, as well, problem to pass to another void function whose purpose is to display the already…
-
0
votes1
answer67
viewsQ: Programming on Ubuntu, IDE with problem
Good afternoon, I am migrating to Ubuntu and looking for a good IDE with clean visual, here I find the "Builder" and when trying to use the program two errors are displayed but fortunately one…