BinaryByter
C# has nothing to do with music
BinaryByter
in this context
BinaryByter
but ling ling would be proud of you
Anonymous
i am proud of you
FBI
Calvin
Hi @MissRose_bot
Steev
Qt
Thanks. And what about creating things like animation... Can qt do it?
BinaryByter
Qt is a rathole of interdependent OOP
BinaryByter
i couldn't recommend it
Mykyta
Qt often used for GUI
Mykyta
For animations better use Open GL, for example
BinaryByter
and i would not use it
Dima
Qt is good itself
BinaryByter
well, its a mess
Dima
they are making it cleaner
BinaryByter
really?
Dima
but yeah its too large for some small intermediate projects
BinaryByter
even for bigger projects, I wouldn't rely on Qt
BinaryByter
C# is a wayy cleaner version of Qt
Dima
wtf that comparesement
Dima
xD
BinaryByter
and you can seemlessly link it against a C++
BinaryByter
Dima
Ok can anyone explain how come all servers see each other in a decentralized system?
Dima
without a masterserver
BinaryByter
mhh 🤔
BinaryByter
maybe they have a masterserver for that?
BinaryByter
that then dispatches all the ips and then is P2P
Mykyta
there are many libray used for GUI
Of course, but why do not you like Qt? I think that Qt is very good tool for beginners. Of course there are many libs for GUI stronger than Qt, but harder too
Steev
Dima
for such stuff you can write your own opengl pipeline or use existing engines
Steev
Mykyta
Dima
use only opengl 3 and higher
Dima
using opengl 2.1 and less is like meh
Mykyta
Mykyta
Truly
Steev
Thanks guys🙌🙌
Steev
🎄
Mykyta
You are welcome 👌☺️
cryptpi
hello every body, can someone tell me how to get Datetime and month name. from given birth day date in 'C' or 'C++' [thanks ] ❤️
cryptpi
like using switch () case 1 : ..........
Mykyta
Do you wanna get date the same like now?
Mykyta
You can use:
# include <time.h>
Anonymous
Merry christmas
cryptpi
i want to enter my birthday date and get the day name also month
Mykyta
Well... If you wanna use switch() case, it will bad idea
Mykyta
Can you tell me how do you want to enter a date?
cryptpi
22/12/1999
cryptpi
it's like that
Mykyta
Give me a little time, I will try to write a simple code
Mykyta
Which language? C++?
cryptpi
yeah i think it's good and i will to convert them to c
cryptpi
thanks for you bro
Mykyta
I think it will be very easy code, and if you try to compile this code just in C language, you don't get any errors.
cryptpi
ok, thanks sir
Mykyta
Well
Mykyta
If I understood correctly, you want something like this:
Mykyta
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
using namespace std;
int main()
{
string date;
struct tm *tim;
time_t tt = time(NULL);
tim = localtime(&tt);
int theDay = tim->tm_mday;
int theMonth = tim->tm_mon;
int theYear = tim->tm_year+1900;
printf ("%d.%d.%d",theYear,theMonth,theDay); // Here possible to write like this: std::cout << theYear << "." << theMonth << "." << theDay;
cout << endl;
cout << "Enter a date, please: ";
cin >> date;
cout << endl;
if (date == "22/12/1999") cout << "Happy Birthday, cryptpi!" << endl; // There you can write something else, what you want.
return 0;
}
Mykyta
Of course you can choose int instead string
Mykyta
Or just add a new conditions
cryptpi
really cool Sir so thanks
cryptpi
is in c++ switch() also ??
Mykyta
No problem 👌
You are welcome
Mykyta
But why? If is working better than switch() in this path
cryptpi
switch()
{
case 1:
printf("Sunday");
case 2:
printf("Monday");
case 3:
printf("Tuesday");
case 4:
printf("Wednesday");
case 5:
printf("Thursday");
case 6:
printf("Friday");
case 7:
printf("Saturday");
}
cryptpi
cause when i enter the date i would if he give me (if it's sunday or something like that)
Mykyta
You just want that programm print you a day?
Mykyta
Name of day
Mykyta
You can create some variables for this and use them
cryptpi
ok i will try it, thanks for you Sir ❤️
Mykyta
😊👍
cryptpi
😉😇
jerry
Merry Christmas everyone 🎅🎅
klimi
/warn piracy
Anonymous
🎄 Merry Christmas 🎄
A
I need grammarly premium account any one to help me please