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, //...
User Profile
Collapse
-
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 savedLeave a comment:
-
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.Leave a comment:
-
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, ... -
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. -
-
Could you give me some examples of arguments that cannot be passed into register? Thanks!Leave a comment:
-
!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!!! -
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? -
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?...Leave a comment:
-
#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...
No activity results to display
Show More
Leave a comment: