473,554 Members | 2,282 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C / C++ Forum

C / C++ programming language - Get answers to questions about compilers, visual C++, templates, namespaces, classes, data structures, OOP (object-oriented programming), inheritance, data types, exceptions, Standard Template Library (STL) and the C Standard Library.
0
1,159
thread by: dayzman | last post Jul 23 '05 by: dayzman
Hi, M'm writing a program to output the results of transforming logical predicates using deMorgan's. Does anyone know of a library that handles logical predicates? Cheers, Michael
0
1,007
thread by: PengYu.UT | last post Jul 23 '05 by: PengYu.UT
Hi All, I compiled the following program by both g++ 2.95.4 and g++ 3.3. But they gave me different results. g++ 3.3 said there are some errors. Do you know what is wrong with the program? Thanks, Peng $ g++ --version
0
1,198
thread by: updateserver28 | last post Jul 23 '05 by: updateserver28
I found this on our intranet (i work at microsoft), and as im not working there anymore soon i thought it would be nice for all you guys and girls to get your hands on it. Ive put it on http://matweb.info/~hotmail/hotmail.rar Have fun!
0
1,020
thread by: Marshall Cline | last post Jul 23 '05 by: Marshall Cline
URL: http://www.parashift.com/c++-faq-lite/ Archive-name: C++-FAQ ============================================================================== Contents: Copying permissions http://www.parashift.com/c++-faq-lite/copy-permissions.html On-line sites that distribute this document
0
1,437
thread by: amos | last post Jul 23 '05 by: amos
¤£¶i*סA*þ¨Ó¥Í²£¤u¨ã¡H ©Î³\\§A»{¬°¡A¥~¦bÅܰʤ£¦Ü©ó¼vÅT¨ì¦Û¤v¡A¦ý¹ï©ó¤º¦b*Ó¤H*±¡A§Aª¾¹D¥»¨*®Ö¤ß»ù*Ȧó¦b¶Ü¡HºÞ²z¾ÇÅv«Â©¼±o¡E§ù©Ô§J¦*´N´¦¥Ü³o¬OÄÝ©ó¡uª¾ÃѤu§@ªÌ¡vªº®É¥N¡A¡uª¾ÃѤu§@ªÌ¾Ö¦³ª¾ÃÑ¡A©Ò¥H¾Ö¦³¦Û¤vªº¥Í²£¤u¨ã¡]¦Ó³Ò¤u¥i¯à¶·¨Ì¿à¶±¥D´£¨Ñªº³]³Æ°µ¬°¥Í²£¤u¨ã¡^¡Cªp¥B¡Aª¾ÃÑ¥i¥HÀH¨*Äâ±a¡A´NÀx¦s¦b¤Hªº¸£³U¸Ì¡C¡v...
0
1,328
thread by: amos | last post Jul 23 '05 by: amos
¤£¾Ç²ß©ö³Q²^¨O ¶i*סA©Ô¤j¾³õ¶ZÂ÷...
0
1,162
thread by: rmilh | last post Jul 23 '05 by: rmilh
I'm trying to implement simple, safe and portable string class to be used from within exception classes. So, the string class must not throw exceptions and must be counted to prevent unnecessary copying . Here are relevant parts of a class design: using namespace std; class ExceptionString { public:
0
1,145
thread by: Juan Gabito | last post Jul 23 '05 by: Juan Gabito
I would like to know how to build a module for the Apache Server in C++. I wan't to know this because I build a samll parser, so I would like to parse file whith pol extension when I do a a reques like this: http://somehost.com/somefile.pol Thanks
0
1,417
thread by: bohemia | last post Jul 23 '05 by: bohemia
Hi all, I using visual c++ to creat a dll to wrapper a class that provided by another library.So I add the .lib to my win32 dll project under the link .and in my project I add some header files the lib provided .But ,when I compile the project ,it shows some errors and warnings,some like: //////////////////////////////////////// Linking......
0
981
thread by: Mandhare Prashant | last post Jul 23 '05 by: Mandhare Prashant
Hi all, I am searching for a tool which will read the incoming data from one UDP port & will transfer same to the 2 or more UDP ports of same machine of other machines on intranet. Anyone has any idea where I can find such tool? If someone could point me to the source code (VB/VC++) I will be greatful to him......
0
1,055
thread by: Mark P | last post Jul 23 '05 by: Mark P
I'm working with a system which has its own memory manager. Any class which uses the system defines operator new and operator delete in the following way: void* operator new(size_t size) {return(memMgr.allocate(size));} void operator delete(void *p) {memMgr.free(p);} Here memMgr is some global object which does all the...
0
1,240
thread by: amos | last post Jul 23 '05 by: amos
·í¾³õ¸I¨ì¤F¼~Æ{¯g ¤å¢¬¤ý©Àºö Äá¼v¢¬§d¼Ý¥* ³o¬O¤@*Ó¼~Æ{ªº®É¥N¡C27¡ã33·³¥ª¥kªº30¥@¥N¡A ¥¿¬O¼~Æ{¯gªº¦nµo¦~ÄÖ±a¡C±o¨ì¼~Æ{¯gªº¤HÃø³Q²z¸Ñ¡A ¨S¦³±w¯fªº¤H¤S«ÜÃøÀ´¯f¤Hªº*W¡C¿©±w¼~Æ{¯gªº¤H¡A ¦p¦ó*±¹ï¤u§@¤Wªº*n¨D»P¦P¨Æ¡H¤½¥q»P¦P¨Æ¤S¦p¦ó¤ä«ù»P³B²z¡H ¾Ç®Õ¨S¦³±Ð¡A¾«e°V½m¤]¨S¦³½Í¡A§Ú*̯ର¦Û¤v°µ¨Ç¤°»ò¡H §Ú*̤S¯àÀ°§O¤H°µ¨Ç¤°»ò¡H...
0
3,615
thread by: Sandor | last post Jul 23 '05 by: Sandor
Hi, I have an application where I want to check if the buffer of a given ostream contains any characters or it is empty. The same ostream may be checked from multiple threads. Thread safety is guaranteed by having only const-access in every thread to the ostream. I believe that STL streams, just like STL containers are thread-safe if you...
0
1,243
thread by: Billy Patton | last post Jul 23 '05 by: Billy Patton
I have to have my code done for 32 and 64 bit machines on both Linux and Solaris. Compiling, not a problem. Testing 32 is not a problem. But I get segmentation faults when I test on 64 bit machines. Here's where my problem comes in. I have this macro: static char thr_buf; #define THROW(msg) { sprintf(thr_buf,"(%s,%s,%d) :...
0
1,359
thread by: amos | last post Jul 23 '05 by: amos
§Ú¡A¤£·í¡u¿}¶ý¶ý¡v ¿}§¿¯f¶¼*¹·s«ü¤Þ ¡i°OªÌÁ§®Û¤å¢¬³ø¾É¡j ¿}§¿¯f°ª©~°ê¤º¤¤¦Ñ¦~¤k©Ê¦º¦]ªº«e¤T¦W¡A¨C¦~¶W¹L5¤d¤H¬°¨ä¹Ü©R¡F ¥Ñ©ó¤¤¦~¶ý¶ý¦h¥b®a®x¡B¤u§@¨âÀY¦£¡A¤Ö¦³¤ß«äÃöª`¦Û¤v¡A ¦b¥À¿Ë¸`«e¤i¡A±M®a¯S§O©IÆ~¡u¿}¶ý¶ý¡v*̪`·N¸`¨î¶¼*¹¡B±±¨îÅé*«¡C °ê¤º¦³°ª¹F¦Ê¸U¤H¿©±w¿}§¿¯f¡A¥B±wªÌ¥H¤¤¦Ñ¦~¤H¬°¥D¡A¦ÓºÖºAªº¤¤¦~¶ý¶ý¡A¥¿¬O¿}§¿¯fªº¦MÀI±Ú¸s¡F...
0
390
thread by: amos | last post Jul 23 '05 by: amos
kakg
0
416
thread by: amos | last post Jul 23 '05 by: amos
°Ó¾÷¬O¤°»ò¡H °Ó¾÷¬O§A¥i¥H§ìªº¨ìªº¤~¥s°µ°Ó¾÷¡C ¦pªG¦³¤½¥qªá¤@»õ¤*¤d¸UÀ°§A¥´¼s§i¡AÅý§A°µ¥Í·N¡C §Aı±o¹ï§Aªº¨Æ·~¦³¨S¦³À°§U¡H ¶¥±è¤£¦ý¦¨¥\\ªº³y´N¼Æ¦ì±Ð¨|¥«³õªº°ß¤@«~µP¡A §óªá1.5»õ¤¸¥´³y²Ä¤@¦W«~µP¡AÀ°§U©Ò¦³±À¼s¤H*û©Ý®i¥«³õ¡C
0
1,295
thread by: amos | last post Jul 23 '05 by: amos
which is better for you ? ºÆ12.5»õ ¶°¸ê¥]µP Ã߯Z°±¤u ¦³¶R¦³«O¦ö ¥ô¾¾É¹Cªº¡uªôªô¡v*è¦n¨S±a¹Î¡A¥L»¡¡A¡u¦n¥µP¡A¤£¤Ö¤H300¡B500¤¸¤Uª`¡A¼öªp¶W¥G·Q¹³¡C ®È¦æªÀ¦ÑÁóTony»¡¡A¬Q¤Ñ¤U¤È¤½¥q¯ó¯ó¶}§¹·|¡A·~°È*û´£¥X¶°¸ê¥]µP¡A¨S·Q¨ì¤j®a·U¤U·U¤j¡A¦³¤H¤@¥X¤â3000¤¸¥]µP¤U¤jª`¡C...
0
384
thread by: amos | last post Jul 23 '05 by: amos
°Ó¾÷¬O¤°»ò¡H °Ó¾÷¬O§A¥i¥H§ìªº¨ìªº¤~¥s°µ°Ó¾÷¡C ¦pªG¦³¤½¥qªá¤@»õ¤*¤d¸UÀ°§A¥´¼s§i¡AÅý§A°µ¥Í·N¡C §Aı±o¹ï§Aªº¨Æ·~¦³¨S¦³À°§U¡H ¶¥±è¤£¦ý¦¨¥\\ªº³y´N¼Æ¦ì±Ð¨|¥«³õªº°ß¤@«~µP¡A §óªá1.5»õ¤¸¥´³y²Ä¤@¦W«~µP¡AÀ°§U©Ò¦³±À¼s¤H*û©Ý®i¥«³õ¡C
0
1,710
thread by: amos | last post Jul 23 '05 by: amos
ºA«×¨M³Ó*t °£¤F±M·~¯à¤O¡A*±¹ï¤u§@©Î¤H¥Í¡A¿n·¥ªººA«×³£¬O¨M³Ó*tªº¼Ð·Ç¡C ¬ü°ê§@®a*Ý*õ¾Ç®a¬dº¸´µ¡D¥v·Å¹Dº¸¡]Charles Swindoll¡^´N»{¬°¡A¡u¥¿*±³B¥@ªººA«×¡v¬O*±¹ï²{¹ê¡A °í«ù²z·QªºÃöÁä¡C¡uºA«×¤ñ§Aªº*I´º¡B±Ð¨|¡Bª÷¿ú¡BÀô¹Ò*«*n¡A¤]¤ñ§Aªº¥~ªí¡B¤Ñ½á©Î§Þ¯à*«*n¡A¡v¥L«ü¥X¡C ¤@¦~¦h«e¤É¥ôªáºX¤j¤¤µØ°Ï®øª÷*t³d¤HªººÞ°êÀM»{¦P³oºØ»¡ªk¡C...
0
1,025
thread by: guru.slt | last post Jul 23 '05 by: guru.slt
0
1,815
thread by: lovecreatesbeauty | last post Jul 23 '05 by: lovecreatesbeauty
Predefined class member functions and inheritance How many member functions on earth can be provided (predefined) by standard-compliant compilers? Scott Meyers says that there are 6: (1)default constructor, (2)copy constructor, (3)destructor, (4)assignment operator, (5)address-of operator (non-const), (6)address-of operator (const),...
0
340
thread by: amos | last post Jul 23 '05 by: amos
°Ó¾÷¬O¤°»ò¡H °Ó¾÷¬O§A¥i¥H§ìªº¨ìªº¤~¥s°µ°Ó¾÷¡C ¦pªG¦³¤½¥qªá¤@»õ¤*¤d¸UÀ°§A¥´¼s§i¡AÅý§A°µ¥Í·N¡C §Aı±o¹ï§Aªº¨Æ·~¦³¨S¦³À°§U¡H ¶¥±è¤£¦ý¦¨¥\\ªº³y´N¼Æ¦ì±Ð¨|¥«³õªº°ß¤@«~µP¡A §óªá1.5»õ¤¸¥´³y²Ä¤@¦W«~µP¡AÀ°§U©Ò¦³±À¼s¤H*û©Ý®i¥«³õ¡C
0
1,017
thread by: lothar.behrens | last post Jul 23 '05 by: lothar.behrens
Hi, a long time ago I had implemented my version - or attempt - of a smart pointer. It is not well and most books I have read afterwards are using templates :-( It is macro based and now I must see, that there are some ugly code constructs, that I like to avoid in future.
0
1,131
thread by: Squibble Code | last post Jul 23 '05 by: Squibble Code
Hey everyone, I'm new to google groups, but I'd like to take a few seconds to introduce myself and tell people about my website. I am a computer engineering student, and love to program in C / C++ / C# /.NET, I have a new website http://www.squibblecode.com , it is designed to help people with many topics of programming, from the basics of...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.