Search:

Type: Posts; User: SilverAdder

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    1,356

    ... duuuhhh what? im jackass homer. how manny...

    ... duuuhhh what? im jackass homer. how manny magic beans should i sell the baby for? uuhhhh threee?

    *bangs head with big wooden mallet*

    alright now now that i have punished my self im gonna...
  2. Replies
    8
    Views
    1,356

    I tied putting cin.ignore in under cin >>...

    I tied putting cin.ignore in under cin >> XOR_menu_select, like you suggested, and also right above the getline, like this
    cin.ignore(80,'/n');
    getline (cin, file_name);
    ifstream...
  3. Replies
    8
    Views
    1,356

    Well now it doesnt even wait for input from the...

    Well now it doesnt even wait for input from the user...
  4. Replies
    8
    Views
    1,356

    Oh right ofcourse! Thanks. Hmm right. Thanks....

    Oh right ofcourse! Thanks.

    Hmm right. Thanks.

    Well it works now. Or that is, if there are no spaces on the filename. If there is a space, it doesnt work. I suppose i can use cin.getline to...
  5. Replies
    8
    Views
    1,356

    XOR-enxcryption problems

    Alright ive started a new thread to get some order on things...

    THe problem i have right now is that i want the user to be able to choose what file to encrypt and decrypt. The code loks like this:...
  6. Replies
    34
    Views
    2,961

    yes i am. It says `c_str' has not been...

    yes i am.


    It says `c_str' has not been declared. But im not supposed to do that am i?
  7. Replies
    34
    Views
    2,961

    cin >> file_name; ifstream...

    cin >> file_name;
    ifstream in(file_name.c_str());

    im supposed to write more than that right? Cause tat doesnt work...
  8. Replies
    34
    Views
    2,961

    Hmm i dont understand... so i write like string...

    Hmm i dont understand... so i write like
    string file_name
    ifstream enc_file (file_name.c_str())
    ...?
  9. Replies
    34
    Views
    2,961

    Well like i said earlier i am pressed for time so...

    Well like i said earlier i am pressed for time so for now im more or less gonna go with what i have. Once i have turned in the program and the report at school im probably going to look into the...
  10. Replies
    34
    Views
    2,961

    Sweet! Thanks Swoopy! It worked like a charm!...

    Sweet! Thanks Swoopy! It worked like a charm! Seems like im finaly nearing the end of this little program! :) Now i just have to fine tune it... i hope ;)
  11. Replies
    34
    Views
    2,961

    Thats all well and good but it doesnt realy help...

    Thats all well and good but it doesnt realy help me... or am i missing something?
  12. Replies
    34
    Views
    2,961

    Alrighty then ive made some changes. Fist of all...

    Alrighty then ive made some changes. Fist of all i descided to use strings instead of arrays after all. Alot easier once i got the hang of it. cin.get works now too since there will never bee excess...
  13. Replies
    34
    Views
    2,961

    Oh one thing, sorry about the thread name. Im...

    Oh one thing, sorry about the thread name. Im working on two encryptions and forgot that i had written ASCII problem... got confused... :)

    I dont think i want to start changing the arrasy to...
  14. Replies
    34
    Views
    2,961

    Alright i tried getting rid of getch() but i...

    Alright i tried getting rid of getch() but i couldnt get cin.get to work. The program never paused, it just ran through it all and closed. I left the code in there if somecan give me a hand,...
  15. Replies
    34
    Views
    2,961

    Well, seems i finaly made what i wanted to! Not...

    Well, seems i finaly made what i wanted to! Not the most comprehencive program but still... its more than ive ever made before :) Its probably not the best method but still it works... I descided to...
  16. Replies
    34
    Views
    2,961

    Alright thanks. Ill experiment a little with...

    Alright thanks. Ill experiment a little with this. And thanks for the pointer on globals. Ill remember that ;) Ill give a shout here once i get stuck again :D
  17. Replies
    34
    Views
    2,961

    Im with you so far. I en up with this: ...

    Im with you so far. I en up with this:



    #include <cstdlib>
    #include <iostream>
    #include <conio.h>

    using namespace std;
  18. Replies
    34
    Views
    2,961

    ... All i heard was ASCII and then... white...

    ... All i heard was ASCII and then... white noise. No seriously im so lost. The only reply i realy understood was Salems. So thanks dude :) I didnt know you could just do it like that. But the...
  19. Replies
    34
    Views
    2,961

    Newbie: Some help with ASCII

    Well this is my first post on the forum. Been browsing the site for some days but i need some quick help so figured, why not go here?

    Well im pretty new to this whole programming thing, although...
Results 1 to 19 of 19