Does anybody use panda lib to generate PDF file in C on Linux?
I have a question here:
I found it becomes more slowly when it creates a PDF file more than 100 pages. what is probably problem for that, is it some problem with panda lib? or too much memory used?
Thanks
User Profile
Collapse
-
about panda PDF generator
-
coredump with mysql_real_query
When I executed a MYSQL query command, a coredump cames out. But not all the time, it means the program will appear core dump sometimes. Does anybody can tell me why it happens?
The following is the core debug informations.
by the way, I executed the SQL statement in the MYSQL-front directly, no retult returned.
#0 0x00fe1402 in __kernel_vsysca ll ()
#1 0x00b7a1f8 in raise () from /lib/libc.so.6
#2 0x00b7b948... -
tsearch questions
Does anybody can tell me the following answers?
In the description of tsearch function, what is purpose of the callback function( compar) as follows:
void *tsearch(const void *key, void **rootp,
int(*compar)(co nst void *, const void *));
also, basicly what are the two parameters in the function (compar)? -
Need information about network protocols in C
Hi everybody,
I am doing network lower programming. Does anybody have some information about most protocols' data structures which is decribed in C language. Please give me an advise.
Thanks. -
yes. this is a solution of that problem.
But, if I change the orientation style from portrait to landscape when I print the report, I have to change the parameters in function print_report(10 0,200). If there are many print_report(10 0,200) calls, It will cost much time on doing that multiple job.
So, What I am looking for is automatically adjusting the postion according to the paper's size( width and height ) -
about general report function
hi,
Does anybody have an idea about how to write a general report generator module?
Right now, I can create a report file by coding the specific position on a page. codes like following:
print_textbox(F ile, Page, 100, 100, 200, 300, "Hello");
It means It prints the string "Hello" at the location starts from (100, 100) to(200,300 ).
So, If I want to print the text at another... -
I have gotten the idea from somebody.
Just add "#include _XOPEN_SOURCE 500" at the 1st line of codes.Leave a comment:
-
the definitions of struct of FTW and 'FTW_MOUNT' are all in the ftw.h file. That is why I don't understand.Leave a comment:
-
nftw question?
hi everyone,
I am going to code a program for visit files in a directory. Follows are my codes:
#include <ftw.h>
#include <string.h>
#include <stdio.h>
int fn(const char *file, const struct stat *sb, int flag, struct FTW *s)
{
FILE *fp;
char line[128+1];
int count =0;
if( flag==FTW_F ){
if(strstr(file, "status")!=NULL ){...
No activity results to display
Show More
Leave a comment: