Victor D.
Have you tried compiling it without -lgdi32 or with -lgdi32.lib?
Dima
Victor D.
Honestly i've never tried to compile OpenGL apps with Mingw32, i've done so with VS C++
Victor D.
Ghoul
how to print "water melon" in cpp using thread
"water" from one function and "melon" from another
Nikolas
wtf
I_Interface
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
Александр
Anonymous
Get c ++ book
Anonymous
#cpp
Anonymous
This exe file is programmed in C++ (Yes/No)?
Anonymous
😁
Dima
thanks
Anonymous
I can suppose this guy was waiting for someone to run that executable... huh
I_Interface
Anonymous
He probably doesn't even care, he just wanted to feel like a h4x0r, spreading malicious executable around
MᏫᎻᎯᎷᎷᎬᎠ
This shit can be deleted from the group
Anonymous
I can now compile I used cmake
Anonymous
My problem is solved
Victor D.
That's good, but just for you to know what the cause of the error was, i'll explain it for you:
-First of all It was a Linking error.
-Since you are using glfw to create windows (which uses gdi32 functions under the hood), you have to tell the compiler to link it the program as if it were a Windowed App, and this is done by adding the
-mwindows option
in gcc or g++
Hope this help
Anonymous
#googleit
Anonymous
Thank you for warm welcome
Azer Abishov
Hi everybody. İ try to write a program to input 2 d array elements and print them by using pointer. But when i run program, i get this output. How can i fix this?
Azer Abishov
Dima
Dima
Here’s your link.
Azer Abishov
Thanks
Anonymous
i post this in other chat http://www.fuckinggoogleit.com/
Anonymous
then i get booted lol
Vladimir
Victor D.
Vladimir
May be it's legit - I know there is VLA, but it doesn't work on my machine.
Victor D.
Are ideone links allowed?
Victor D.
I corrected it in ideone
Mihail
Mihail
they were allowed in one of the ISO C version, but removed in the next iirc
Artöm
Artöm
Removed I mean. Added in C99 or 11
Wim
Vla's are difficult to securely generate code for and pose a risk of overflowing at runtime
Artöm
> risk of overflow
Essence of C
Anonymous
Guys any resources for learning Chinese Reminder theorm
Anonymous
???
klimi
Mihail
Were they?
Just checked, they weren't removed, but were made optional
Mihail
In C11
Mihail
So C99 has them and C11 might not
Mihail
"If the compiler defines the macro constant __STDC_NO_VLA__ to integer constant 1, then VLA and VM types are not supported. "
Anonymous
Hi
Hakeem
Thank you
Dima
Welcome!
Anonymous
Am Samuel from Nigeria. I enrolled for Programming and web design class. I need someone that can help me to be learning faster.
Anonymous
Hi
Anonymous
/saved
Anonymous
#cppbook
The Curious Cat
/saved
The Curious Cat
#cbook
progmatic99
#callingfunction
The Curious Cat
#awesomeness
The Curious Cat
#bingo
Aiman
hi, how to declare string to null?
Nitesh
/saved
Nitesh
/saved
Cyshall
/get meta
Hakeem
Admin please can you post apps used to create apps and games using c++
I_Interface
Hakeem
Sorry
Hakeem
Anyone
I_Interface
Hakeem
Computer and even phone apps
klimi
Hakeem
Put it in the group for us to download or?