ITeye博客

C/C++

共 3 篇文章

C++ string sort

#include<iostream> #include<string> int main(){ void sort(string *p,int); int i=0; string a[10]; for(i=0;i<10;i++){ cin>>a[i]; } for(i=0;i<10;i++){ cout<<a[i]<<endl; } sort(a,10); for(i=0;i<10;i++){ cout<<a[i]<<endl; } return 0; } void sort(String *p,int length){ int i,j; string temp; for(i=0;i<len…

2007-07-17 21:53 · C/C++ · C · C++ · J# · C#

Study C++ from novice

Iostream,iostrstream Virtual constructor, Template,STL, Pointer,reference. C++ key words: asm, auto, bool, break, case, catch, char, class, const, const_cast, continue, default, delete, do, double, dynamic_cast, else, enum, explicit, export, extern, false, float, for, friend, goto, if, inline, int,…

2007-04-12 12:28 · C/C++ · C · C++ · C# · F#

Ready for studying the firmware

Ready for studying firmware,Feel many things need learn, and what's important understand the mechnism of hardware. DSP related,Redback manual. Galaxy firmware. full of C/assembly.

2007-04-05 17:06 · C/C++ · C · C++ · C#