olli
Hello. Am I able to ask anything about C language in this group. I mean to help me find the solution if I got error on my code. The pinned message look really strict 🤐
Sure go ahead :) As long as you can show what you have done so far it will be fine! (e.g. this is my code, works for input X but fails for input y, i expect it to be z) We don't want anyone to ask us to do their homework/assignments/.... That's why the rules are quite strict.
Ayan
Which keyword can be used to create a data type identifier ?
Hayk
Guys I am really bad at c++. I am coding in python for now. But I still love c++ a lot more. Why?🤔
Anonymous
Because it is superior
No, it's just people who compare languages are dumb
Hayk
Because it is superior
Ehm Each language is used a lot. you can't compare them that way
Thespartann
Thespartann
What?
Mihail
Delete this
Mihail
@linuxer4fun
Mihail
Also enable reports so Rose notifies you, if you haven't
Mihail
Seems like you haven't
BinaryByter
#report
Brandy
you can remove me...i dont care
Brandy
sorry
Anonymous
sorry
Hmm, why not
BinaryByter
Ehm Each language is used a lot. you can't compare them that way
python is but a scripting language, however, it was perverted into a full blown language. you can do a olt with it ,but not elegantly
klimi
Morning. .....
klimi
Well
olli
Python was and still is an interpreted high-level programming language for general-purpose programming.
BinaryByter
oh no :(
BinaryByter
i still hate python
klimi
Python Is nice
Anonymous
i still hate python
Why you change your name
Anonymous
Can anyone tell me about enum ...
BinaryByter
Why you change your name
i am still maxi and I have always been maxi
BinaryByter
Can anyone tell me about enum ...
enums just means giving a name to a value
BinaryByter
for example, you have an int that shows the state of a system
BinaryByter
you can either have
BinaryByter
if (state == 1) if (state == 2) if (state == 3)
BinaryByter
or you can have
BinaryByter
if (state == OPEN)
BinaryByter
if (state == CLOSED)
BinaryByter
if (state == UNKNOWN)
Anonymous
Thnx maxi..
BinaryByter
sure
BinaryByter
good question!
Anonymous
Anonymous
Please share any projects in c
olli
Please share any projects in c
https://github.com/trending/c?since=daily
BinaryByter
Please share any projects in c
https://github.com/Wittmaxi/webcpp
BinaryByter
😏
BinaryByter
;_;
olli
(how) do you plan to integrate ajax into your webcpp?
BinaryByter
what is ajax?
Jussi
Please share any projects in c
https://github.com/jussihi/Performance-tester
olli
what is ajax?
Ajax (also AJAX /ˈeɪdʒæks/; short for "Asynchronous JavaScript And XML") is a set of Web development techniques using many Web technologies on the client side to create asynchronous Web applications. Basically what allows you to use telegram as website without the need to refresh it to read new messages
BinaryByter
this is not client side
olli
of course
BinaryByter
i see
olli
e.g. you could send a request to the server each second to check for new messages. If there are new messages download them, using ajax, and change the site accordingly.
BinaryByter
well yea
BinaryByter
but how does that apply to webcpp?
olli
but how does that apply to webcpp?
how can you create a page that dynamically loads content and changes the dom accordingly?
BinaryByter
well - not with webcpp
olli
so webcpp is basically only or static pages?
BinaryByter
it is but a template engine
BinaryByter
howevery since it runs on CGI; you can make your pages dynamic
BinaryByter
except you do it in the php-style
olli
but only on page refresh
BinaryByter
yea
olli
aka server side
BinaryByter
lemme think of how i could best implement ajax
olli
which is like pre 2000's
BinaryByter
lemme think of how i could best implement ajax
tbh I don't see a good solution
BinaryByter
IMHO the programmer should create some js for himself
BinaryByter
and that js is then used for ajax
olli
but why should anyone write more boilerplate with less assitance in webcpp than directly in HTML?
olli
I currently fail to see the use-case of webcpp
BinaryByter
mhh good point
BinaryByter
however, how could I implement ajax?
BinaryByter
like