Forum: C++ May 13th, 2009 |
| Replies: 7 Views: 299 Thanks guys, it worked like a charm.. ^_^ |
Forum: C++ May 13th, 2009 |
| Replies: 7 Views: 299 Thanks i'll try cin.ignore(), and by the way, i don't think i'd want to just use cin, because when i do it doesnt allow spaces... |
Forum: C++ May 12th, 2009 |
| Replies: 7 Views: 299 I don't think so, I just use a switch/case which then calls it and thats all, heres the complete code:
#include <cstdlib>
#include <iostream>
#include <fstream>
using namespace std;
... |
Forum: C++ May 12th, 2009 |
| Replies: 7 Views: 299 Well, once again, hello. I'm trying to figure out why when i use 2 cin.getlines after eachother it skips one of them and I cant use it. Take a look if you will:
void Join()
{
char* Username =... |
Forum: C++ May 11th, 2009 |
| Replies: 2 Views: 368 Alright, so i'm trying to make a type of database using file i/o where you type in a username and password and it writes it to database.txt... The issue is, i'm trying to find a correct and clean way... |
Forum: C++ May 8th, 2009 |
| Replies: 3 Views: 1,027 Okay, thank you guys for helping me out, I appreciate it much. |
Forum: C++ May 7th, 2009 |
| Replies: 3 Views: 1,027 Well, what i'm trying to do is use cin.getline with my char pointer of 255 characters, take a look at the code below:
#include <cstdlib>
#include <iostream>
#include <fstream>
#include... |