Correct me if I'm wrong, but doesn't this have nothing to do with C++?
Everything you need to do with the picture should be handled with a 3D model editor, and then a quick google session should...
Type: Posts; User: PAragonxd
Correct me if I'm wrong, but doesn't this have nothing to do with C++?
Everything you need to do with the picture should be handled with a 3D model editor, and then a quick google session should...
Sorry, google delivered. Too hasty in posting here. For future wonderers, to run "chatmaindisplay" in a different window from the rest:
system("chatmaindisplay.bat");
//chatmaindisplay.bat...
Hey again lol,
I can't figure out how, or know if it's possible, to have one program that's running in console to run another program that also runs in console (via "system()"), and having the...
And it does, thanks :D
Found something that works:
userNameDB.seekg(0, ios::beg);
Anything wrong with this method? Faults that I can't see?
That makes sense.. brb working some google magic.
Hey guys,
This may seem familiar to a few of you, I posted the same bit of code a couple days ago, but I have a different problem with it this time. The loop reads lines of a file that contains...
Hm, I'd work on figuring it out, but I'm going back to using Windows as soon as I can. I had to reformat and reinstall Windows due to a virus, and in reformatting I lost the drivers to my Ethernet...
Awesome, thanks.
I've tried running simple programs in Wine, but they don't work; I assume it's because they are run in the windows console, not an included interface.
I run Linux, so I'd have to run Windows windowed :P.
So could I use the same reading as both the loop condition AND for checking against the entered username?
void getPass(string...
Setting up a virtual machine seems complicated, but I'll look into it
Meanwhile, would this work?
void getPass(string userName) {
string tempName, password;
ifstream...
Depends, is the first line of the file considered line 0 or line 1?
Would it start checking the passwords as usernames?
Also, I can't find anything about how to check the success of reading...
Hey there,
I'm writing a chatting system, like an instant messenger, that runs over my school's shared HD (accessed by all computers on the network). I use Ubuntu at home, and the school runs XP, ...
First off, I'm a C++ novice.
I've been wondering what the difference is (in the coding) between programs that run in the console, and programs that have a user interface. For example, a...
Funny that a book called "C++ Made Easy" would teach you char before std::string...
If you do want to stick with where your book is going though:
There's nothing here to take the users input...
Just for reference, how would I go about making it so strlen is only called once (seeing as the line of text that strlen is measuring is called within the 'for' loop) ?
Slap me hard. Please.
Thanks lol..
The original problem referred to by this thread was fixed, and since then a new problem arose.
Going along with my book, one of the exercises is to make the code that I posted in the first post...
Thanks Elysia. As I was reading over the code a last time before posting, I thought of that line in your sig when I went over the eof() part, heh.
Heh, I knew it would be a small stupid error like that. Thanks.
Hey guys, thanks in advance for the help.
I'm fairly new to C++, so the code should look very simple to the guru crowd. When I try to compile the short program below, I get the error that "struct...
Without division? I don't see how that's possible, but if it is I'd like to see :P.
In what situation do you need any other means of getting the remainder than using the "%" ?
I agree with corned, you should definitely get a better IDE. (I use codeblocks.)
Try adding this one, I think it's included in <iostream>:
#include <iostream>
using std::cout;
using...
Lol, don't worry about it :P. I figured it wasn't on purpose.