/*This source code copyrighted by Lazy Foo' Productions (2004-2007) and may not be redestributed without written permission.*/
//The headers
#include "SDL/SDL.h"
#include "SDL/SDL_image.h"...
Type: Posts; User: stien
/*This source code copyrighted by Lazy Foo' Productions (2004-2007) and may not be redestributed without written permission.*/
//The headers
#include "SDL/SDL.h"
#include "SDL/SDL_image.h"...
Hi guys,
I made a version of tic tac toe from a book i needed to change some of the code to get it to work but it was only a consol program.
So i decided to try to use sdl to make it better ive...
im not 100% because i havent used sdl or programmed in a while now but
i think sdl_flip() acts as a buffer and stores the next screen ready to display
so if u load a black white screen onto the...
ok i dont think this will help much but lazyfoo has some great sdl tutorials ill find the link and post it but if u cant wait for that just google lazyfoo it goes through most of the sdl routines u...
hiya ive been thinking of making a game but ive had trouble but now im evan more confused.
i found a game engie and its open source and can be used by anyone for anything it can do.
the trouble...
hey i dont suppose somebody could email the files to save me having to download the whole file because ive used it befor and prefer dev?
thanks in advance
hey thanks ill download that cant wait to finish this program its been a while in the making :)
sorry i ment the code you wrote for me didnt compile when i saved it as url.cpp
but it did compile when i saved it as url.h
i just googled urlmon.h but i couldnt find any place to download it...
i compiled it but it says no such direcotry.
but when i compiled as .h
it worked?
hey thanks alot :) i really appreciate it.
at a quick glance i thinks its gone straight over my head but ill read through and study it properly. im sure that is just what i need :)
thank you :)...
if i post this link you can see what information i need from the web site
but where it says zezima u will be able to put any name you want but im sure ill work that out just need to get that info...
well if there is a gap in the market maybe you should consider trying to make one?
im gonna research the web again and see if i can find anything there :)
thanks :)
ok cool ty ill start a thread there or can this one be moved?
hehe ty :)
hi i was wondering if there is a way i can use ifstream to read from a web page and how i would do this at a guess
ifstream ins("www.webpage.com");
im pretty sure this is wrong
thanks in...
i know but my main problem was making it all work first
because im quite new to c++ the code i used before did have those loops but it didnt work so now i can edit my old program and it should...
thank you :( i cant belive i did that :) u guys are great thanks :)
this is the input file:
Agility 65 450514
Attack 78 1638569
Construction 63 368665
Cooking 74 1151417
Crafting 67 548040
Defence 75 1225165
Farming 64 409597
hi just wondering if any body could help me i have made a list of objects but i did this manually and not through a loop then i sort the list and try to ouput to a file it works fine except the last...
ok ill take that into account and i will start a whole new program from scratch instead of using the code from my book
im not sure how i would cleanup memory at this time but ill look into doing so...
hey thank you for the advice im gonna have a look into the three string things youve told me about and yes my code does need recoding :)
this is just the first prototype hopfully i can make it into...
lol well done an experienced c++ user would of spotted that straight away lol
sorry to of hinderd ya :( :)
ok i think the problem is u have 2
int main ()
have u got these in a project file?
i mean if a variable is global then u can only have that name once
but if it is local to a function then...
if u post all the source code ill see if i can fix it i do think that another name: in a source file will make an error if they are both in scope of each other
ok im not very good at this myself but it sounds like u defined something twice?
check your code to make sure any functions i.e main or variables are only defined once