I was being an idiot ;)
I got the path right but forgot to include it in the html img src bit heh. It was finding the directory, opening it and reading the contents but couldnt didplay the pictures becuase I forgot to tell it it.
Hi I hope someone can help, its a silly little thing really but I cant seem to find anything about it online.
Its about file paths.
I have a script that will open the directory that it is in, read the contents and display thumbnails of all the .jpg files in the directory.
That all works fine but...
Hi, I'm making a website for my portfolio and I've got a nifty little image gallery going right now, nice and simple it searches the gallery directory for all jpg images and makes a little thumbnail gallery with links to the pictures but, I dont really want it to do that.
I want to be able to...
all the code up to that point
//system includes
#include <windows.h>
#include <windowsx.h>
#include <ddraw.h>
#include <stdio.h>
//system defines
#define WIN32_LEAN_AND_MEAN
//custom includes
#include "defines.h" //global definitions
#include "bmp.h" //bmp file reader...
I'm working on a project and I'm having a problem with SetDisplayMode(1024,768,32);
I get 2 errors
main.cpp(47) : error C2501: 'SetDisplayMode' : missing storage-class or type specifiers
main.cpp(47) : error C2078: too many initializers
can anyone help?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.