Posts by Lucas Oliveira • 105 points
3 posts
-
1
votes3
answers187
viewsQ: What do these operators " > " and " mean? "
The code below is part of an algorithm that shows the height of a binary tree: int left = height(p->left); int right= height(p->right); int larger = (left > right? left : right); return 1 +…
-
3
votes2
answers2606
viewsQ: How to play an audio in C Language
If you can help me, I’m doing an Electronic Urn in C language, I’d like to put that little vote after a person takes a vow. I already have that sound in . mp3 and . wav format, how do I play that…
casked Lucas Oliveira 105 -
5
votes1
answer821
viewsQ: Reduce a string in C language
How do I reduce the size of a string in C? In my program it is implemented as follows: char nomeString[] = "nomedoarquivo.txt"; I intend to cut the ". txt" of the end of the string.…