Doubt/Question in SFML and graphics.h libraries (I am so confused) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Doubt/Question in SFML and graphics.h libraries (I am so confused)

If you want to setup the graphics.h lib we want to just set up once and we don't want to repeat that process But if we want to setup the SFML lib we want to set up that in each project (if you learn graphics.h first and then learn SFML it will be weird) My questions is... 1. Why this two is different in setup? 2. Can we setup SFML once?

12th Jul 2021, 2:00 PM
K S Mirthun
K S Mirthun - avatar
8 Answers
+ 3
1. <graphics.h> is not a standard header. Most commonly it refers to the header for Borland's turbo C++. which is a 16-bit complier and they haven't updated it since 1995! it's better to put it at rest. 2. yep, but you need to link them to the files in every project.
12th Jul 2021, 2:40 PM
Rellot's screwdriver
Rellot's screwdriver - avatar
+ 1
Please define that I am so confused 🥺🥺
12th Jul 2021, 2:02 PM
K S Mirthun
K S Mirthun - avatar
+ 1
1. Ohh ok 2. I know that but my question is, can I do that once like graphics.h so we don't want to link them in every project ( are you know how we set up the this graphics.h lib? 😅) And I also I want to be a game developer too (I saw your profile-description)☺️ Can I know your age?😅
12th Jul 2021, 3:10 PM
K S Mirthun
K S Mirthun - avatar
0
2. since I've never used it. so idk. "And I also I want to be a game developer too (I saw your profile-description)☺️" ok. "Can I know your age?😅" what you're gonna do about it?
12th Jul 2021, 3:37 PM
Rellot's screwdriver
Rellot's screwdriver - avatar
0
I can mention "bro" if your age is greater than me😅😓
12th Jul 2021, 3:39 PM
K S Mirthun
K S Mirthun - avatar
0
2. Ohh then you can't understand my question 😂
12th Jul 2021, 3:40 PM
K S Mirthun
K S Mirthun - avatar
0
Ok bro I am using MinGW compiler.. 😅
13th Jul 2021, 5:03 AM
K S Mirthun
K S Mirthun - avatar
0
I get somewhat answer for my questions..
13th Jul 2021, 5:03 AM
K S Mirthun
K S Mirthun - avatar