Search:

Type: Posts; User: thelimpkid

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,177

    Ah, it works now. Thank you!

    Ah, it works now.
    Thank you!
  2. Replies
    2
    Views
    1,177

    C++ in linux?

    This may sound as an completely stupid question. But I'm really confused.

    I want to program in C++ for Linux. I'm using Eclipse now, and I installed the C/C++ Development Tools.

    I wanted to...
  3. Replies
    3
    Views
    889

    Thanks vart. I got it to work: ...

    Thanks vart. I got it to work:


    source.close();
    std::remove(d.filename.c_str());
  4. Replies
    3
    Views
    889

    Removing a file

    I created a program to encrypt/decrypt files. The problem is, it creates a new file for the encryption program.

    Now I want to remove the unencrypted file.

    I tried:


    std::remove(d.filename);
  5. Replies
    15
    Views
    2,976

    I still use Microsoft Visual Studio 2008 Beta 2...

    I still use Microsoft Visual Studio 2008 Beta 2 with all updates. And it works fine.
    Is there much difference between Beta 2 and the final version?
  6. Replies
    8
    Views
    1,327

    how can I check the username of the windows...

    how can I check the username of the windows account that logged in?
    So I can make a app of the time/date/username who logged into windows..
  7. Replies
    6
    Views
    10,192

    hmm, so I could call a batchfile too.. not that...

    hmm, so I could call a batchfile too.. not that it's very usefull lol. I will try if it works in C++ too.. Thanks :)
  8. Replies
    6
    Views
    10,192

    thanks alot!

    thanks alot!
  9. Replies
    6
    Views
    10,192

    How to hide output in a console

    I was wondering how I could hide output from a console window. I'm creating a newsupdating script and use:

    system ("ftp -s:filename.txt");
    to upload the file, but I want to hide the output of the...
  10. Replies
    16
    Views
    1,933

    Yes, thanks alot for your time and help! It works...

    Yes, thanks alot for your time and help! It works fine now.
  11. Replies
    16
    Views
    1,933

    int write() { getline (cin, text); ofstream...

    int write() {
    getline (cin, text);
    ofstream file ("text.txt", ios::app);
    file << text << endl;
    }
    If you mean this, it's not what I want to do with it. I don't want it to have each word on a new...
  12. Replies
    16
    Views
    1,933

    woops, yea, so this: int write() { getline...

    woops, yea, so this:


    int write() {
    getline (cin, text);
    ofstream file ("text.txt", ios::app);
    file << text;
    }
  13. Replies
    16
    Views
    1,933

    Hmm, I got that right now: #include ...

    Hmm, I got that right now:

    #include <iostream>
    #include <fstream>
    using namespace std;

    string text;

    int write() {
    cin >> text;
  14. Replies
    16
    Views
    1,933

    Here's what I've got now: #include ...

    Here's what I've got now:

    #include <iostream>
    #include <fstream>
    using namespace std;

    string text;

    int write() {
    getline(cin, text);
  15. Replies
    16
    Views
    1,933

    wow, thanks alot! I got it all wrong I see. Well...

    wow, thanks alot! I got it all wrong I see. Well I wanted to create a loop that would never end. That's what I tried with e.

    Thanks alot for the help!
  16. Replies
    16
    Views
    1,933

    Help with my notepad.

    I'm making a little notepad, and what I got is a single line input. Now I want it to be multiline. Basically, when the user presses the enter key, it should create a new line on the output too. It...
Results 1 to 16 of 16