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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ghostsurfer

    C/UNIX date program for my homework ;-((

    I wrote and tested this under SCO Unix. Enjoy. /* A Time Example by C Williams c.williams@swflug.org for educational purposes only built on SCO Unix (OpenServer 5.01) Aug 1, 2001 */ /* our handy include files */ #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include...
  2. ghostsurfer

    How do you put lines from a text file into an Array?

    // filearray.c by C Williams // for educational purposes only // this header function will read a file into // an array and return a pointer to the array /* be sure to have these in your main project #include <stdio.h> #include <string.h> #include <stdlib.h> */ #define MAXLINES 99999 void...
  3. ghostsurfer

    Free login to UNIX through TELNET

    Why not install Linux or FreeBSD on your own computer and dual-boot? Or if all you want is a command-line interface without XFree86 Windows, just install it on an old 386/486 (we all have at least one in the closet) and you turn it into a Unix box and telnet into it.
  4. ghostsurfer

    NASM newbies

    ;The previous examples require a linker. It creates a simple 16-bit dos .com file. ;use: nasmw -fbin hello.asm -o hello.com org 100h start: jmp begin data: msg db &quot;Hiya there!$&quot; begin: lea dx, [msg] ; load offset of string into dx register mov ah, 09...
  5. ghostsurfer

    Creating a textbox...the good old way.

    It sounds like you'd benefit best by being pointed to the PSDK (Platform Software Development Kit) for MS Windows. The MS Visual C++ kit, MFC, is a C++ wrapper for these lower-level functions. You can write windows aps in regular C using the PSDK functions and including the single header file...
  6. ghostsurfer

    need some help getting staarted in c/c++

    I would recommend gcc (which is a free compiler for multiple platforms). It can be found at http://www.gnu.org/software/gcc/gcc.html . Inprise/Borland has a free version of Borland C++ 5.5 at http://www.borland.com/bcppbuilder/freecompiler . You won't find any free GUI compilers. There is...
  7. ghostsurfer

    Function for Alphanumberic Sorting of An Array of Character Arrays

    Never mind :-) I broke down and wrote one anyway...<br>I'm in a sharing mood:<br><br>char **alpha_sort(char **p_str_arr)<br>{<br><br> // local variables<br> int arr_size;<br> int x;<br> int y;<br> int moved;<br> int i;<br> char *temp;<br><br> // find size of array<br> arr_size = 0;<br> while...
  8. ghostsurfer

    Function for Alphanumberic Sorting of An Array of Character Arrays

    Does anyone know of a *good* function that will sort an array of charcter arrays alphanumerically and return a pointer to the sorted array.&nbsp;&nbsp;Such as sorting <br>char *fruits[6] { &quot;Oranges&quot;, &quot;Pears&quot;, &quot;Apples&quot;, &quot;Bananas&quot;, &quot;Appricots&quot...

Part and Inventory Search

Back
Top