Search:

Type: Posts; User: DMaxJ

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,962

    good looking out

    Thanks for the tip. This book must be good because it's out of stock in several places - even online.

    Thanks
  2. Replies
    5
    Views
    1,962

    win api literature

    Hey, all.

    I'm looking for a good WIN API book. Any suggestions would help. I am forced to learn some win programming because of an OLE problem with a filemaker database and windows.

    Thanks
  3. Thread: parse error

    by DMaxJ
    Replies
    7
    Views
    1,996

    I can't use it. Kernel modules in linux will not...

    I can't use it. Kernel modules in linux will not recognize fprintf...

    Problem solved, anyway...

    I found that I can use copy_from_user() to get the desired results...


    Peace
  4. Thread: parse error

    by DMaxJ
    Replies
    7
    Views
    1,996

    fprintf and sprintf

    fprintf is onfly available through the stdio.h library.

    I can't use it. Kernel modules in linux will not recognize fprintf...


    I figured it out. Thanks for the input.
  5. Thread: parse error

    by DMaxJ
    Replies
    7
    Views
    1,996

    using sprintf to print to /proc file

    Okay, I move the sprintf line inside my init_module function... the code now compiles okay...

    I am trying to use sprintf to write a string from the message buffer to my file that I create in...
  6. Thread: parse error

    by DMaxJ
    Replies
    7
    Views
    1,996

    great

    Youre right. I moved sprintf inside my function and it worked...

    Thanks
  7. Thread: parse error

    by DMaxJ
    Replies
    7
    Views
    1,996

    parse error

    Can someone tell me what this error means: parse error before string constant

    Here is my code - for some reason I can't get the SPRINTF line to work because of the error... Thanks


    ...
  8. Replies
    6
    Views
    1,408

    Okay, again, I stress that I am working in linux....

    Okay, again, I stress that I am working in linux. If you must know how gettimeofday() works then I will explain...

    gettimeofday is a function defined in <sys/time.h>.

    struct timeval contains...
  9. Replies
    6
    Views
    1,408

    module code

    this code creates the module named dc_clock_mod in /proc folder.

    I will place my additional code in the init_module function.




    #include<linux/kernel.h>
    #include<linux/module.h>...
  10. Replies
    6
    Views
    1,408

    ideas before writing the code

    gettimeofday returns two integers. the first integer represents seconds and the seconds integer represents microseconds...

    Anyway, its irrelevant.

    The linux environment is tricky. You can do...
  11. Replies
    6
    Views
    1,408

    issuing a command using c code

    I am working in Linux. I have written a kernel module that creates a file called /proc/my_clock.


    I need to write an integer returned from function, gettimeofday(), to /proc/my_clock using c...
  12. Thread: pointer problem

    by DMaxJ
    Replies
    4
    Views
    2,192

    great

    Thanks, again DavT.

    I am still reworking the code. By the way, I am working in Mandrake LINUX 7.0.

    I will review your code post at once...

    Thanks again
  13. Thread: pointer problem

    by DMaxJ
    Replies
    4
    Views
    2,192

    we'll give it a whirl

    Thanks, I did notice the typo... It has not seemed to have mattered, because the following statements execute...

    Also, DavT, the goal of the code is to get s1 to point to the beginning of the...
  14. Thread: pointer problem

    by DMaxJ
    Replies
    4
    Views
    2,192

    pointer problem

    I am trying to read a file into a single array. For some reason, I cannot get a pointer, s1, to point to the beginning of the array. Here is my code:




    #include<stdio.h>
    #include<string.h>...
  15. Replies
    2
    Views
    7,102

    thanks

    Thanks, DAvT.

    I will give this a try after looking at the FAQ...

    Peace
  16. Replies
    2
    Views
    7,102

    white space and fscanf

    Is it possible to get 'fscanf' to read past or ignore whitespace characters???

    I need to get a file into an array, but I only get the first few characters up to whitespace. This is what I have so...
  17. Replies
    1
    Views
    752

    pointer clarification

    given:


    double *ip, **ipp, *iq ;



    How are each variable set in memory??? I understand that *ip means that ip is a variable that can point to a memory location of type double. I am kinda...
  18. Replies
    4
    Views
    1,044

    ftp commands

    I looked at the ftp manual from the link that you posted. Thanks, but I am still a little unclear about the commands that I should issue to get the transfer started.

    From what I gather on page...
  19. Replies
    4
    Views
    1,044

    client parameters

    So, I kinda understood what you said...

    Does this mean that I have to know the parameters of the client prior to sending the request to the server???

    Also, how can I can I access the parameters...
  20. Replies
    4
    Views
    1,044

    socket definition

    I am having a problem with sending and receiving messages between an ftp client and an ftp server. I have the initial socket opened for communication. I can't seem to get my 'ls' command to work.
    ...
  21. Thread: adding a VB gui

    by DMaxJ
    Replies
    2
    Views
    1,247

    adding a VB gui

    I have some c++ code that communicates between an ftp server and a client using the winsock specs. I have am trying to add a GUI to the code so that I can send commands from a window, and place...
  22. Replies
    1
    Views
    1,013

    SQL insertion statements

    I know that this is a C board but I have nowhere else to post this....

    Question:

    Is there anyway that MS Access can generate SQL insertion statements from an existing table???

    I want to...
  23. Replies
    1
    Views
    1,383

    c++ for windows applications

    Are there any libraries or packages for C++ that I can include in my code that will allow me to construct applications for MS windows. I know that JAVA has packages for this, but I have never...
  24. Replies
    10
    Views
    3,895

    on target

    Nick, you are right on target. I have managed to complete my first task which is to make new relations by minimizing the right-side attributes, and writing to output to a new file.

    For instance:...
  25. Replies
    5
    Views
    1,097

    getting in win2000

    I am trying to remove win2000. I have winnt4 and win 95 already installed. This is a copy of my boot.ini file. I am trying to determine which statements I should delete. Thanks

    Here is a copy...
Results 1 to 25 of 35
Page 1 of 2 1 2