klimi
Anonymous
klimi
Anonymous
hiii
Raaj
How to find space complexity ????
Raaj
Of a algorithm
Anonymous
https://www.studytonight.com/data-structures/space-complexity-of-algorithms
Anonymous
Raaj
Thanks dear
Giri
Hii whats is vector in c
Artöm
Structure which represents dynamic array
Artöm
Write it yourself
Dima
/bait
klimi
Dofwfiom
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow)
{
WNDCLASSEX wc;
HWND hwnd;
MSG Msg;
//Step 1: Registering the Window Class
wc.cbSize = sizeof(WNDCLASSEX);
wc.style = 0;
wc.lpfnWndProc = WndProc;
wc.cbClsExtra = 0;
wc.cbWndExtra = 0;
wc.hInstance = hInstance;
wc.hIcon = LoadIcon(NULL, szIconName);
wc.hCursor = LoadCursor(NULL, IDC_NO);
wc.hbrBackground = (HBRUSH)(COLOR_WINDOW + 3);
wc.lpszMenuName = NULL;
wc.lpszClassName = g_szClassName;
wc.hIconSm = LoadIcon(NULL, IDI_ASTERISK);
Dofwfiom
char szIconName[] = "IDI_ICON1";
Dofwfiom
Can anybody help with wc.hIcon = LoadIcon(NULL, szIconName);
Dofwfiom
szIconName do not show my icon
Anonymous
Why do you use pure WinApi?
Dofwfiom
why not???
Anonymous
Because there are more convenient technologies to build UIs?
Dofwfiom
for example
Anonymous
WinApi is ugly af, not readable and support cost is very high
lei
Anonymous
Crossplatform, more high-level and readable framework to build desktop UI
Anonymous
Dofwfiom
I am still can't understand why i WINAPI ugly
Anonymous
What can we build with c
Anonymous
Anonymous
Anonymous
Dofwfiom
yeah it work only on windows))
Anonymous
14•08
Anonymous
Anonymous
Qt is a better choice anyway
Dofwfiom
why i need use only few ways of creating window
Dofwfiom
if you need create game you should choise OpenGL
Dofwfiom
++
Anonymous
So it's better to use them than pure OpenGL :)
Anonymous
It'll be faster to build a game, I think
Dofwfiom
no
Dofwfiom
it's just more simple)))
Mar!o
Bettet use Vulkan its more powerful than OpenGL
Dofwfiom
and faster
Mar!o
I would recommend bgfx. Its a cross platform intermediate rendering library support dx11, 12, open gl, vulkan and much more. Its easy to use and open source.
Anonymous
/unmute Ali
Mar!o
It'll be faster to build a game, I think
Well hes right if you want to build a game better use Unity, Unreal or CryEngine or even open source Godot. Sure you can build your own engine and its fun and cool but also a lot of work and it takes long
Dofwfiom
game would be better without engine))
Mar!o
So you want to build your own engine?
Anonymous
No, he is just a troll
Mar!o
Mar!o
I dont like trolls 😐
Dofwfiom
all can use enjine but only man can use BIOS interruptions to create snake
Dofwfiom
*engine
Mar!o
?
Anonymous
Dofwfiom
Anonymous
Guys i just want to ask, that i want to start learning programing language...i am a beginner...so, from which programming language should i have to start??
Maksim
C
Dofwfiom
the main thing is not php
Anonymous
{CSA}
Hi
Anonymous
Hi
મીત
If anyone can help me with this problem:
મીત
https://practice.geeksforgeeks.org/problems/leaders-in-an-array/0/
મીત
My solution and issue is written here:
મીત
https://notepad.pw/motaabhai
Anonymous
https://stackoverflow.com/questions/3222572/convert-a-single-character-to-a-string
Anonymous
Why doesn't the string firstLetter = str[0] + ""; work as asked by the OP?
🇰 🇷 🇦 🇹 🇴 🇸😜
But for gui, not good idea
🇰 🇷 🇦 🇹 🇴 🇸😜
I think pure win API is good for hacking
Artöm
Lol
Anonymous
Bonsoir tout le monde. ...