Random Thoughts.....What Are You Thinking? |
||
|
Random Thoughts.....What are you thinking?
lol, messed up.
My room feels like an oven. been playing TERA for 4 hours. alt tab to check my monitoring program.. video card running at 97ºc . . . . . pop open case and put a fan on it.
Temp drops to 80ºc Continues playing TERA. Alexander.Drokin said: » Ramuh.Laffter said: » Take the dirty diaper off and then DUCK until you get the clean one. D: Close! Take the dirty diaper off and prepare to use your hands as a shield for the poor kid in case he tries to spray himself in the face, while putting the new diaper on. I never got pee'd on. My son's mom did, though. :D LOL thats horrible
chaos where are you?? ; ; Iro Huro said: » LOL thats horrible chaos where are you?? ; ; i just need help on a program, it's being stupid and i don't understand why
Iro Huro said: » i just need help on a program, it's being stupid and i don't understand why Go ahead and post the code. I'm out of practice but I followed the last one you posted alright. If it's just syntax or something basic I might be able to still catch it. Ramuh.Laffter said: » Oh god, leaving /vp/, someone started posting Audino abuse pics. T~T All I ever see there anymore is the usual roleplay/image dump threads and maybe the occasional wi-fi general. :/ I miss the early days when /vp/ was full of ROM hacks and people banding together to make awesome games that never got anywhere. :< lol, it's not very basic, it's the advanced problem i had to do for my last chapter.
the chapter is on reading/writing to a text file, and i had to write a program that that gave you the option to enter a town and it's zip code, or search for a town by zip code. the first part i have working fine, it's the stupid search i can't get to work right. (the showCityZip() function) this is what i have atm: Is it an error while running (not doing what it's supposed to) or during compiling?
I remember doing a program almost just like that for one of my C++ courses, but yours is written a lot different. :o Anyway, back to looking through it while I wait for an answer to my question. Logic Error,
what it's supposed to do is pull all the info from the file and put it into a string, and then it searches the string for the specific zip code, where it stores it's location in the string, then i searches for the end of the the space at the end (which i need to change to a different character) and stores that location, and then it takes the part of the string thats +2 from the end of the zip code until the space and outputs that, but what it does is it outputs the last 3 digits of the zip code, the city name, and then some of the info behind it So, your input file is more than just the name and zip? (Since you mentioned information behind the city name.)
I hate to say it, but I'm a bit thrown off because your code is written so much more neatly than mine. >_> I'm stuck on this part for some reason: Code while(!inCityZip.eof())
{
getline(inCityZip, fileLines);
fileLines += " ";
fileInfo += fileLines;
}//endwhileBecause it looks like you're performing a mathematical operation on a string variable. Maybe I'm just forgetting a rule or something though. I don't remember using getline() when doing my searches. :/ Since it's skipping the first two numbers of the zip code, it's almost like it's somehow doing the +2 before it reads the variables. Eh, I know I've got to be wrong. Back to looking. EDIT: I'm seeing something with your zipLocation+2 that I want to mess with. My compiler is being annoying and giving me all kinds of errors. I'm headed to bed. If you're still working on it tomorrow, you can send me your files and I'll see if I can help. Let me know if you get it figured out. I'm curious to know what the problem is too. By the power of
aww, sorry i got distracted by something =(
that was the way i found to get the entire text file into the string, what it does is, fileLines is a temp string variable that holds each line of the text file, the getline gets a line from the text file and stores it in fileLines, then i add a space to the end, and then fileInfo is the main string that holds the entire text file, so it adds one line of text at a time to the main string. Shiva.Leonkasai said: » Ramuh.Laffter said: » Oh god, leaving /vp/, someone started posting Audino abuse pics. T~T All I ever see there anymore is the usual roleplay/image dump threads and maybe the occasional wi-fi general. :/ I miss the early days when /vp/ was full of ROM hacks and people banding together to make awesome games that never got anywhere. :< Some of the discussions in /vp/ aren't bad though. In other news, playing through a hack of LeafGreen. Caught this. :D
thats a weird looking pikachu o.o
The hack is called Moemon - LeafGreen :P
It's pretty cute, I only just started <_< i have 4 lines of code to do tomorrow ; ;
Moe creeps me out
Ramuh.Laffter said: » The hack is called Moemon - LeafGreen :P It's pretty cute, I only just started <_< Asura.Chuuuuu said: » Ramuh.Laffter said: » The hack is called Moemon - LeafGreen :P It's pretty cute, I only just started <_< Maybe later, nostalgia-ing. Jetackuu said: » Moe creeps me out so i was looking at one of those stupid facebook pages, and there was one post that was a picture of MJ and justin bieber doing the same pose, and it said "like if you like Michael Jackson, comment of you like justin bieber"
not a single comment was on that post. Ramuh.Laffter said: » Asura.Chuuuuu said: » Ramuh.Laffter said: » The hack is called Moemon - LeafGreen :P It's pretty cute, I only just started <_< Maybe later, nostalgia-ing. Jetackuu said: » Moe creeps me out This is so dumb, but the only memory I have of Digimon was a commercial they used to have in the summer one year when I was like a Sophomore in High School. The commercial's jingle went: "Beat the heat with the Digibeat! All summer!"
The reason I remember that was because every time that commercial came on, I would sing along but change the lyrics to, "Beat your meat with the Digibeat! All summer!" So that would make this a digimon then?
That would make it a Digibeat. D:
I actually have a response to that. It's:
Owwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww... Oh, I thought they just changed mon to beat to rhyme
Bismarck.Magnuss said: » I actually have a response to that. It's: Owwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww... |
||
|
All FFXI content and images © 2002-2025 SQUARE ENIX CO., LTD. FINAL
FANTASY is a registered trademark of Square Enix Co., Ltd.
|
||