Search:

Type: Posts; User: PAragonxd

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,564

    Correct me if I'm wrong, but doesn't this have...

    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...
  2. Replies
    1
    Views
    1,256

    Sorry, google delivered. Too hasty in posting...

    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...
  3. Replies
    1
    Views
    1,256

    Possibly simple question

    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...
  4. And it does, thanks :D

    And it does, thanks :D
  5. Found something that works: ...

    Found something that works:


    userNameDB.seekg(0, ios::beg);

    Anything wrong with this method? Faults that I can't see?
  6. That makes sense.. brb working some google magic.

    That makes sense.. brb working some google magic.
  7. Problem with a loop reading lines of a file

    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...
  8. Replies
    13
    Views
    2,438

    Hm, I'd work on figuring it out, but I'm going...

    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...
  9. Replies
    13
    Views
    2,438

    Awesome, thanks. I've tried running simple...

    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.
  10. Replies
    13
    Views
    2,438

    I run Linux, so I'd have to run Windows windowed...

    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...
  11. Replies
    13
    Views
    2,438

    Setting up a virtual machine seems complicated,...

    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...
  12. Replies
    13
    Views
    2,438

    Depends, is the first line of the file considered...

    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...
  13. Replies
    13
    Views
    2,438

    Reading from a files as a string

    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, ...
  14. Replies
    1
    Views
    1,451

    Console to interface

    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...
  15. Replies
    6
    Views
    14,600

    Funny that a book called "C++ Made Easy" would...

    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...
  16. Replies
    17
    Views
    2,791

    Just for reference, how would I go about making...

    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) ?
  17. Replies
    17
    Views
    2,791

    Slap me hard. Please. Thanks lol..

    Slap me hard. Please.

    Thanks lol..
  18. Replies
    17
    Views
    2,791

    The original problem referred to by this thread...

    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...
  19. Replies
    17
    Views
    2,791

    Thanks Elysia. As I was reading over the code a...

    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.
  20. Replies
    17
    Views
    2,791

    Heh, I knew it would be a small stupid error like...

    Heh, I knew it would be a small stupid error like that. Thanks.
  21. Replies
    17
    Views
    2,791

    "file_in.getline", compiler error?

    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...
  22. Replies
    9
    Views
    1,846

    Without division? I don't see how that's...

    Without division? I don't see how that's possible, but if it is I'd like to see :P.
  23. Replies
    9
    Views
    1,846

    In what situation do you need any other means of...

    In what situation do you need any other means of getting the remainder than using the "%" ?
  24. Thread: What Now!!?

    by PAragonxd
    Replies
    19
    Views
    2,457

    I agree with corned, you should definitely get a...

    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...
  25. Replies
    14
    Views
    2,090

    Lol, don't worry about it :P. I figured it wasn't...

    Lol, don't worry about it :P. I figured it wasn't on purpose.
Results 1 to 25 of 40
Page 1 of 2 1 2