Thread: typedef modifiers

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User SKeane's Avatar
    Join Date
    Sep 2006
    Location
    England
    Posts
    234

    typedef modifiers

    Simple question really, why is the following not legitimate syntax?

    Code:
    typedef long long foo_t;
    
    foo_t f;
    unsigned foo_t uf;
    And yes, I do realise I can do ...

    Code:
    typedef long long foo_t;
    typedef unsigned long long ufoo_t;
    
    foo_t f;
    ufoo_t uf;
    I was just curious why the first syntax isn't allowed.
    Last edited by SKeane; 09-26-2006 at 03:36 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. failure to import external C libraries in C++ project
    By nocturna_gr in forum C++ Programming
    Replies: 3
    Last Post: 12-02-2007, 03:49 PM
  3. Need help understanding info in a header file
    By hicpics in forum C Programming
    Replies: 8
    Last Post: 12-02-2005, 12:36 PM
  4. Please STICKY this- vital to MSVC 6 dev - BASETSD.h
    By VirtualAce in forum Game Programming
    Replies: 11
    Last Post: 03-15-2005, 09:22 AM
  5. build errors migrated from dx9b to dx9c sdk
    By reanimated in forum Game Programming
    Replies: 4
    Last Post: 12-17-2004, 07:35 AM