Search:

Type: Posts; User: (TNT)

Page 1 of 14 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    3,298

    Ok thanks, sorry I didn't think it would be...

    Ok thanks, sorry I didn't think it would be relevant to mention but I will be writing to the file with one of the WCF services as well.

    But would what you said still apply?

    The file handle only...
  2. Replies
    5
    Views
    3,298

    Thanks, problem is i dont have any way of...

    Thanks, problem is i dont have any way of cross-thread/inter-process communication.

    Im working with WCF and each consumer of a service needs to be able to read the file, then there's multiple...
  3. Replies
    5
    Views
    3,298

    TextReader.Synchronized

    Hey guys,

    I'm just wondering how to use a TextReader in different a different process/thread on the same file in a thread safe way, just so i don't get screwed if the files already open for...
  4. Replies
    3
    Views
    1,050

    Thanks for the info, and sorry i didn't provide...

    Thanks for the info, and sorry i didn't provide more information. The reason i was looking into it was for a form of stenography, the data is already encrypted i was just wondering if i could extend...
  5. Replies
    3
    Views
    1,050

    File IO to unpartioned data

    Hi,

    I am wondering what the possibilities are for writing files to an unpartitioned area of a disk, i.e the free space area. Now this would obviously mean i would have no file system or partition...
  6. Replies
    2
    Views
    772

    Thanks alot

    Thanks alot
  7. Replies
    2
    Views
    772

    Vector/Pointer Help

    Hi,

    If i have a pointer to a vector what is the correct syntax to access an element of the vector?

    For example:



    void myfunc(std::vector<std::string> *p)
    {
  8. Replies
    5
    Views
    1,116

    That seems to have fixed the problem, thanks very...

    That seems to have fixed the problem, thanks very much for the help, much appreciated.
  9. Replies
    5
    Views
    1,116

    Thanks, the entire code below, i would like to...

    Thanks, the entire code below, i would like to stick with the vector container if at all possible, i have modified my loop/erase code to 'attempt' to re validate the iterator, but it still doesnt...
  10. Replies
    5
    Views
    1,116

    Vector Iterator Help

    Hi,

    Im trying to remove an element from a vector inside a loop using an iterator, which it seems I am doing incorrectly.



    for(vector<bomb>::iterator bm = bombs.begin(); bm!=bombs.end();...
  11. Thread: Buffer help

    by (TNT)
    Replies
    3
    Views
    928

    Buffer help

    Hi,

    Ive written some code to decode a file, and write the decoded data out to a new file, the problem is at the moment its incredibly slow, it processing the file character by character and it...
  12. Thread: Algorithm Help

    by (TNT)
    Replies
    2
    Views
    1,193

    Algorithm Help

    Hi,

    I'm trying to write a decoder for Yenc, the compression algorithm is as follows:



    1. Fetch a character from the input stream.
    2. Increment the character's ASCII value by 42, modulo...
  13. Replies
    1
    Views
    1,004

    Security Consultancy Career Help

    Hi

    I have just finished first year of a BSc degree in Computer Science, now even though I am 2/3 years away from going into work, I really want to get a plan sorted out now.

    I am quite...
  14. If you disassemble the program you can normally...

    If you disassemble the program you can normally tell from the output, e.g Visual basic looks very different to C/C++ disassembly, same with virtual machine code i.e Java/C# cant be spotted easily...
  15. Replies
    2
    Views
    680

    Debugger Question Regarding Strings

    Hi,

    This is probably a stupid question, but is there anyway to view the contents of an std::string variable in the Visual Studio 2005 debugger in the same way as its easily possible to look whats...
  16. Thread: Socket Speed

    by (TNT)
    Replies
    2
    Views
    2,330

    Socket Speed

    Hi,

    Does anyone know how i can find out the transfer speed of incoming data into my program? Im using standard TCP sockets, and need to get the data from my recv() call.

    Any simple ways of...
  17. Replies
    7
    Views
    1,597

    Thanks alot, how do i use stringsteams getline? ...

    Thanks alot, how do i use stringsteams getline?

    Im trying this



    stringstream MyStream;

    group_list.push_back(MyStream.getline(glist, glist.length()));
  18. Replies
    7
    Views
    1,597

    Sorry should have mentioned, the data is pulled...

    Sorry should have mentioned, the data is pulled in from a socket connection, i didnt choose to use the \r\n chars.
  19. Replies
    7
    Views
    1,597

    String splitting algorithm help

    Hi,

    Theres probably a really simple way of doing this but i cant work it out :\.

    I have a string which contains this sort of data: "group1\r\ngroup2\r\ngroup3\r\n..."

    I'm using \r\n as the...
  20. Replies
    3
    Views
    1,307

    Woops sorry, please could a mod move to C# :(

    Woops sorry, please could a mod move to C# :(
  21. Replies
    3
    Views
    1,307

    Downloading from HTTPS

    Hi,

    I'm trying to download the web page source code from a HTTPS URL, my code is as follows:



    System.Net.WebClient WC = new System.Net.WebClient();

    ...
  22. Replies
    1
    Views
    1,563

    Cross Threading Problems

    Hi,

    Im having problems trying to update my GUI controls from a new thread i have created, i get an exception about cross threading. I have looked around and found i need to use a delegate and...
  23. Replies
    2
    Views
    1,036

    Advice on storing a password

    Hi,

    I need my program to store a password, in a file. And the program is going to be open source.

    So baring in mind the encryption algorithm will be easy to obtain, the security rests in the...
  24. Replies
    6
    Views
    1,049

    Tab Orders (Child Controls)

    Hi,

    I cannot seem to find any info on how to set the tab orders of child controls in a standard window (not a dialog). Any ideas on how to approach it?

    Thanks
    Jack
  25. Thread: Thread help

    by (TNT)
    Replies
    2
    Views
    756

    EDIT: Thanks ive got it working now :)

    EDIT: Thanks ive got it working now :)
Results 1 to 25 of 344
Page 1 of 14 1 2 3 4