Nameful
Igor🇺🇦
GCC is good
Not the version that comes with Dev C++.
Nameful
Nameful
Which version is it at?
Pasolino 🛰
Nameful
Chernykh
Any IDE u like
Chernykh
I use Clion
Nameful
What compiler does CLion use on Windows?
Chernykh
Which u set
Chernykh
On windows i use MSVC because it's compatible with vcpkg
Chernykh
But Clion isn't free
Chernykh
U also can use Visual Studio but imho this is pos
Chernykh
Chernykh
Visual Studio code as variant or Sublime text (or if u hardcore - vim)
Chernykh
And if u wanna develop GUI use QtCreator
Chernykh
With Qt lib
Chernykh
Buggy is the most little problem
Pasolino 🛰
I'm using this code:
#include <graphics.h>
#include <conio.h>
#define readimagefile
#define writeimagefile
using namespace std;
int main()
{
initwindow(1920,1080,"Test");
writeimagefile("Test.jpg",0,0,1920,1080);
getch();
}
Can someone explaine because i obtain this?
Pasolino 🛰
Chernykh
> #define readimagefile
> #define writeimagefile
What?
Anonymous
Anonymous
What the fuck
Chernykh
Seems like magic... I don't understand, give me a moment
Anonymous
Chernykh
I haven't this header.
What library is it?
Pasolino 🛰
Chernykh
So, stop
Chernykh
What is u purpose
Anonymous
Sounds to me like you haven't linked the file correctly
Anonymous
Chernykh
Use Qt if it's possible)))
Pasolino 🛰
Anonymous
What do i have to do?
You have included the relevant header you must then actually provide the library function. This is probably what you haven't done
Chernykh
What error r u getting if there ain't defines?
Chernykh
And what builder for project do u use
Chernykh
Anonymous
Chernykh
If u use dll provide to ur builder path to one
Chernykh
MSVC with VS?
Chernykh
It's sampler to use it
Pasolino 🛰
Pasolino 🛰
Anonymous
https://www.cs.colorado.edu/~main/cs1300/doc/bgi/bgi.html here it says
5. When you create an executable (exe) program that uses the winbgim library, you must add the six options -lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32 (in that order)
Anonymous
If that's the library that you're using try those
gallo
Hi can someone tell me what am I doing wrong? I have to initialize x with c if x is char, if it is not I have to initialize it with c ^ m, but so it signals the error that I cannot convert from char * to char
gallo
Francisco
Try to write minimal example that reproduces your error
Francisco
And if possible, craft that example in a way that we can compile it ourselves
Kenny
Hey, i need to implement a method that receive an integer, and i must print an X.
Exemple:
n = 5
void printX(int n)
{
}
Output:
X X
X X
X
X X
X X
Kenny
Somebody can help me?
klimi
whats the problem?
Shivanshu
Kenny
Oh
Kenny
I miss the - 1 on if condition
Kenny
Thanks man, <3
Shivanshu
klimi
what a nice spoonfeeding
Johnny
Guys
Johnny
vector [x] .erase() leaves a blank space, how do you remove it?
klimi
call it just vector.erase? idk...
Pasolino 🛰
What does this error means?
undefined reference to 'readimagefile'
Pasolino 🛰
Pasolino 🛰
Francisco
Send the code here, don't pm me please
Dima
lol
Francisco
Yeah, it's not the first time some random person pms me