Search:

Type: Posts; User: netiad

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    2,606

    I'm searching google for...

    I'm searching google for BELOW_NORMAL_PRIORITY_CLASS but haven't found any good documentation. can you recommend a source?

    or let me know the small snip of code that will set my program to run in...
  2. Replies
    10
    Views
    2,606

    getdisk.cpp:32: error:...

    getdisk.cpp:32: error: `PROCESS_MODE_BACKGROUND_BEGIN' undeclared (first use
    this function)
    getdisk.cpp:32: error: (Each undeclared identifier is reported only once for
    each function it appears...
  3. Replies
    10
    Views
    2,606

    Hello, I've tried that link above but I can't...

    Hello,

    I've tried that link above but I can't get it to work. I don't think I am doing it right. How do I implment it in C/C++

    thanks.
  4. Replies
    1
    Views
    1,374

    using fopen getting a lot of warnings

    Hello,

    When I compile the below I get 2 warnings.... warning: deprecated conversion from string constant to char*

    How can I make this warning go away? I am using a lot of compile time warning...
  5. Replies
    10
    Views
    2,606

    set to below priority for windows

    Hello,

    I am writing my program for windows and I am wondering how I can make my program run below low priority. If you know the code to set do this please let me know.

    thanks.
  6. Replies
    1
    Views
    1,730

    making a file_write function

    Hello,

    Currently I use the following code which works.


    void file_write (){
    FILE *file;

    file = fopen("c:\\windows\\Temp\\poop\\toadd.txt", "wt");
    fprintf (file, "%s", "\nWritten by...
  7. Replies
    1
    Views
    2,305

    Delimiters, what does this mean %31[^\\]%n

    What do these delimiters mean %31[^\\]%n

    This is how it is used.
    sscanf(ptr, "%31[^\\]%n", field, &n) == 1

    what is the %31 ? etc....
  8. your right. great thanks. That code is better...

    your right.
    great thanks. That code is better than mine.
    Just out of curiousity how can I edit the code below so chdir (buffer); will work?



    #include <stdio.h>
    #include <stdlib.h>
    #include...
  9. while i'm in the program. so if i change the...

    while i'm in the program.

    so if i change the directory to C:\fun
    i can then list the directory and write something there.
    then go to C:\happy
    then move a text file in there etc...

    i want the...
  10. so without all my code. how can i change to a...

    so without all my code. how can i change to a specified directory and stay their. then do a dir to see the contents of that directory?
  11. well if i do a dir with message it lists all the...

    well if i do a dir with message it lists all the files of the dir in message.

    even if i type system ("cd c:\fun"); it won't stay there. not even chdir ("c:\fun"); will stay there, it just enters...
  12. chdir (mystring); changing DIR but not staying there.

    Hello,

    In my code if I use chdir (".."); then issue system ("dir"); it shows a list of the previous directory which is what I want.

    However if I pass chdir my built string chdir (message) it...
Results 1 to 12 of 12