Ok, everybody, I found out a solution to my problem. Now, I can write one line in pdf, I can write two lines in pdf, I can convert txt to pdf using C++ with DEV-C++ and code:blocks.
I was...
Type: Posts; User: leonardoadoado
Ok, everybody, I found out a solution to my problem. Now, I can write one line in pdf, I can write two lines in pdf, I can convert txt to pdf using C++ with DEV-C++ and code:blocks.
I was...
I am using DEV-C ++ and code:blocks for windows. they both set the same problem when I execute.
I downloaded CAIRO. When I opened the downloaded object, there were the objects BIN, INCLUDE, LIB,...
I exchanged the order of lines 19 and 21. The error is still the same
#include <cairo.h>
#include <cairo-pdf.h>
#include<conio.h>
int main() {
float position;
Maybe #7 is correct. But, Donīt you think that if He is right, this code should work? Donīt you agree?
#include <cairo.h>
#include <cairo-pdf.h>
int main() {
float position;
So, the problem is the library cairo?
Look this code...
#include <cairo.h>
#include <cairo-pdf.h>
//#include<stdio.h>
//#include<conio.h>
//#include<conio2.h>
//#include <stdlib.h>
Thanks for the answer.
I did what you told me. Look the code.
#include <cairo.h>
#include <cairo-pdf.h>
//#include<stdio.h>
//#include<conio.h>
//#include<conio2.h>
//#include <stdlib.h>
I am trying to build a code that converts txt file to pdf file.
I managed to create the pdf file. The problem is the pdf file is created corrupted. I would like to know whatīs wrong with the code....