start
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| start [2024/09/28 12:42] – wikiadmin | start [2024/09/30 10:38] (current) – wikiadmin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== NCReport ====== | + | ====== NCReport |
| NCReport is a powerful, fast, multi-platform and easy to use report engine library, report generator, report designer, report writer, reporting tool, document printing system written in C++ and based on Qt toolkit. The software' | NCReport is a powerful, fast, multi-platform and easy to use report engine library, report generator, report designer, report writer, reporting tool, document printing system written in C++ and based on Qt toolkit. The software' | ||
| + | |||
| + | [[wiki: | ||
| Line 12: | Line 14: | ||
| C-->D | C-->D | ||
| </ | </ | ||
| + | |||
| + | ===== This is another ===== | ||
| + | < | ||
| + | sequenceDiagram | ||
| + | Alice ->> Bob: Hello Bob, how are you? | ||
| + | Bob-->> | ||
| + | Bob--x Alice: I am good thanks! | ||
| + | Bob-x John: I am good thanks! | ||
| + | Note right of John: Bob thinks a long< | ||
| + | |||
| + | Bob--> | ||
| + | Alice-> | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | <code C++> | ||
| + | int EmailReader:: | ||
| + | { | ||
| + | CURL* curl; | ||
| + | CURLcode res; | ||
| + | |||
| + | // Initialize libcurl | ||
| + | curl_global_init(CURL_GLOBAL_DEFAULT); | ||
| + | |||
| + | // Create a curl handle | ||
| + | curl = curl_easy_init(); | ||
| + | if (curl) { | ||
| + | // Set the IMAPS URL (replace with your email server details) | ||
| + | std::string emailData; | ||
| + | //const char* url = " | ||
| + | |||
| + | // Set the username and password | ||
| + | //const std::string login = std:: | ||
| + | |||
| + | /* Set username and password */ | ||
| + | curl_easy_setopt(curl, | ||
| + | curl_easy_setopt(curl, | ||
| + | curl_easy_setopt(curl, | ||
| + | curl_easy_setopt(curl, | ||
| + | curl_easy_setopt(curl, | ||
| + | |||
| + | /* This will fetch message 1 from the user's inbox */ | ||
| + | |||
| + | for (int i = idFrom; i <= idTo; ++i) { | ||
| + | execIMAPUrl(curl, | ||
| + | emailData.clear(); | ||
| + | } | ||
| + | |||
| + | if (false) { | ||
| + | execIMAPCommand(curl, | ||
| + | } | ||
| + | } | ||
| + | |||
| + | // Cleanup global resources | ||
| + | curl_global_cleanup(); | ||
| + | |||
| + | return 0; | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ^ Heading 1 ^ Heading 2 ^ | ||
| + | | Some text | Multiple\\ rows of\\ text | | ||
| + | |||
| + | [[start|NCReport C++ Report Engine]] | ||
| + | |||
start.1727520178.txt.gz · Last modified: 2024/09/28 12:42 by wikiadmin
