Search:

Type: Posts; User: krageon

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Sorry, I'll keep that in mind in the future

    Sorry, I'll keep that in mind in the future
  2. Database Revamp: File reading bug.

    Found the answer, modified code to reflect.


    Hello, I have another problem with my Database project, and I was wondering if someone could give me some pointers.

    This is the code:


    #include...
  3. *Slaps self on forehead* How could I be so...

    *Slaps self on forehead*

    How could I be so short-sighted. Thanks for the help, It is compiling now. :D
  4. Nope, I want it to go through all the possible...

    Nope, I want it to go through all the possible files in the database folder, so if there are 5, 5 are shown on screen. Your method would only show the first, am I correct?

    Thanks.
  5. Database Revamped: 'Expected ';' before ')' token' error

    Hi, some of you might remember me from a database project I was working on ages ago, or, you might not ;).

    Anyways, I've recently picked up my C++ projects again, and set about redoing the code...
  6. Replies
    31
    Views
    6,336

    Ok, so I started working on this again this...

    Ok, so I started working on this again this afternoon, but I cant seem to get it work.

    It seems as if it cant create any member files, and I have absolutely NO idea why....

    The code I'm using...
  7. XOR ---> text file save --> Some of text disappears after Decode

    Ok, heres my problem, when I encrypt a basic string like hello world, and with a key like thisistheadminpass42$@67^&90(), and then decrypt, some of the text will just disappear.

    Is this because a...
  8. Thread: Need help plz

    by krageon
    Replies
    18
    Views
    1,792

    That sounds like a lot of functions, might it be...

    That sounds like a lot of functions, might it be possible to create a text file for each student? I am working on a database program as well, I'ts almost finished, I only need to add encryption,...
  9. Thread: 2 Questions...

    by krageon
    Replies
    4
    Views
    892

    That is seriously not cool, how could anyone know...

    That is seriously not cool, how could anyone know whether or not you have some nefarious purpose for that keylogger program you're trying to write?

    Neway, I'll answer your first question:

    (1)...
  10. Replies
    31
    Views
    6,336

    happy new year everyone!

    happy new year everyone!
  11. Replies
    31
    Views
    6,336

    rofl, thanks for the excellent advice :D

    rofl, thanks for the excellent advice :D
  12. Replies
    31
    Views
    6,336

    Also, I've noticed that if I re-make the same...

    Also, I've noticed that if I re-make the same person twice, he/she exists twice in the DB_Mem.txt file, this is because I append all data that the program writes, but actually, I'd like to make a...
  13. Thread: Crazy Idea

    by krageon
    Replies
    6
    Views
    1,342

    It would be insanely cool though :P

    It would be insanely cool though :P
  14. Replies
    31
    Views
    6,336

    Ok, I have read the XOR encryption thing, and I...

    Ok, I have read the XOR encryption thing, and I think I understand the principle, but the example on that page is a little vague to me, doe anyone happen to have a clear example ( Perhaps something...
  15. Replies
    31
    Views
    6,336

    Ok, I'm not really filled in on the XOR...

    Ok, I'm not really filled in on the XOR encryption yet, I'll come to that.

    This is the program, with filly implemented search & DB_Mem.txt. :D

    @Xhi This also gets around the prob of Id's 1,2,3...
  16. Replies
    31
    Views
    6,336

    Hey.... You got a point there :) I'll try,...

    Hey....

    You got a point there :)

    I'll try, but I'm only at:
    Recursion--a function calling itself

    Of the Tutorial....

    Bah, who cares, I'll try to finish what I need for encryption,...
  17. Replies
    31
    Views
    6,336

    Done: clrscr(); ...

    Done:



    clrscr();
    cout<< "Id Number?\n:"; // Seems pretty self-explanatory to me.
    cin>> employee.id_no;
    stringstream s;
    ...
  18. Replies
    31
    Views
    6,336

    Thanks :) Although I think I will do It like...

    Thanks :)

    Although I think I will do It like this:


    A DB_Mem.txt file with the memebers ( Name and Id ).
    A DB_err.txt file with any error messages taht might be generated.
  19. Replies
    31
    Views
    6,336

    Ok, I hadn't seen your post, so I began tweaking...

    Ok, I hadn't seen your post, so I began tweaking this myself.



    I put code here earlier on, but I'm gonnan rewrite the program for a Db.txt file anyway, so I'll just skip the new search thing,...
  20. Replies
    31
    Views
    6,336

    Ok, with your help, I made it work, only not as...

    Ok, with your help, I made it work, only not as it should.

    It does show file names, but it doesn't increment the file number with 1 ( Member1.txt -> Member2.txt , etc. )

    I might be doing...
  21. Replies
    31
    Views
    6,336

    I have stumbled across another problem: When I...

    I have stumbled across another problem:

    When I try to run


    Changed, new code down below.


    This, and, when running, select option 2 ( Read from file ) and then say that I dont know what...
  22. Replies
    31
    Views
    6,336

    Thanks again for the great help. Nice speech!!...

    Thanks again for the great help.

    Nice speech!! :P

    I was thinking of expanding it, not sure what to add though :)
  23. Replies
    31
    Views
    6,336

    lol :) I work with both, and I prefer Linux (...

    lol :)

    I work with both, and I prefer Linux ( Fedora Core ), right now I am at my grandmothers house, so I'm using a diffrent PC then normal, at home I just reformatted my PC, but I'll put in a...
  24. Replies
    31
    Views
    6,336

    Would it work if I attatched a string like...

    Would it work if I attatched a string like c:/Dev-cpp/database/ to my filename, and would that store it in a subdirectory?
  25. Replies
    31
    Views
    6,336

    Thanks a lot, my file creation is working now, I...

    Thanks a lot, my file creation is working now, I will adapt the file reader in a moment.

    The reason I'm saving the choice via a detour ( first into a struct, and then converting ) is because when...
Results 1 to 25 of 28
Page 1 of 2 1 2