Search found 160 matches

by lotios611
Sat Jan 09, 2010 6:06 pm
Forum: Programming Discussion
Topic: Button Class Not Drawing
Replies: 7
Views: 542

Re: Button Class Not Drawing

Do you mind posting your ApplySurface() function?
by lotios611
Sat Jan 09, 2010 12:49 pm
Forum: Current Events and Science/Technology
Topic: Media tries to linch game industry with its own intestines.
Replies: 48
Views: 8623

Re: Media tries to linch game industry with its own intestines.

That makes absolutely no sense. If kids want to search for porn, they can do so on anything with an internet connection and a powerful enough memory. If people think that the PSP is the only portable device that can connect to the internet, then they are so very wrong.
by lotios611
Fri Jan 08, 2010 2:12 pm
Forum: General/Off-Topic
Topic: Nearly killed this website on accident...
Replies: 8
Views: 1025

Re: Nearly killed this website on accident...

That would of sucked. Out of curiosity, do you have backups of the forums?
by lotios611
Thu Jan 07, 2010 6:36 pm
Forum: Programming Discussion
Topic: [SOLVED] Parsing a text file
Replies: 13
Views: 906

Re: Parsing a text file

I think I figured it out. First, read in the file until before the first space. Then ignore the junk. Finally, put the word and the definition into the dictionary. Right?
by lotios611
Thu Jan 07, 2010 6:32 pm
Forum: Programming Discussion
Topic: [SOLVED] Parsing a text file
Replies: 13
Views: 906

Re: Parsing a text file

Thanks for that code man! I have one question though. What does "file.ignore(3)" do?
by lotios611
Wed Jan 06, 2010 6:29 pm
Forum: Programming Discussion
Topic: [SOLVED] Parsing a text file
Replies: 13
Views: 906

Re: Parsing a text file

I should really be more specific. My problem is that I have no idea how to separate the two words and put them into an std::map. I want only the words stored in the std::map.
by lotios611
Wed Jan 06, 2010 5:21 am
Forum: Programming Discussion
Topic: [SOLVED] Parsing a text file
Replies: 13
Views: 906

Re: Parsing a text file

I can't believe I left that part out. What I'm trying to do is separate the words and store them into an std::map.
by lotios611
Tue Jan 05, 2010 6:06 pm
Forum: Programming Discussion
Topic: [SOLVED] Parsing a text file
Replies: 13
Views: 906

[SOLVED] Parsing a text file

I'm trying to parse text files into an std::map. The text file is set up like this: Hello - A word Testing - Testing APPLES - ANOTHER WORD banana - a fruit Here's some code I have written so far, it's not much though. std::fstream file; std::string line; file.open("File.txt"); if (file.is_...
by lotios611
Tue Jan 05, 2010 5:18 pm
Forum: Game Development
Topic: What projects are you currently working on?
Replies: 500
Views: 162456

Re: What projects are you currently working on?

I'm working on a console dictionary. Nothing much, but I've been wanting to make this for a long time. I barely have the skills required. I've never used the STL before, so that's a major challenge. I'm also having troubles parsing text-files.
by lotios611
Fri Jan 01, 2010 9:03 am
Forum: Programming Discussion
Topic: Error with File Loading
Replies: 4
Views: 374

Re: Error with File Loading

I actually never bothered to look "Segmentation fault" up. You learn something new every day.
by lotios611
Thu Dec 31, 2009 2:00 pm
Forum: Programming Discussion
Topic: Error with File Loading
Replies: 4
Views: 374

Re: Error with File Loading

Like I said, I already fixed it. So that's what a segmentation fault is...
by lotios611
Thu Dec 31, 2009 1:42 pm
Forum: Programming Discussion
Topic: Error with File Loading
Replies: 4
Views: 374

Error with File Loading

Well, I was just screwing around with file loading, and this weird bug happened. I've fixed the bug, but I just wanted to post what happened. Here's main.cpp: #include <string> #include <fstream> #include <iostream> int main() { std::string temp[5]; int i = 0; std::fstream file; file.open("Dict...
by lotios611
Mon Dec 28, 2009 9:33 am
Forum: General/Off-Topic
Topic: Online vs retail prices ( US )
Replies: 18
Views: 1589

Re: Online vs retail prices ( US )

If your only going with the Lite for the GBA slot, get the older one. ALL models of the DS have a GBA slot. Actually, why else would you get a Lite?
by lotios611
Tue Dec 22, 2009 2:24 pm
Forum: Art, Music, and Design
Topic: Grass Tile
Replies: 2
Views: 1056

Re: Grass Tile

Yeah, I've seen that. I agree with you, to repetitive. Oh well, it's my first grass tile that I actually sort of like.
by lotios611
Tue Dec 22, 2009 10:53 am
Forum: Art, Music, and Design
Topic: Grass Tile
Replies: 2
Views: 1056

Grass Tile

Well, I decided I'd get my pixel art skills up. So I made some grass. Which version do you like better?
Second version
Second version
Testing2.png (228 Bytes) Viewed 1197 times
First version
First version
Testing.png (222 Bytes) Viewed 1197 times