Re: Floats to chars and chars to floats



In article <11j10el4efq6ffd@xxxxxxxxxxxxxxxxxx>,
Baxter <lbax02.spamguard@xxxxxxxxxxx> top-posted:

>> The original poster's requirements are that the data be transmitted
>> 8-bits at a time. Your code does not portably do that.

>That's why I mentioned "byte" - where "byte" is defined, either by the
>system or by the programmer to be 8-bit.

There is nothing in C89 that allows one to define an 8-bit entity
at all portably.

In C99, there is a uint8_t but C99 defines it in such a way that
support for it is optional in an implementation. Your sample code
did not test for the appropriate macro that would indicate the
existance of uint8_t .

Thus, your code is not portable.
--
Chocolate is "more than a food but less than a drug" -- RJ Huxtable
.



Relevant Pages

  • Run macro whenever a new mail is received
    ... Could anyone please show me sample code to run a macro in Outlook 2003 ... Prev by Date: ...
    (microsoft.public.office.developer.outlook.vba)
  • Outlook plugin - working with contacts
    ... Am unable to find any sample code that will work with contacts in ... Something that implements VS2005 and Outlook 2003. ... I wish to make a macro which will move all primary numbers to say a ... Prev by Date: ...
    (microsoft.public.vsnet.vstools.office)
  • Re: Deleting Even Pages Within Page-Range
    ... point me to) some sample code that would help me build a macro to ... I would like to bind this to a macro to automate this massive page ... then change that formatting to not use blank even pages. ... the repaginate method in VBA help for repaginating a document. ...
    (microsoft.public.word.vba.beginners)
  • Re: Assign a macro to create a pivot table
    ... sample code follows the proper syntax for the function. ... > I am currently creating a macro from a data worksheet but I am receiving ... > receiving an addfields method of Pivot Table Class failed. ...
    (microsoft.public.excel.programming)
  • Re: Automating Word from script
    ... I made some progress using your blog and the macro recorder in Word. ... selection to work with a few minor tweaks. ... .ApplyStyleHeadingRows = True ... sample code and maybe sample Word files and perhaps a list of vb ...
    (microsoft.public.outlook.program_vba)