HDTenEightyP/NetNews huggingface dataset:
From: jaked@well.sf.ca.us (Jake Donham)
Subject: Re: Convert float to a string ?
Organization: Whole Earth 'Lectronic Link
Date: Wed, 19 Aug 1992 21:07:46 GMT

In article <Bt914r.Gr7@well.sf.ca.us> jaked@well.sf.ca.us (Jake Donham) writes:
>In article <16848E30C.KSZ@VM.NRC.CA> KSZ@VM.NRC.CA writes:
>>Suppose I have a float a=12.4567, how can I convert it into a string including
>>8 characters? i.e. What I want is
>>                 char *b="12.34567";
>>One way may be writing the float into a temp file then load it as a string.
>
>This is way too much trouble. Use sprintf(). For example:
>
>  float a = 12.34567;
>  char b[9];
>
>  sprintf(b, "%8f");
>
>
>Jake

uh, make that sprintf(b, "%8f\0", a);, of course.
From: atmtjkv@vax.oxford.ac.uk
Newsgroups: comp.lang.c
Subject: Re: Allocate memory to typed in string, How?
Date: 12 Aug 92 07:22:16 GMT
Organization: Oxford University VAX 6620

In article <MJN.92Aug9012538@pseudo.uucp>, mjn@pseudo.uucp (Murray Nesbitt) writes:
> 
> In article <bibhas.713109464@femto.engr.mun.ca> bibhas@pico.engr.mun.ca (Bibhas Bhattacharya) writes:
> 
>>I wrote a simple function to take care of any arbitrary length string
>>input.  It doesn't take any argument, returns a pointer to the string. 
>>Here's how it might look in a program. Hope this helps someone new to 
>>C like me.
>>
> 
>>		scanf("%c",&temp);
>>		if(string == (char *)NULL)
>>			string=(char *) malloc(sizeof(char));
>>		else
>>			string = (char *) realloc(string, (numchar+1) * 
>>		  	  sizeof(char));
> 
> You can do without the above conditional: just call realloc()
> unconditionally (as you've already initialized ``string'' to NULL, and
> with a NULL first argument realloc() behaves like malloc()).  The loop
> will run faster without the conditional.
> 
> As well, you should check the return value of realloc(), and return
> NULL if there is a failure.
> Murray
> -- 
-- 
Faster than reallocing with one extra byte each time is to store the
number of bytes allocated separately, and then doubling it each time
the string length exceeds the allocated space.  This obviously
has a memory penalty, but reduces the number of system requests,
making the allocation go as log(string length) rather than (string length).
It's not worth it with very short strings, but the initial allocation
can be larger than 1 byte, if you can spare the memory.
(I use this technique in a plot driver for sunwindows, which stores each page
in a buffer to allow subsequent redisplay or filtering; the strings in that
case can be 8K long!)

Tim Kingsmill-Vellacott
Atmospheric, Oceanic and Planetary Physics
University of Oxford, UK.
tjkv@atm.ox.ac.uk  preferred
Newsgroups: comp.lang.c
Subject: Help : Encryption Algorithms
From: ebolog@elaine.ee.und.ac.za (EDWIN BOLOGNA : THIRD)
Date: 20 Aug 92 12:59:24 +0200
Organization: Electronic Eng., Univ. Natal, Durban, South Africa


Does anyone out there happen to have PAS, C, or ASM source code to decode
and code good encryption algorithms.

Any information at all on any of these algorithms will be greatly appreciated.

        Desperate fellow programmer (And very Greatful for any information)

                E.B. (EBOLOG@ELAINE.EE.UND.AC.ZA)

PS : Please be kind hearted and Assist !
From: tiok_ks@tac.fi
Newsgroups: comp.lang.c
Subject: Re: POWER OF LARGE NUMBERS
Date: 20 Aug 92 14:26:05 +0300
Organization: City of Tampere

In article <hm342st.714297819@unidui>
hm342st@unidui.uni-duisburg.de (Michael Staats) writes:
> In <hm342st.714231186@unidui> hm342st@unidui.uni-duisburg.de (Michael Staats) writes:
> 
>>In <1992Aug19.140602.1509@tac.fi> tiok_ks@tac.fi writes:
> 
>>>In article <thompson.714156001@daphne.socsci.umn.edu>
>>>thompson@atlas.socsci.umn.edu (T. Scott Thompson) writes:
> 
>>>> Alright!  Who volunteers for 7 ^ (7 ^ 7)?
>>>>                                 ...
>>>>                              10 ^ (10 ^ 10) ?
>>>> 
>>>> P.S.  Mathematica 2.1 on a Sparc 2 does 6 ^ (6 ^ 6) in 5.02 CPU seconds.
> 
>>>OK, I can do the latter one - after all, it's greater:
> 
>>>1E+10 000 000 000
>>>Now, who's going to calculate the smaller ones, like
>>>7 ^ (7 ^ 7) ?
> 
> 1E+10 000 000 (Base 7).
> 
> (That's one of the disadvantages of these bio-cpu with their complex
> OS: They make mistakes. But one of the major advantages is: They might
> find out they made a mistake :-)

;-)
Well, now we can easily calculate all the powers asked in the original
posting:

7 ^ (7 ^ 7) = 1E+10 000 000 (Base 7)
8 ^ (8 ^ 8) = 1E+100 000 000 (Base 8)
9 ^ (9 ^ 9) = 1E+1 000 000 000 (base 9)
and
10 ^ (10 ^ 10) = 1E+ 10 000 000 000 (Base 10, what else?)

Now all we have to do is to convert the answers to 10-based numbers...
That shouldn't be too difficult?

(Bio-cpus do very effective parallel processing, don't they? ;-)

--------------------------------
Kimmo Surakka     tiok_ks@tac.fi
Newsgroups: comp.lang.c
From: darcy@druid.uucp (D'Arcy J.M. Cain)
Subject: Re: ....question abt scanf....acts funny....!!!
Date: Thu, 13 Aug 1992 05:13:02 GMT
Organization: D'Arcy Cain Consulting

[ quoted message reformatted with, I'm sure, no change in text. ]

ddlz0hv@baarsa.bell-atl.com (Ravi Shankar) writes:
>and had a problem that we cannot quite figure.  The program works
>correctly as long as the anticipated input values are used.  However,
>when you enter a character value at the temperature prompt, the scanf

Hmmm.  Scanf does strange things when other than anticipated text is
entered?  Stop the presses.  :-)

>All suggestions are welcome.........

From the FAQ (Not exactly applicable but close enough):

13.3:	When I read from the keyboard with scanf(), it seems to hang
	until I type one extra line of input.

A:	scanf() was designed for free-format input, which is seldom what
	you want when reading from the keyboard.  In particular, "\n" in
	a format string means, not to expect a newline, but to read and
	discard characters as long as each is a whitespace character.

	It is usually better to use fgets() to read a whole line, and
	then use sscanf() or other string functions to parse the line
	buffer.

-- 
D'Arcy J.M. Cain (darcy@druid.com)  |
D'Arcy Cain Consulting              |   There's no government
Toronto, Ontario, Canada            |   like no government!
+1 416 424 2871          DoD#0082   |
Newsgroups: comp.lang.c
Subject: Re: malloc causes a segmentation violation!?
From: mackintosh@mdcbbs.com (Alasdair Mackintosh)
Date: 19 Aug 92 17:59:41 PDT
Distribution: world
Organization: M&E (Division of EDS), Cypress CA

In article <1992Aug18.143135.6259@cc.tut.fi>, mn87504@cs.tut.fi (Naatula Mika) writes:

|> My program uses a lot of dynamic memory allocation, but I am quite
|> sure that there is no bugs in my code. I have spent two days checking
|> out the memory allocation of this program.

    You might want to look for code along the lines of:

        char *new_string = malloc( strlen( old_string ) );

    This should, of course, be:

        char *new_string = malloc( strlen( old_string ) +1 );
-- 
===============================================================================
Alasdair Mackintosh                             mackintosh@vxd.mdcbbs.com
Unigraphics Division                            (714) 952-5698
Electronic Data Systems                         10824 Hope St, Cypress CA


Newsgroups: comp.lang.c
From: kobet@picker.com (Harry Kobetitsch)
Subject: PASCAL to C
Organization: Picker International, Inc.
Distribution: na
Date: Fri, 14 Aug 1992 13:27:12 GMT

I am trying to convert applications on the Mac that were
written in PASCAL to C on the SUN. Has anybody done this ?
Is it trivial? Are there any conversion utilities to do 
this?
-- 
Picker International, Inc.
595 Miner Road
Highland Heights, Ohio 44143
Voice: 216-473-2624
From: richw@inmet.camb.inmet.com
Date: 21 Aug 1992 17:25 EDT
Newsgroups: comp.lang.c
Subject: Re: Allocate memory to typed in string,
Message-ID: <20900033@inmet>
From: bibhas@pico.engr.mun.ca (Bibhas Bhattacharya)
Subject: Re: Allocate memory to typed in string, How?
Organization: Memorial University of Newfoundland
Date: Mon, 17 Aug 1992 22:51:20 GMT

scs@adam.mit.edu (Steve Summit) writes:

>Arbitrary, fixed, (small) limits on input line length ought to be
>a thing of the past.  It's not all that difficult to write an

I too was peeved, by the fact that ULTRIX can take 252 bufferred characters 
at the most. Anything beyond that, as told to me by the more experienced
programmers, can be acheived by a raw mode reading, i.e., curses
programming. However, it was quite nice to see that LINUX on the other
hand, seemed to accept an unlimited number of characters. At least I
couldn't reach the end.

Cheers.
Bibhas.
Newsgroups: comp.lang.c
From: drice@ponder.csci.unt.edu (Keith Rice)
Subject: Re: Linker Error: Segment _TEXT exceeds 64K
Keywords: BC++ 2.0, Linker Error, _TEXT
Organization: University of North Texas
Distribution: na
Date: Fri, 21 Aug 1992 06:25:05 GMT

In <1992Aug21.010511.15329@cc.umontreal.ca> desmarai@ERE.UMontreal.CA (Desmarais Normand) writes:

>"Linker Error:  Segment _TEXT exceeds 64K"

>Could someone explain to me what it does mean?  It is not doccumented in
>my Borland C++ 2.0 books.  How could I correct this problem?  I tried to
>break my big source file in five parts, but it didn't change anything.
>BTW my programm is written in C, not in C++.

>Thank You!
>Norm.

Try compiling it with a COMPACT memory model.

--
Keith
drice@ponder.csci.unt.edu
From: u9035710@cs.uow.edu.au (Scott Anthony Barnett)
Newsgroups: comp.lang.c
Subject: Routine to disable Ctrl-Alt-Del on PC
Date: 13 Aug 92 03:25:04 GMT
Organization: Dept of Computer Science, Wollongong University, Australia

Help !!

I am after a little routine (either in C or inline assembler) to simply
disable the Ctrl-Alt-Del interrupt on an IBM PC.

I am using Borland C++ v 3.0 (in standard ANSI C).

Also, I would like to disable Ctrl-Break.

Any help would be appreciated.

-- 
=====================================================================
= Scott Barnett =========== Email : u9035710@wraith.cs.uow.edu.au   =
= 3rd Year Comp. Engineer. == University of Wollongong, Australia   =
===(Such creative flair only to be limited by a 4 line .sig limit)===
Newsgroups: comp.lang.c
From: prem@prem.lbl.gov (Shirdi R. Prem)
Subject: Re: Convert float to a string ?
Reply-To: prem@prem.lbl.gov (Shirdi R. Prem)
Organization: Lawrence Berkeley Laboratory
Date: Wed, 19 Aug 1992 21:24:00 GMT

In article <16848E30C.KSZ@VM.NRC.CA> KSZ@VM.NRC.CA writes:
>Suppose I have a float a=12.4567, how can I convert it into a string including
>8 characters? i.e. What I want is
>                 char *b="12.34567";
>One way may be writing the float into a temp file then load it as a string.


	I guess the simplest way is to use the sprintf() function.


	{
	.
	.
	float a = 12.34567 ;
	char  b[10] ;
	.
	.
	sprintf(b, "%f", a) ;
	.
	.
	.
	}

	This should work. I did not test this per se, but I have
	done it in other programs of mine.

    Are there any disadvantages to using this approach, other than the fact 
    that you need to know the length of the char array (10, in this case, 
    for 8 digits, a decimal point and the NULL terminator).

    By the way, in one of my programs where I did not know how many
    char`s I needed in the array :b:, I used a wrapper around sprintf
    which would do some trickery and allocate enough memory to store
    the desired precision.

    Let me know if this wasn't the right answer, or if you found an even 
    simpler way out.

    Prem!
Newsgroups: comp.lang.c
From: clennox@vaxeline.ftp.com (Systems Anarchist)
Subject: Re: Pointer/address reluctance
Organization: FTP Software, Inc., Wakefield, MA
Date: Thu, 13 Aug 1992 23:12:58 GMT

In article <l8kteaINNp2c@exodus.Eng.Sun.COM> linden@positive.Eng.Sun.COM (Peter van der Linden) writes:
>Can anyone explain the reluctance that some of the experts here
>have in equating "pointer" with "address"?

"Pointer" and "address" are not equivalent.  "Address" is the location
of memory in hardware; a "pointer" is a higher-level construct
intended to be machine-independent.  An address can be used as a
pointer, but a pointer is not always an address.  For example, the
PDP-10, an architecture which is near and dear to my heart, is a
word-addressed machine, each word being 36-bits long.  On such an
architecture, multiple different chars variables could share the same
word address; a char pointer is therefore an address combined with a
bit-offset.

-- 
%SYSTEM-F-ANARCHISM, the operating system has been overthrown
Newsgroups: comp.lang.c
Subject: Help : Compression Algorithms
From: ebolog@elaine.ee.und.ac.za (EDWIN BOLOGNA : THIRD)
Date: 20 Aug 92 12:53:44 +0200
Organization: Electronic Eng., Univ. Natal, Durban, South Africa


Does anyone out there happen to have PAS, C, or ASM source code to decode
and code LZH, or other good compression formats.

Any information at all on any of these formats will be greatly appreciated.

        Desperate fellow programmer (And very Greatful for any information)

                E.B. (EBOLOG@ELAINE.EE.UND.AC.ZA)

PS : Please be kind hearted and Assist !
From: jfw@ksr.com (John F. Woods)
Newsgroups: comp.lang.c
Subject: Re: Pointer/address reluctance
Date: 20 Aug 92 11:32:25 EDT

linden@positive.Eng.Sun.COM (Peter van der Linden) writes:
>It defines an address constant.  You can't have a <baz> constant unless 
>you have <baz>, now can you?  Also check out line 35 in the same section,
>which refers to "the address & and indirection * unary operators".
>No, the concept of "address" is in the standard, so it seems somewhat
>tendentious to shun it.

No, the *word* "address" is in the standard; absolutely nothing in the standard
mandates that pointers be represented by anything like an "address", and anyone
whose code unnecessarily depends on it being so almost certainly deserves to be
fired in disgrace.
From: bandy@aplcen.apl.jhu.edu (Mike Bandy)
Newsgroups: comp.lang.c
Subject: Re: qsort problem....
Date: 12 Aug 92 22:04:56 GMT
Organization: Johns Hopkins University

bcschu@skws02.monsanto.com (Brett Schultz) writes:

>Hello, for some reason I am having a problem with a qsort system call.  
>
>Here is a test program similar to what I am trying to do:
>
>#include <stdio.h>
>#include <stdlib.h>
>typedef struct my_float {
>    float f;
>}my_float;
>
>
>
>main()
>{
   int qs_compare();			/*** ADD THIS LINE ***/
>  my_float mf[5];
>  int i;
> ... (deleted) ...

>  /*qsort((void *) mf, 5, sizeof(my_float), qs_compare);*/

> ... (deleted) ...
>}
>
>int qs_compare(my_float *a,my_float *b)
>{
> ... (deleted) ...


My background is with Lattice/SAS C for the Amiga and VAX/VMS C.
I've used this routine numerous times and your approach seems right but
for the missing definition.

	Mike Bandy
	Johns Hopkins University - Applied Physics Lab
Newsgroups: comp.lang.c
From: sdarbha@ho19.eng.ua.edu (Subrahmanyam Darbha)
Subject: Linked lists for three dimensionsi 
Organization: The University of Alabama, Tuscaloosa
Date: Wed, 19 Aug 1992 03:35:26 GMT

     I have a problem with three dimensional linked lists
     I am having to write a linked list only because of the memory problem
     as otherwise I would have to declare a two dimensional pointer of the
     order *M[1000][1000][4]
     For example I will write a two dimensional linked list like this
     typedef struct array
     {
     int ycoord;
     int val;
     array *next; 
}
      struct *M[1000]
     Where The array gives me the first coordinate and the ycoord gives me
     the second degree of freedom
     I would like to expand this to a three dimensional pointer
 
     Any suggestions are highly welcome.
     Thanks much in advance.

     Subrahmanyam. Darbha.
-- 
*************************** Who else But Darbha ******************************* 
sdarbha@buster.eng.ua.edu     Res: (205) 349 - 5143   Off: (205) 348-9289
*******************************************************************************
Xref: sparky comp.lang.c:12267 comp.programming:2294
From: chris@yen.imsi.com (Chris Payne)
Newsgroups: comp.lang.c,comp.programming
Subject: Re: A LITTLE BRAINTEASER...
Date: 12 Aug 92 22:08:38 GMT
Followup-To: comp.lang.c
Organization: Moore Capital Management
In-reply-to: aet@mullian.ee.mu.OZ.AU's message of 12 Aug 92 08:27:03 GMT
Originator: chris@yen


[looking for a recursive function to reverse the lines of stdin]

main()
{
  char s[1024];

  if( gets(s) != 0 )
    main();
  puts(s);
}

Blows on long lines, but, hey, static stack allocations are static,
right?  To improve this, use alloca(3) to allocate on the stack
dynamically.  Actually, please _don't_ do this, but this is how.

Incidentally, this sort of recursion is generally faster on the sparc
than iterative approaches.

If you like this stuff, learn scheme or ML.  At least figure out how
well your compiler optimizes tail-recursion.

Happy hacking

/c (chris@imsi.com, chris payne in NYC)
Newsgroups: comp.lang.c
Subject: Help : SVGA, VGA drivers
From: ebolog@elaine.ee.und.ac.za (EDWIN BOLOGNA : THIRD)
Date: 20 Aug 92 12:57:33 +0200
Organization: Electronic Eng., Univ. Natal, Durban, South Africa


Does anyone out there happen to have PAS, C, or ASM source code to decode
drivers (.DRV) formats so that I can use them in my programs (To access
different video cards).

Any information at all on any of these formats will be greatly appreciated.

        Desperate fellow programmer (And very Greatful for any information)

                E.B. (EBOLOG@ELAINE.EE.UND.AC.ZA)

PS : Please be kind hearted and Assist !
From: mathers@sibelius.trl.oz.au (Steven Mathers)
Newsgroups: comp.lang.c
Subject: using TURBO C with inline assembly
Date: 19 Aug 92 08:17:58 GMT
Reply-To: s.mathers@trl.oz.au
Organization: Telecom Research Labs, Melbourne, Australia


Hello, I am in need of help from someone familiar with the way
Turbo C++ handles inline assembly.

My problem is that I would like to be able to issue an
OUT ax,dx from inline assembly.  Currently I am using the 
OUTPORT command, which works fine, but generates a lot of needless
assembly instructions...something like 16 instructions, as opposed to
the 3 I would need for the OUT assembler command.

What I would like to know is:  Can I freely use AX and DX in an inline
assembly, without having to worry if Turbo was expecting the values of
these registers to be anything in particular, and thus throw things out
of kilter.  I tried it, and it worked fine, but I'm not sure if I was
just lucky, and I am reluctant to continue with this method unless I know it
will be A-OK.

Thanks for any replies.
From: sef@Veritas.COM (Sef Kloninger)
Newsgroups: comp.lang.c
Subject: Re: problems with atof()
Date: 20 Aug 92 22:00:20 GMT
Organization: VERITAS Software

nilo-

I think you forgot to include the <stdlib.h> header file, as 
my strtod(3C) man page suggests.  I'm using SVR4.2.  The 
inclusion of the header file probably tells C what type to expect
from aotf.  Without it, the compiler guesses (incorrectly).

hope this helps.  good luck.
sef
-- 
------------------
Sef Kloninger
Veritas Software                        Stanford University
sef@veritas.com                         sef@cs.stanford.edu
From: exuptr@exu.ericsson.se (Patrick Taylor)
Newsgroups: comp.lang.c
Subject: Re: About the 'F' in RTFM
Date: 13 Aug 92 19:27:51 GMT
Organization: Ericsson Network Systems, Inc.

In article <1992Jul30.162339.11697@mksol.dseg.ti.com> mccall@mksol.dseg.ti.com (fred j mccall 575-3539) writes:
>Yes, but people who have questions which actually AREN'T in the
>manuals generally don't get RTFM as a response in the first place.
>RTFM *ASSUMES* that the answer is in there, Scott.

I always thought F = Field
 ----------------------------------------------------------------------------
   "This must be Thursday.  I never could get the hang of Thursdays"
                                                          - D Adams
  - Patrick Taylor
    Ericsson Network Systems
    exuptr@exu.ericsson.se             "Don't let the .se fool you"
    alternately, exuptr@ZGNews.Lonestar.Org
Xref: sparky comp.lang.c:12631 comp.sys.ibm.pc.misc:11741
From: l1z@ecl.psu.edu
Newsgroups: comp.lang.c,comp.sys.ibm.pc.misc
Subject: Re: Using ANSI.SYS codes from C?  (Turbo)
Date: 19 Aug 92 12:12:06 EDT
Organization: Engineering Computer Lab, Pennsylvania State University

In article <1992Aug18.013912.12547@cs.umb.edu>, cteague@ra.cs.umb.edu (Charles F. Teague II) writes:
> 
>   Is there any way to use ANSI.SYS escape sequences from C?  (TurboC++v1.0)
> I'm hoping to use this just to get a simple coloring of my text, without
> using conio.h, and staggering cprintf()s with textcolor() and/or textattr().
> 
>   I've tried several different output fns, and none of them seem to be able
> to do what a simple echo command in a batch file can do:  change the text
> color by using ansi codes.  If anyone can help me out, I'd appreciate it.
> 
> 	Thanks,
> --
> Charles F. Teague II  Net:cteague@cs.umb.edu  Real:33 Sidney Ave, Lynn MA 01902
> +------------------------------------+-----------------------+----------------+
> | Computers are so powerful because  | "Don't do what I SAY, | 'lush' CS 1993 |
> | they do whatever you tell them to. |  do what I mean!!!!"  | TKE-zm sn 603  |
> +------------------------------------+-----------------------+----------------+
> Hi!  I'm a replicating .sig virus!  Join in the fun and copy me into yours!

  I guess you can add a line "device=c:\dos\ansi.sys" in your config.sys file
and boot the computer again. You may try it.
From: jos@and.nl (Jos Horsmeier)
Newsgroups: comp.lang.c
Subject: Re: Large memory problem
Date: 22 Aug 92 10:32:02 GMT
Organization: AND Software BV Rotterdam

In article <92234.114605U37956@uicvm.uic.edu> U37956@uicvm.uic.edu writes:
|I am using Ms C 6.0 on DOS5.0 . I have 4MB extented memory.
|The following C code is causing me trouble:
|
|#include <stdio.h>
|main()
|$ int i;
|  unsigned char *buffer;
|
|  buffer=(unsigned char*)malloc(480000);
|  for(i=0; i<480000; i++)
|   $
|       buffer[i]= i%256;
|       printf("%u\n", buffer[i]);
|
| It is compiled in large(or huge) memory model:
|
|     cl /AL myprog.c
|
|When I run the program, it prints out the numbers, but in the end, it
|gives message" memory allocation error, Can't load COMMAND, the system
|halted.", and then the system dies.
|
|What's wrong ?

Intel and Microsoft are wrong ... ;-) No seriously, the type of
the parameter for malloc is size_t. A size_t type is defined as
an unsigned integral. Integers are 16 bits wide in Microsofts'
C implementation, so the largest block of memory you can allocate
is just 64K bytes. You're trying to allocate much more than that.

Didn't the compiler warn you for it? I assume that malloc allocates
something like 480000 modulo 64K bytes or something. Therefore you
ruin your heap and everything when you're trying to assign values to
elements in that block. 

kind regards,

Jos aka jos@and.nl
From: jos@and.nl (Jos Horsmeier)
Newsgroups: comp.lang.c
Subject: Re: Computer terms
Date: 19 Aug 92 14:39:48 GMT
Organization: AND Software BV Rotterdam

In article <19632@fritz.filenet.com> scotth@fritz.filenet.com (Scott Hopson) writes:
|
|OK, so let's see if I can get it straight this time.....
|
|*foo[] is an array of pointers.

Yes it is, and that reminds me of the last couplet of the famous 0x0d2c sonnet:

	        a.out is your program
	        there's no 'u' in foobar
	       and char (*(*x())[])() is
	     a function returning a pointer
	        to an array of pointers
	      to functions returning a char
 
;-) kind regards,

Jos aka jos@and.nl
From: jos@and.nl (Jos Horsmeier)
Newsgroups: comp.lang.c
Subject: Re: spin the wheel
Date: 18 Aug 92 12:31:32 GMT
Organization: AND Software BV Rotterdam

In article <92230.132615U56779@uicvm.uic.edu> U56779@uicvm.uic.edu writes:
|Can anybody tell me a code in c to spin the wheel after drawing it.
|thanks...

Dunno ... maybe rotating your screen might help? 

No seriously, you have to be a bit more specific about this. We can't
help you when you don't give us a _bit_ more information about your
problem.

kind regards,

Jos aka jos@and.nl