473,799 Members | 3,098 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Some C/C++ tips for experienced programmers

I find some useful tips about C/C++ and want to share with you. Sorry
if it bothers you.

Tips for better Coding Style:
http://tmh-coding-tips.blogspot.com/...ing-style.html

Tips for better Memory Management:
http://tmh-coding-tips.blogspot.com/...anagement.html

Tips for Performance Enhancements
http://tmh-coding-tips.blogspot.com/...ancements.html

Tips for STL
http://tmh-coding-tips.blogspot.com/...s-for-stl.html

Tips for STL and Generic Programming
http://tmh-coding-tips.blogspot.com/...ogramming.html
Sep 14 '08 #1
0 1239

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1389
by: Andreas.Bretl | last post by:
Hi all, We are currently facing a strange problem. We wrote an ASP application using some sessions and database-connectivity, nothing special. On some machines (we are all using IE5.5 / IE6) those applications produce a 404 error. The pages that are called do exist (I checked it thousands of times and it is only happens on some machines).
3
2044
by: Michael Lauzon | last post by:
This is not for a class, I have a group on SourceForge, this is what one of the Developers is asking; the more advanced you can make it right off all the better!: Can someone please create some MySQL to create the first table: the players table. It will need to include (as a minimum): - ID (unique)
53
5749
by: Cardman | last post by:
Greetings, I am trying to solve a problem that has been inflicting my self created Order Forms for a long time, where the problem is that as I cannot reproduce this error myself, then it is difficult to know what is going on. One of these Order Forms you can see here... http://www.cardman.co.uk/orderform.php3
2
288
by: Vanilla Sky | last post by:
http://osnews.com/story.php?news_id=6795&page=1 "This article focus on programming in C# with Mono. It contains a compilation of extremely useful tips and workarounds, especially for people used to lower level programming, like C programmers. Since the Mono documentation is still far from finished, and I found from my experience that it is still very hard to find information and help with C# issues when using Mono, I compiled a series of...
9
293
by: Aaron Smith | last post by:
Our company is trying to decide to go .Net or not and which language to use if we do. I have been doing a lot of research on .Net and VB.Net. I used to be a VB 6 developer till I started to work here, so all along I have been promoting VB. I'm also a VC++ developer, but have a little less experiance in that than in VB. I would like to know what the biggest difference, drawbacks, and advantages to using C# over VB.Net or vice versa. It's...
41
3979
by: Psykarrd | last post by:
I am trying to declare a string variable as an array of char's. the code looks like this. char name; then when i try to use the variable it dosn't work, however i am not sure you can use it the way i am trying to. Could some one please tell me what i am doing wrong, or another way of doing the same thing. i am trying to use the variable like this.
0
279
by: hiq2q | last post by:
To everybody who programs in CppBuilder. I have a website that is a repository of CppBuilder Tips and Articles. All members have the ability to search over 150,000 news articles just like google. Membership is free, and I ask that everyone who programs in CppBuilder to contribute to my website to share information to other CppBuilder programmers. http://www.DevSuperPage.com a.k.a Developer's Super Page.com is the name of my website....
193
9653
by: Michael B. | last post by:
I was just thinking about this, specifically wondering if there's any features that the C specification currently lacks, and which may be included in some future standardization. Of course, I speak only of features in the spirit of C; something like object-orientation, though a nice feature, does not belong in C. Something like being able to #define a #define would be very handy, though, e.g: #define DECLARE_FOO(bar) #define...
1
1591
by: marklinehan | last post by:
Hi, my name is Mark Linehan. About 20 years ago or so I started learning how to program on the Commodore 64 computer (anyone remember those?) heheheh. I taught myself basic on this little machine to the point that there was nothing I could not do in basic on the 64 and started learning assembly language on it. I moved up to the Amiga, and dabbled in C. Then moved to an IBM 386. At that time I literally knew plain old MS-DOS version(s) of...
0
9541
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10482
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10225
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10027
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9072
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7564
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5463
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5585
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3759
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.