fledgling

1999-04-05 Thread Canul Podkopayeva

hello everyone
In no less than 5 months I will be graduating and
moving on to college. I plan to study computer
engineering. I know that I *will* be able to skip some
courses, especially if it has to deal with
programming.
I would like to know how database programming stands
though. Can someone tell me a real world database
program that would be needed? I want to test what I
know.

Thanks, in advance, for any suggestions, help, etc.

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



insane

1999-04-04 Thread Canul Podkopayeva

I have a really messed up problem
I'm trying to compile and install libcap then libnet.
And I keep getting reports of missing header files.
/usr/include/net  :
if.h
etc..
/usr/include/netinet :
ethernet.h
etc..
I have some of the headers, but for some reason I
don't have the others.
Can someone pelase tell me where I can get these
header files?
I'm using libc5 rh 4.2 btw.
thanks, in advance, for anyhelp

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



foolish compile problem

1999-04-02 Thread Canul Podkopayeva

i'm doing a:

gcc -lX11 file.c

and  i get the err: 

ld: cannot open -lX11: No such file or directory

But I'm sure I have the Xlib because I've installed its
rpm I've cated /usr/lib/X11R6  /etc/ld.so.conf and
also all the other dirs that has libs on my system.
And I've also ran ldconfig. 
How can I fix this?
Thanks, in advance, for any help.

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



Re: your mail

1999-04-01 Thread Canul Podkopayeva

I don't use emacs much but I use vim.
One way you can do what you're trying to do is by first
making a Makefile (learn how to make them :-]) then,
has to be in the same directory editing your source
file with vim then you'd just have to hit escape then
colon (:) and type make, after that you can type ":make
run" (if you've made your Makefile well).

--- Wei Weng [EMAIL PROTECTED] wrote:
 You can always use shell command from emacs. (is it
 M-x ! command_name?)
 Say have two window open in one frame under emacs.
 One is for editing and
 another one is for the gcc thingy. 
 I don't know if there is any emacs scripts for
making
 your programming
 more convenience(sp?). I like the way it is. I just
 open more windows. :)
 
 On Wed, 31 Mar 1999, Darius Blaszijk wrote:
 
  Hi all,
  
  Having my latest problems using DOS/WINDOWS, I
 decided to start 
  programming under LINUX. I installed LINUX redhat
 5.2 and bought myself 
  the book L.A.D. I must say that I'm getting on
 quite well (I had to 
  learn also how to program in C). But here is where
 my
  problems start. 
  
  To do some programming I use for instance EMACS.
 When I'm done I exit 
  EMACS and run GCC and then run the program to see
 if it does the thing I 
  want it to do. This procedure is time consuming
and
 not eficient.
  
  Is there any compiler/editor/debugger-package
 anvailable from the 
  internet? Or am I missing something here? I've
 noticed that MC has an 
  edit feature which shows source code using
 different colours. I find 
  this very helpfull.
  
  Thanks a lot, 
  
  Darius Blaszijk
  Get Your Private, Free Email at
 http://www.hotmail.com
  
 

--
 Wei Weng   | idol of the week: Utada Hikaru|
 Part time oracle developer   | CD of the week: first
 love   |
 Full time J-ENT! NERD! (^^;; | o/~You will always be
 my love o/~ |

--
 
 

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



Re:

1999-04-01 Thread Canul Podkopayeva

Use vi. It has syntax hilighting

--- Henk Jan Barendregt [EMAIL PROTECTED]
wrote:
 Darius Blaszijk wrote:
 
  Is there any compiler/editor/debugger-package
 anvailable from the
  internet? Or am I missing something here? I've
 noticed that MC has an
  edit feature which shows source code using
 different colours. I find
  this very helpfull.
 
 
 You can use wpe or xwpe for this. 
 When you have bought the the RedHat box with book 
 etc. Then you 
 alse have the application cdrom with Code Crusader
on
 it.
 
 
 Henk Jan
 

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



Re: filecopy

1999-03-30 Thread Canul Podkopayeva

first man open

#include errno.h
if ((in = open(source, O_RDONLY)) == -1)
{
perror("open"); /* should print reason */
exit(1);
}

--- [EMAIL PROTECTED] wrote:
 I use this code to copy a file :
 
 int copy_file(char *source, char *dest)
 {
   char c;
   int in, out;
 
   in = open(source, O_RDONLY);
   out = open(dest, O_WRONLY|O_CREAT,
 S_IRUSR|S_IWUSR);
   while(read(in, c, 1) == 1)
 write(out, c, 1);
 }
 
 I'd like to add a check for looking if the file is
 copied (no empty disk and
 such). What is the best way to do this ?
 

-
 De Messemaeker Johan
 Research  Development
   HEMMIS n.v.
   Koning LeopoldIII-laan 2, 8500 Kortrijk
   Tel.: 32 (0)56/37.26.37
   Fax: 32 (0)56/37.23.24
 Current Project : VMM Aalst
 
 

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



off subject question

1999-03-27 Thread Canul Podkopayeva

Sorry for going off the subject here but...
If anyone knows a good math mailing list (preferably
one that has to do with the number theory or calculus)
can you please tell me?

Thank you.



_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



struct and pointer

1999-01-15 Thread Canul Podkopayeva

Why and how can I fix this code that segfault?
#include stdio.h
#include stdlib.h
struct blah{
char *answer;
char *data;
};
struct haha{
long value;
struct blah dog;
};
struct haha *ga;
int
main(void)
{
 /* it sigfaults at this line */
 ga-dog.answer = "a string!";
printf("%s", ga-dog.answer);
return (0);
}




_
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com



message queues

1999-01-09 Thread Canul Podkopayeva

How can I find out if a process is already using a
mtype (sys/msg.h) so that no conflicts arise?




_
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com



Simple questions.

1999-01-03 Thread Canul Podkopayeva

   On Sys V, how do I make my program respond to a key bind like ^R? I
want the program to run in the background and for it to take commands
such as the one from above while still in the background.

Thank you.




_
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com



A problem with ncurses

1998-10-10 Thread Canul Podkopayeva


I've initalized an array of windows by using...

WINDOW *win[6];

For some reason win[0], dosn't want to move. It's color attribute,
like the others, was correctly set, but it's the only one which does
not change position.
In fact...
   after having...
   for(i = 0; i  6; i++) 
 /* win[6], is being used for something else. */
win[i] = newwin(1, 1, i + 1, i + 1);

Then I have the attributes set then after I move every other windows
(which happens alot and perfectly too) win[0] fails to respond.

I have no idea how this could happen, can anyone help?



_
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com



:ER

1998-09-29 Thread Canul Podkopayeva

Why does there exists a VPFN if a process is going to use only one PFN.
(VPFN = Virtual Page Frame Number)
(PFN = Page Frame Number)

The thing is I'm understanding the concept well.
When a process is mapped to its Virtual Page where does the
instructions go? What does the offset part (on an x86 it's 11:0 and
below) do? And why does it need a VFPN?

The reason why I need to know these things is because I'm soon going
to get into IPC programming and I believe that I most know these for
it to be easier.

_
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com



New to ncurses question

1998-09-19 Thread Canul Podkopayeva


Why wont this builded code work?

#include curses.h

void main(void)
{
   WINDOW *my;
   initscr();
   cbreak();
   my = newwin(12, 12, 12, 12);
   waddstr(my, "argg!");
  /* here, instead of adding a string it dosn't do* anything 
   */
   refresh();
   endwin();
}



_
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com