Posts by Lucas Arruda • 56 points
5 posts
-
0
votes1
answer75
viewsA: Someone experienced who understands string manipulation well, who can help with this error
First of all I always recommend to post the code itself and not the image, it makes it easier to try to simulate and help in the solution. I tried to play your code and realized that the error is in…
-
1
votes1
answer481
viewsA: Largest palindrome in a string? C++
The code below searches a sentence for the sequence of characters that form a palindrome, as long as the sentence does not use comma or accent, for this case just include a check every round of the…
c++answered Lucas Arruda 56 -
0
votes2
answers407
viewsA: List chained insertion at end
You can only allocate memory and create a structure like Node after the user enters some non-zero number, otherwise the program will terminate. Then just make sure it’s the first time you’re…
canswered Lucas Arruda 56 -
-1
votes1
answer68
viewsA: How to Assign a Phrase to a line in a chars matrix?
You can assign using strcpy that is in the include cstring. So the code you set as an example should look like this: #include <stdio.h> #include <cstring> int main() { char…
-
0
votes4
answers2635
viewsA: How to Delete File or Folder in C Language
Example of how to delete file and folder in windows using Windows. h. void deletar_arquivo (string caminho) { DeleteFileA(caminho.c_str()); } void deletar_pasta (string pasta) {…
canswered Lucas Arruda 56