User Profile

Collapse

Profile Sidebar

Collapse
TKM
TKM
Last Activity: Apr 16 '08, 09:14 AM
Joined: Dec 7 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • TKM
    replied to Convert Font into .C
    in C
    Following is a more detailed program, please provide help on how to go about converting a font into such .c file:

    #include "../include/ewin.h"

    static unsigned char
    bitmaps[]={
    1, 10, 4, // 0x20
    0x00, //

    9, 2, 4, // 0x21 '!'
    0x60, // ##
    0x60, // ##
    0x60, // ##
    0x60, // ##
    0x60, // ##
    0x40, //...
    See more | Go to post

    Leave a comment:


  • TKM
    replied to REading from file
    in C
    1) Get the data using the %d data type
    2) use counter to determine whether data is from the 1st or 2nd column and save them in arrays. Use a counter to count the number of items saved
    See more | Go to post

    Leave a comment:


  • TKM
    replied to c++
    in C
    If a class has a constructor defined, then whenever an instance of the class is created, the constructor would be automatically called. What the constructor does is to initialize the members of that class; according to how you have defined within the constructor itself.
    See more | Go to post

    Leave a comment:


  • TKM
    started a topic Convert Font into .C
    in C

    Convert Font into .C

    Hi all,

    I've have a GUI which calls a the following source file when I need to assign any font to be used in the GUI:
    static unsigned char
    bitmaps[]={
    1, 10, 4, // 0x20
    0x00, //

    9, 2, 4, // 0x21 '!'
    0x60, // ##
    0x60, // ##
    0x60, // ##
    0x60, // ##
    0x60, // ##
    0x40, // #
    0x00, //
    0x60, ...
    See more | Go to post

  • TKM
    started a topic Weird Function Calling
    in C

    Weird Function Calling

    I have a function defined and called by main program as follows:

    defined: int function_name (int)

    Called upon: (int (*)(int)) function_name

    Could anyone shed some light regarding the above? The program could be compiled and executed.
    See more | Go to post

  • TKM
    replied to !ifndef
    in C
    No, its not #ifndef, but !ifndef...
    See more | Go to post

    Leave a comment:


  • TKM
    replied to Borland C++ Builder
    in C
    Could you give me some examples of arguments that cannot be passed into register? Thanks!
    See more | Go to post

    Leave a comment:


  • TKM
    started a topic !ifndef
    in C

    !ifndef

    I came across the following satement in my source code:
    !ifndef NO_TOKEN

    Could someone shed some light regarding the above statement; what it means and its application. Thanks!!!
    See more | Go to post

  • TKM
    started a topic Borland C++ Builder
    in C

    Borland C++ Builder

    Hi,

    I tried customizing a new component based on the instructions from the book "Borland C++ Builder How-To". However, linker errors keep popping up claiming that the fastcall functions declared in the customized component could not be resolved. Does anyone has the same encounter?
    See more | Go to post

  • TKM
    replied to #include header_file
    in C
    The program is written in C. It has quite a number of header files and they are nested as well. Is it possible for the compiler to report no error in such instances?...
    See more | Go to post

    Leave a comment:


  • TKM
    started a topic #include header_file
    in C

    #include header_file

    I have a program that #includes a number of header files. However, these header files merely contains #ifndef, #define and #endif and nothing else. This program calls a number of functions which are defined in other source files. How is it possible for the program to work when the header files did not include any declarations of the functions which are defined in those source files? The program works, however, I'm interested in finding out why the...
    See more | Go to post
No activity results to display
Show More
Working...