UNIX
Unix is a computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs including Ken Thompson, Dennis Ritchie and Douglas McIlroy.
Forum Post

Re: How to read line by line from a file.

: Hi, : : This fscanf(fp, "%s", str) reads only one word at a time.But how should I read a line of information with help of fscanf. : : - sri. My understanding of fscanf is that it's the...
Forum Post

Re: file traversal

hi drost, thanks once again for the suggestion i once again tried your suggestion like this :looking for two text files created in C:\\Documents and Settings import glob location=...
Forum Post

Re: How to read line by line from a file.

Hi, This fscanf(fp, "%s", str) reads only one word at a time.But how should I read a line of information with help of fscanf. - sri. : : Hi, : : : : I am working in the UNIX C, want...
Forum Post

Re: what unix c equiv func for getch() ?

: : : hi, : : : : : : how do i use getch() in unix c ? I want to trace which arrow key is pressed. : : : : : : : You can use getchar(). It is ANSI C. : : It's in and has the prototype: :...
Forum Post

Re: command line arguments problem

output.txt : ################ : : thanks : here it is: #include #include int main(int argc,char *argv[]) { const char *add=" >>file.txt"; char buf;...
Forum Post

Re: How to read line by line from a file.

: Hi, : : I am working in the UNIX C, want to read information from a file, line by line. I tried the following code, but its always read first line indefinitely, Try using while(fscanf(fp,...
Forum Post

command line arguments problem

output.txt ################ thanks
Forum Post

Re: How to read line by line from a file.

This message was edited by stober at 2004-9-10 7:29:37 use the fgets() function : #include : : void main() : { : char str; : FILE *fp; : : fp = fopen("test.txt", "r");...
Forum Post

Re: what unix c equiv func for getch() ?

I don't think there is a general-purpose equivalent in *nix because of the many different types of terminals and keyboards that can be used. You will probably have to use the curses library of...
Forum Post

How to read line by line from a file.

Hi, I am working in the UNIX C, want to read information from a file, line by line. I tried the following code, but its always read first line indefinitely, #include void main() { char...
Forum Post

Re: what unix c equiv func for getch() ?

: : hi, : : : : how do i use getch() in unix c ? I want to trace which arrow key is pressed. : : : : You can use getchar(). It is ANSI C. : It's in and has the prototype: : : int...
Forum Post

Re: file traversal

This message was edited by Drost at 2004-9-10 3:18:57 : : thanks drost : glob seems to specific to Unix , i tried this in my NT m/c it doesnt give any results, although no errors are thrown,...
Forum Post

Re: what unix c equiv func for getch() ?

: hi, : : how do i use getch() in unix c ? I want to trace which arrow key is pressed. : You can use getchar(). It is ANSI C. It's in and has the prototype: int getchar(void) Matt.
Forum Post

what unix c equiv func for getch() ?

hi, how do i use getch() in unix c ? I want to trace which arrow key is pressed. I want a function in unix based c, which is similar to getch() in dos based c. otherwise can you convert the...
Forum Post

windows filesystem

Call me a windows newb (but then again it's windows...) but I don't know how to handle the filesystem for it in C. In case you were wondering why, I am working on a Log Parser, but I have had no...
Forum Post

help - C++ fork program

hi... can anyone help me in writing c or c++ program that should compile and run on unix The program does the following: 1. Forks 3 child process in parallel 2. child 1 prints : hi nice to...
Forum Post

Re: delay in C++ for windows

: i'm writing a program using C++ for windows. i want to put a delay in microseconds (about 10 microseconds). i just found a Sleep() function, but the value is in miliseconds. is there any function...
Forum Post

grabbing input in c

point display msg. If input9) { print("The num is %d while the input is %d ", num, input); } input++; } return 0; } Thanks for the help in advance!
Forum Post

Re: Win32::* = Win32 dependent

: : : I need to export graph to Excelsheet..I m running perl in Solaris OS..so : : : Win32::OLE wont work...is there any other alternative for the same : : : purpose..inform me abt ur views.. :...
Forum Post

Re: Win32::* = Win32 dependent

: : I need to export graph to Excelsheet..I m running perl in Solaris OS..so : : Win32::OLE wont work...is there any other alternative for the same : : purpose..inform me abt ur views.. : : :...
 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.