Jump to content

requiem

Active Members
  • Posts

    37
  • Joined

  • Last visited

Everything posted by requiem

  1. After some googling, (and then some self hatred) I found that atoi only works for cstrings, not just a char. What does your input file look like?
  2. Can you post a snippet of how you're using it?
  3. Put his snippet in a loop. while (fin) { if ( array[i] != ' ' ) .... }
  4. Could you maybe just use a Regular PDA? Something along the lines of a Dell Axim, or maybe a Nokia N900 and just not activate it.
  5. My name is Zach, and I just figured I'd introduce myself here. Mostly because the forums are slow right now.. Favourite game: Team Fortress 2 Favourite OS: n/a Favourite console: Umm, last one I owned was the PS2. So let's go with that one. Nationality: US Accent: Probably Southern.. Sex: Male Age: 18 Race: White American Height: 6'1 Status: Unknown Build: "Some extra baggage" Favourite band: It changes Favourite book: Eragon's a good one Favourite author: ... Favourite movie: I don't really play favorites. Favourite director: n/a Favourite TV Show: Chuck Favourite actor: Robert Downey Jr. Favourite actress: Natalie Portman Favourite Pinup: Darren Kitchen Favourite Comedian: n/a Other hobbies: Motorcycling, Coding Car: 1989 Ford Crown Victoria Occupation: Student / IT Guy
  6. Well I'm not very good at web design past the simple HTML side. But I'd think you want PHP (http://w3schools.com/php/default.asp, http://www.php.net/manual/en/) or maybe PERL (http://www.perl.org/books/library.html).
  7. You don't need the system command for that, just use the directory's path. For instance, if you wanted to make a text file on the C: drive you would do something like: fout.open ( "C:\mytext.txt" ) That will make a text file in that path (kinda straight forward :D ) But if you don't want it so exact, use something more like: fout.open ( "..\mytext.txt" ) That will make the file in the directory above where your program is. I hope that's what you needed.
×
×
  • Create New...