Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Maulkin

  1. Maulkin

    how do i write a --help page?

    what i mean as far as I know belongs in unix, I want to make page for --help for my program. to clarify try >man --help this will display not a man page but short page on the command lines for the man utility
  2. Maulkin

    how do i write a --help page?

    i have written a perl application and need to create a help page for it so the command >myperl --help will display this page anyone know how
  3. Maulkin

    help returning double

    thanks DucatiST2 and Salem prototyping the function worked fine. Also thanks for the advice on Dev-C++ Salem.
  4. Maulkin

    help returning double

    i'm running winME and Miracle C Compiler (r3.2) and this is the minimumal code. This line creates the compiler error ----> double expon(){ #include <stdio.h> #include <stdlib.h> main() { printf(&quot;\nreturned: %.0f&quot;, expon()); } double expon(){ double temp; temp = 1...
  5. Maulkin

    help returning double

    I wrote this function it should return a double but the compiler returns this error: line 38: incorrect function return type this is my code line 38 is the second line double expon(int n, int m, int o, int p) { int i; double temp; temp = 1; for (i = 1; i < (m + 1); i++) {...
  6. Maulkin

    can you change the number of bits in int type

    Thnxs for the help peoples
  7. Maulkin

    can you change the number of bits in int type

    i'm writing a c implementation of RSA that needs to deal with large int values can i extend the number of bits assigned for int type to handle these large numbers?
  8. Maulkin

    how do you send messages from one APP to another?

    I need help sending messages e.g. a string from one application to another application.
  9. Maulkin

    used this code to make pipe need help

    I was under the impression that the pipe call was in the unistd header. if it's not can you tell me where it would be
  10. Maulkin

    used this code to make pipe need help

    this code is surrposed to create a pipe place two messages on it then read them off. [code] #include <unistd.h> #include <stdio.h> #define msgSize 8 char *lock = &quot;1&quot;; char *unlock = &quot;2&quot;; main(){ char inbuf[msgSize]; int p[2], j; /* open the pipe */ if (pipe(p) ==...
  11. Maulkin

    JScrollPane visability

    I have used this line of code but am unable to set the scrollPane to always visible. Can anyone help? this.getContentPane().add(new JScrollPane(TA)); where TA is the name of the JTextArea.
  12. Maulkin

    using malloc to create array of pointers

    Is theis the correct code to create an array of pointers using malloc b = malloc(256 * sizeof(char*)); if so how do I set the memory address pointed to by each pointer. e.g b[i] = &extract[i];
  13. Maulkin

    how do you create a 2d runtime array

    trying to create a two dimensional array of strings using malloc. I use this line to try and create a 2d array of strings char a[256]; char b* b = malloc(10 * sizeof(a)); this should create an array of ten rows where each row contains a string of up to 256 characters. if this is correct do...
  14. Maulkin

    written this code but having trouble

    I wrote this code it is surposed to take an input string like a&quot;bcd&quot;e&quot;fgh&quot;i and extract the strings that occur inside the &quot; &quot; and tsore them in an array once the whole input string has been examined the function dumpstring should print out all the extracted...
  15. Maulkin

    To LiquidBinary or any interested soul

    thanks for the help this will not work in my problem my string array ispopulated by a loop and looks like this if input strings are &quot;one&quot; &quot;two&quot; &quot;three&quot; on the first pass the array will contain oneNUll on the second oneNULLtwoNULL on the third...

Part and Inventory Search

Back
Top