Nov 14, 2010 at 10:05pm UTC
Hello, I wish programming and use images. Does anyone know where can I find tutorial about displaying and loading images and other about images in c++?
Nov 14, 2010 at 10:14pm UTC
C++ does not support that natively. Look for a library of some kind.
Nov 14, 2010 at 11:27pm UTC
1 2 3 4 5 6 7 8 9 10 11 12 13
#! /usr/bin/env wish
package require Tk
package require http
set url {http://www.emagportal.com/3006_C___Language_Tutorial.png.gif}
set result [http::geturl $url -binary 1]
label .lbl -image [image create photo -data [http::data $result]]
http::cleanup $result
pack .lbl -expand yes -fill both
:-)
JSYK, this is a joke. This is Tcl/Tk, to load and display a C++ image off of the internet.
Last edited on Nov 14, 2010 at 11:27pm UTC
Nov 15, 2010 at 1:33am UTC
It almost looks like bash mixed with c++.
Nov 15, 2010 at 12:57pm UTC
Google SDL (C) or SMFL (C++). Quick and easy image loading.