CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: new data types

  1. #1
    Join Date
    Mar 2010
    Location
    Melbourne Australia
    Posts
    454

    new data types

    is it possible to create new data type , i.e a 48 bit integer , , I mean the ones which are not defined by the compiler ,
    like 128 bit unsigned integer ( IPV6) address ) , so on you get the picture.

  2. #2
    Join Date
    May 2009
    Posts
    2,413

    Re: new data types

    Quote Originally Posted by aamir121a View Post
    so on you get the picture.
    Sure you can define such a class/struct in terms of existing primitives. But it will never be like you've added a new hardware feature so it will be slower than the native primities.
    Last edited by nuzzle; March 23rd, 2011 at 01:29 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured