Search:

Type: Posts; User: rain-13

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    1,167

    How to remove * from path when I print it in...

    How to remove * from path when I print it in console? * is last char of path.

    I tried this:

    char *temp;
    strncpy (temp,token,strlen(token)-1);

    but for some reason it makes y program crash....
  2. Replies
    8
    Views
    1,167

    I had to add * at the end of path I found...

    I had to add * at the end of path



    I found codes from internet and put them together into one code, I didn't even know that I had C with C++. Which part i have C++ and which part is C? Is it...
  3. Replies
    8
    Views
    1,167

    Need help with listing files.

    Ok Here's my code. It compiles fine, but it don't list me files indirectory.

    In list.txt I have "C:\users\rain" but my program shows following output.

    ...
  4. Replies
    2
    Views
    3,770

    where to find ntddk.h?

    it might be stupid question but where can i find that? i googled but didn't find.
  5. debugger? u meant thatthing tat show error when u...

    debugger? u meant thatthing tat show error when u compile stuff? There's no errors.


    -------------- Build: Debug in testdll ---------------

    Compiling: main.cpp
    Linking dynamic library:...
  6. It does same thing ass my code, it deletes all...

    It does same thing ass my code, it deletes all files but no folders. I need modification to get it deletefiles and folders, both.... it must clear given directory.

    and how do I use...
  7. could u modify my func? I am beginner and I cand...

    could u modify my func? I am beginner and I cand to it thatway cuz I just have no idea what to next.
  8. how to modify this func so that it would also delete folders?

    How to modify this function so that It would also delete all directories (including empty ones) in given directory?


    void DLL_EXPORT DeleteAllFiles(const LPCSTR folderPath)
    {
    MessageBoxA(0,...
  9. Replies
    3
    Views
    1,282

    tnx, just 1 question more how to modify that...

    tnx, just 1 question more how to modify that function so that it uses 1st 2 chars to set text color and then print everything that is after 2nd char?
  10. Replies
    3
    Views
    1,282

    If doesn't work

    I have this function in dll. and if I call this DLL so that sometext = "green" then in MessageBox i see "green" but this if sentence doen't work.

    How should I modify my if sentence?


    // a...
Results 1 to 10 of 10