Anonymous
Unfortunately I don't understand Spanish :(:(
Edurolp
I tried to translate some thing I had to do for the class, it has 4 parts but you can start with the first one
Edurolp
https://hastebin.com/ekuvariquc
Edurolp
if there is something you don't understand just tell me
Edurolp
you should be able to test your code with this main.cpp example: https://hastebin.com/sotolepixi.cpp
Anonymous
Oh thank you very much for your help
Ŧu尺kano
Ŧu尺kano
hey guys
ENOENT
H[ae]llo
Ŧu尺kano
i want to reuse "char wort" from "eingabe()"
in "vergleichen()"
how do i do that
Ricardo Arturo
Declare the variable globally
Ŧu尺kano
Ricardo Arturo
Return the pointer from eingabe
ENOENT
Ricardo Arturo
And also, you have not called eingabe
Ricardo Arturo
Thus wort is a null pointer
ENOENT
Ricardo Arturo
You need to do more learning
Ricardo Arturo
By reading
Ricardo Arturo
Young padawan
Ŧu尺kano
ENOENT
also your while loop never returns
ENOENT
learn about boolean
ENOENT
and a lot of other stuff
Ŧu尺kano
char Eingabe() instead of void
and return wort;
?
Ŧu尺kano
Ŧu尺kano
i will break the loop when the time comes 😆
ENOENT
if you want to make this less frustrating, I would advise you to pick up a good C++ book. But if you like learning by doing, sure.
ENOENT
Ŧu尺kano
Ŧu尺kano
ENOENT
well what do you want to return from the function
Ŧu尺kano
char wort;
Ŧu尺kano
to use it in the next function
Ŧu尺kano
so i wanna return a string
ENOENT
have you turned all compiler warnings on? Should give you a hint, probably.
Ŧu尺kano
ENOENT
yeah but no help
I thought I'd let you figure this out yourself but basically you need to return a pointer
Anonymous
@notafile You're everywhere
Anonymous
(of the programming language groups)
Top T : Trollface Was Real
Is there any way to divide two numbers using hardware?(logic gates)
Evgenii
Evgenii
Top T : Trollface Was Real
Other than that?
Top T : Trollface Was Real
I don't want successive Subtraction
Top T : Trollface Was Real
Top T : Trollface Was Real
Abde
Hello!
Abde
ENOENT
Ŧu尺kano
ENOENT
then dereference the pointer :)
Ŧu尺kano
ENOENT
I've said this before, but reading a C tutorial would probably help you a lot
Anonymous
Russell
Russell
Russell
https://projecteuler.net/
Evgenii
I likehackerrank
Russell
True, good way to learn algos tho
Russell
It's kind of maths based
Yes but it requires lots of knowledge about algos, and the Math is pretty basic at the beginning
Anonymous
hello everyone
Russell
Hello!
Anonymous
has somebody used the libev libraries?
Eu
I have used it in the past
Anonymous
can it monitor the file in /proc?
Anonymous
i once used inotify to monitor the file, it worked well for files that were not in /proc, i were able to see the changes of the files. but it couldnot work for the file in /proc
Anonymous
so i want to use libev,bt i do not know wheater it will be working
Anonymous
anybody know how to monitor the system's change in linux? such as the file change, weather usb port is into ....
Anonymous
oh, i found the solution about monit the usb port
Anonymous
using the netlink