Results 1 to 16 of 16
Thread: C++
Hybrid View
-
30th December 2010 04:18 #1_
Join Date: Apr:2006
Location: _
Posts: 1,128
C++
++ . ?
-
30th December 2010 12:30 #2
. , , -, , ..
Have no fear ike iz here.
CPU Cx486DLC@40MHz, RAM 4MB, VGA Trident 512KB, HDD Conner 160MB, Monitor 14" Color
-
30th December 2010 17:12 #3_
Join Date: Apr:2006
Location: _
Posts: 1,128
?
-
30th December 2010 17:34 #4Registered User
Join Date: Aug:2006
Location:
Posts: 4,052
. ,

, /, dependency injection , shared memory, sockets, 0mq , .
-
30th December 2010 17:45 #5_
Join Date: Apr:2006
Location: _
Posts: 1,128
-? shared memory ?
-
30th December 2010 18:54 #6
-
30th December 2010 19:37 #7_
Join Date: Apr:2006
Location: _
Posts: 1,128
boost
?
-
30th December 2010 22:22 #8
-
30th December 2010 18:08 #9Registered User
Join Date: Aug:2006
Location:
Posts: 4,052
. , , ..
, .
-
30th December 2010 18:27 #10_
Join Date: Apr:2006
Location: _
Posts: 1,128
XML 200 . :
XML
.
.
. .
-
5th January 2011 14:54 #11
?
EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|
-
5th January 2011 14:56 #12_
Join Date: Apr:2006
Location: _
Posts: 1,128
Linux
-
15th January 2011 03:28 #13_
Join Date: Apr:2006
Location: _
Posts: 1,128
. .
boost .Code:/* * First process */ #include <boost/interprocess/ipc/message_queue.hpp> #include <iostream> #include <vector> using namespace boost::interprocess; int main () { try{ //Erase previous message queue message_queue::remove("message_queue"); //Create a message_queue. message_queue mq (create_only //only create ,"message_queue" //name ,100 //max message number ,sizeof(int) //max message size ); //Send varible int varible = 11; //varible - massage, sizeof(varible) - lenght of the message, 0 - priority mq.send(&varible, sizeof(varible), 0); } catch(interprocess_exception &ex){ std::cout << ex.what() << std::endl; return 1; } return 0; } /* * Second Process */ #include <boost/interprocess/ipc/message_queue.hpp> #include <iostream> #include <vector> using namespace boost::interprocess; int main () { try{ //Open a message queue. message_queue mq (open_only //only create ,"message_queue" //name ); unsigned int priority; std::size_t recvd_size; //Receive varible int varible; mq.receive(&varible, sizeof(varible), recvd_size, priority); } catch(interprocess_exception &ex){ message_queue::remove("message_queue"); std::cout << ex.what() << std::endl; return 1; } message_queue::remove("message_queue"); return 0; }
-
15th January 2011 17:06 #14
, ?
Have no fear ike iz here.
CPU Cx486DLC@40MHz, RAM 4MB, VGA Trident 512KB, HDD Conner 160MB, Monitor 14" Color
-
15th January 2011 20:38 #15_
Join Date: Apr:2006
Location: _
Posts: 1,128
shared memory, messages .




Reply With Quote

Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in