Calloc (), malloc (), realloc (), free (), alloca ()
The memory area can be divided into Stack, heap, static storage area and constant storage area, local variables, function parameters, and temporary variables all get the memory on the stack, they
The memory area can be divided into Stack, heap, static storage area and constant storage area, local variables, function parameters, and temporary variables all get the memory on the stack, they are obtained automatically by the compiler.
Using
1) Develop an embedded video processing system based on the ti6000 series DSP;
2) transplantation and optimization of image and video processing algorithms on DSP; job requirements:
3) Experience in porting and developing DSP for image and video
Here is a question about macros. I have used ATL's String Conversion macros, including w2a, which I don't quite understand at first. To use these macros, you must start with the function.
Use uses_conversion to initialize some local variables. Use
From: http://blog.csdn.net/p40614021/article/details/6778100
ATL: conversion macros are a convenient way to convert various character encodings. They are very useful in function calls. The name of the ATL conversion macro is the [Source Type] 2
1. for smart pointers, security first, convenience second, localization (scoped_ptr) as much as possible );
2. Add const to the referenced parameter; otherwise, use the pointer parameter;
3. Use of function overloading should be clear and easy to
Source: heli.bokee.com Author: demonstrate Release Date: 21:26:00
Content: Memory
1. Several Basic Concepts: Page, frame, paging, and segment.Two memory allocation modes are available for processes. One uses exec functions and the other uses
The importance of code style in C + + code style guideToday, I received the news that thougthwork written, I really feel very uncomfortable, and then brother said my code is very badThink about it, I write code is really arbitrary, and did not
Header file
1. Define Protection
The header file name should be based on the projectSource codeThe full path of the tree.
2. header file dependency
Use the forward statement to minimize the number of # include in. H files.
Declarations
This article from http://soft.chinabyte.com/database/176/11595176.shtml
1. In C, these storage areas are divided
1. Stack-automatically allocated and released by the compiler
2. Heap-generally released by the programmer. If the programmer does not
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.