give me the functions and headers to load image files; and a small example

Why don't you try asking nicely. I looked at all 3 of your posts on this forum and they are all super demanding as if you are expecting people to do work for you as if you are some boss.

give me the functions and headers to load image files; and a small example

C:
Header:
stdio.h

Functions:
fopen()
fread()
fclose()

C++:
Header:
iostream

Functions:
ifstream()
read()
get()

Have fun.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.