Search found 7 matches

by Nislipk
Fri May 10, 2013 9:19 pm
Forum: Programming Discussion
Topic: SDL Segmentation fault (core dumped)
Replies: 3
Views: 3348

Re: SDL Segmentation fault (core dumped)

ok thanks I figured it out. I didn't have the function in the right place. After I put it into the while loop it worked.
by Nislipk
Fri May 10, 2013 8:09 pm
Forum: Programming Discussion
Topic: SDL Segmentation fault (core dumped)
Replies: 3
Views: 3348

SDL Segmentation fault (core dumped)

I am learning SDL and I want to make a Player class. Right now I am trying to get sprite sheets seperated so that I can loop through the frames. It compiles without any errors but, when I try to run I get Segmentation fault (core dumped) Sorry for the wrong subjects before renamed it I am not possit...
by Nislipk
Sun May 30, 2010 9:32 pm
Forum: Programming Discussion
Topic: opengl
Replies: 2
Views: 342

Re: opengl

lol sorry will do next time. and thanks for linking it to me
by Nislipk
Sun May 30, 2010 9:19 pm
Forum: Programming Discussion
Topic: opengl
Replies: 2
Views: 342

opengl

Hey, I'm attempting to learn opengl. I was wondering if anyone has some recommended tutorials for opengl or even some books.
by Nislipk
Sat Mar 13, 2010 4:48 pm
Forum: Programming Discussion
Topic: Array Function Help
Replies: 5
Views: 621

Re: Array Function Help

its actually a structure and i had my two parameters backwards thanks...I works. Now my game went from being over 6000 lines of code to being about 1000-2000 lines. I appreciate the help. Oh and i started looking at ur development videos and the engine is pretty kool.
by Nislipk
Sat Mar 13, 2010 4:30 pm
Forum: Programming Discussion
Topic: Array Function Help
Replies: 5
Views: 621

Re: Array Function Help

lol actually that just gave me more errors. /Users/Tommy/Desktop/RPG Test/main2.cpp:326: error: invalid conversion from 'int' to 'const char*' /Users/Tommy/Desktop/RPG Test/main2.cpp:326: error: initializing argument 1 of 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const...
by Nislipk
Sat Mar 13, 2010 4:01 pm
Forum: Programming Discussion
Topic: Array Function Help
Replies: 5
Views: 621

Array Function Help

Hi, I am attempting my first C++ game. I am writing a Text Based RPG and am havin trouble with a function. Right now i have this. I plan on fixing the body up later but for now its what i need. void pickItem (string inv[5][5], int room, string item,int itemNum, string nothing) { string option; if (r...