CFanatic

Go Back   CFanatic > CFanatic marketplace > Sell Your Code

Cross-platform C++ framework topic posted under Sell Your Code which is a part of CFanatic marketplace category in CFanatic Forum
Reply
 
Thread Tools Display Modes
  #1  
Old 04-12-2010, 07:04 AM
Junior Member
 
Join Date: Mar 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
davidk is on a distinguished road
| More
Cross-platform C++ framework

There is a C++ Framework project introduced by Firmdev recently. It helps C++ developers make their applications faster and more convenient, concentrating on program's algorithms rather than routine operations. The framework is cross-platform and supports Windows and Linux operating systems. This means that you write the code once and the program will work on both Windows and Linux.

General features:
- Fundamental C++ components like dynamic arrays
- System threads, processes
- Sockets and network protocols such as HTTP and FTP
- Databases (MySQL, PostgreSQL, SQLite are supported)
- Images converting (BMP and JPEG are supported)

The project is often updated so do not be surprised when the features you were just dreaming about are already included there.

Consider a simple example of echo server:
Code:
#include <ff0.h> //include Firm Framework
int main()
{
    using namespace FF;
    using namespace FF::Net;
    Sock lsock //listening socket
        , sock; //client socket
    //create socket, bind and start the listening to on 12345 port
    if(!lsock.CreateListen(12345))
    {
        Err::print(); //print the last error description
        return 1;
    }
    Base::Str str;
    while(lsock.Accept(&sock)) //accept a client
    {
        sock.WriteLnUTF8(L"Welcome to the ECHO server! "
                          L"Type a string to receive it back or type 'quit' to disconnect.");
        while(sock.ReadLnUTF8(&str)) //read line from the client
        {
            str.Chop(); //trim 'end-of-line' characters
            if(str == L"quit" //disconnect if 'quit' has been received
                || !sock.WriteLnUTF8(str) //send the line back to the client
                )
                break;
        }
    }
    return 0;
}
System sockets are used here for communication. The messages are in UTF-8 encodiing. Check out the full version of the article called 'Sockets in FF' <firmdev.com/article/ff/sockets>.

Firm Framework version 0.4 has been released on April 9, new features and improvements make your development process even easier and more convenient.

Firm Framework is offered under 2 licensing options:
1. Non-commercial license. If your software is non-profit, use Firm Framework for free!
2. Commercial license. If you are making commercial software, buy the license. Updates and technical support are included for a 1 year period.

Read more about Firm Framework on <firmdev.com/firm_framework>.
Reply With Quote
  #2  
Old 08-06-2011, 12:30 AM
Junior Member
 
Join Date: Aug 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
charlesth is on a distinguished road
| More
Re: Cross-platform C++ framework

Nice information thanks for dhare it.
Reply With Quote
  #3  
Old 07-26-2012, 12:09 AM
7900142's Avatar
Junior Member
 
Join Date: Jan 2011
Location: Philippines
Posts: 14
Thanks: 0
Thanked 3 Times in 3 Posts
7900142 is on a distinguished road
| More
Re: Cross-platform C++ framework

Hey Guys,
Take some time to read about QT. It is also a cross platform C++ dev tool. It being used by Nokia and they have open sourced it. This is the link : qt.nokia.com
Hope this will help.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO ©2010, Crawlability, Inc.