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. AnnaHere

    CTRL characters ???

    Hi Guys,<br>How do I execute &lt;Ctrl&gt; characters in C-program<br>e.g CTRL-E, or CTRL-D etc.....<br>What symbols would I send to exec or system command<br>for say CTRL-E<br>thanks<br>Anna<br><br>
  2. AnnaHere

    Converting Seconds to a DATE

    Hi Guys,<br>Worked it out, feel terrible cause was so simple<br>Seeya<br>Anna
  3. AnnaHere

    Converting Seconds to a DATE

    Hi Guys,<br>Worked it out, feel terrible cause was so simple<br>Seeya<br>Anna
  4. AnnaHere

    Converting Seconds to a DATE

    Sorry accidentally posted it twice
  5. AnnaHere

    Converting Seconds to a DATE

    Hi guys,<br>I have used the stat() function for &quot;file.txt&quot; to get one of its variables (st_mtime) - showing when file was last modified in seconds since Jan 1, 1970 00:00:00UTC<br><br>Because it is in seconds I cannot see what the Day,Month,Year...etc.<br>Is their a function that...
  6. AnnaHere

    Converting Seconds to a DATE

    Hi guys,<br>I have used the stat() function for &quot;file.txt&quot; to get one of its variables (st_mtime) - showing when file was last modified in seconds since Jan 1, 1970 00:00:00UTC<br><br>Because it is in seconds I cannot see what the Day,Month,Year...etc.<br>Is their a function that...
  7. AnnaHere

    Capture Output of CGI Scripts into a File

    Thanks Pete,<br>Good tip, I think using a Pipe is way to go.<br>Not sure how I will pass the out handle to CGI process, but will think about it.<br>Anna
  8. AnnaHere

    Capture Output of CGI Scripts into a File

    Hello Guys,<br>I am experimenting with Socket programming. Wrote code for a Small WebServer serving text/html pages only.<br><br>However would like to be able to run &quot;.cgi&quot; (cgi script) files and capture Output and store into a file.<br><br>Would anybody have an idea of how I could...
  9. AnnaHere

    Socket - call function

    Hi Hecker ,<br>Am still trying to resolve, believe u are right its the path<br>Anna
  10. AnnaHere

    Socket - call function

    Hello folks,<br>My problem is when I try and create a socket I get error undefined symbol socket.<br>I am sure the include files are correct.... (Unix platform)<br>What could be wrong ?<br><br><br><br><br>#include &lt;sys/types.h&gt;<br>#include...
  11. AnnaHere

    Question: EOF on Standard Input : ???

    Thanks guys
  12. AnnaHere

    Question: EOF on Standard Input : ???

    <br>Hi all,<br>Anbybody that can help, if I am reading input from STDIN, how is an EOF determined.<br>And can I resume to the next program line after an EOF is reached.<br><br>&nbsp;&nbsp;..<br>&nbsp;&nbsp;..<br>&nbsp;&nbsp;while ((ch = fgetc (stdin)) !=...
  13. AnnaHere

    Struct in Struct : How to reference each member : & Allocate memory

    Guys Thank you for your help<br>palbano, Basking, ssingh
  14. AnnaHere

    Executing a command in C program & Redirecting output to String array

    Hi folks,<br>Anybody that can help ?<br>How do I execute a command in C and place contents<br>in a string for manipulation.<br><br>e.g wc &lt;file&gt; <br>(does a wordcount of file and outputs to stdout)<br><br>I don't want to redirect to a file, I would like to redirect to a string...
  15. AnnaHere

    Struct in Struct : How to reference each member : & Allocate memory

    Hello Baskar,<br><br>I have too many strings to store into memory , and all vary in length.<br>I will run out of memory, unless I allocate memory dynamically individual to each string size.<br>i.e Some strings contain 2 char, some 32 chars<br>Therefore I want to allocate memory for 2 chars only...
  16. AnnaHere

    Struct in Struct : How to reference each member : & Allocate memory

    Hello Gentlemen, Ladies,<br><br>Not sure if you can help me ?<br>I am trying to reference items in a structure within a structure. And also allocating memory with &quot;malloc&quot;.<br><br>Please see I have created a Structure (word_entry) , and then created another Structure (Node) which...

Part and Inventory Search

Back
Top