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.
Application
Any
Language
Any
License
Any
: 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...
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=...
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...
: : : 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:
:...
output.txt
: ################
:
: thanks
:
here it is:
#include
#include
int main(int argc,char *argv[])
{
const char *add=" >>file.txt";
char buf;...
: 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,...
output.txt
################
thanks
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");...
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...
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...
: : 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...
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,...
: 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.
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...
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...
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...
: 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...
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!
: : : 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..
:...
: : 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..
: :
:...