|
-
May 6th, 2011, 11:20 AM
#1
text processing
Hi,
I want to write an''ideal''class for general text processing.
What it has facilities should it?
How do I write this ?
-
May 6th, 2011, 11:22 AM
#2
Re: text processing
What is wrong with a standard std::string class?
Victor Nijegorodov
-
May 6th, 2011, 02:42 PM
#3
Re: text processing
 Originally Posted by firattag
Hi,
I want to write an''ideal''class for general text processing.
What it has facilities should it?
How do I write this ?
I would suggest getting some kind of IDE that includes and editor, compiler, linker and debugger.
-
May 6th, 2011, 03:43 PM
#4
Re: text processing
 Originally Posted by GCDEF
I would suggest getting some kind of IDE that includes and editor, compiler, linker and debugger.
What can I use to do it ?
-
May 6th, 2011, 03:46 PM
#5
Re: text processing
To mention the most popular variants: MSVC express or code::blocks
Last edited by S_M_A; May 6th, 2011 at 03:54 PM.
-
May 6th, 2011, 03:53 PM
#6
Re: text processing
 Originally Posted by S_M_A
To mention the most poular variants: MSVC express or code::blocks
I do not know what they ?
MSVC Express
code::Blocks
-
May 6th, 2011, 03:55 PM
#7
-
May 7th, 2011, 08:19 AM
#8
Re: text processing
"code block" Is it a compiler?
-
May 7th, 2011, 08:29 AM
#9
Re: text processing
No. Its an IDE, an integrated development environment. Generally these consist of a code editor, a build system, a debugger, a compiler and a linker. See here.
Get Microsoft Visual C++ Express here or CodeBlocks here.
Get STLFilt here to radically improve error messages when using the STL.
Get these two can't live without C++ libraries, BOOST here and Loki here.
Check your code with the Comeau Compiler and FlexeLint for standards compliance and some subtle errors.
Always use [code] code tags [/code] to make code legible and preserve indentation.
Do not ask for help writing destructive software such as viruses, gamehacks, keyloggers and the suchlike.
-
May 7th, 2011, 08:53 AM
#10
Re: text processing
this si what the IDE?
What to do with text processing
-
May 7th, 2011, 10:07 AM
#11
Re: text processing
IDE's have nothing to do with text processing, I just answered your 'what is codeblocks' question.
For text processing, what do you want to do?
Its already been answered. What is wrong with the std::string class. You can do all sorts of text processing with it as long as the text isn't unicode. Whilst std::string can be used to hold the byte sequence of UTF8 some member functions wont process the string correctly as UTF8 has variable size characters. wstring can be used for UTF16 on windows systems though again it has some limitations due to characters beyond the basic multilingual plane not fitting into 16 bits, though on *nix systems wstring uses I think 32 bit chars and so should work perfectly for UTF32. What do you want/need to do that is beyond the capabilities of the C++ string classes?
Last edited by Russco; May 7th, 2011 at 10:11 AM.
Get Microsoft Visual C++ Express here or CodeBlocks here.
Get STLFilt here to radically improve error messages when using the STL.
Get these two can't live without C++ libraries, BOOST here and Loki here.
Check your code with the Comeau Compiler and FlexeLint for standards compliance and some subtle errors.
Always use [code] code tags [/code] to make code legible and preserve indentation.
Do not ask for help writing destructive software such as viruses, gamehacks, keyloggers and the suchlike.
-
May 7th, 2011, 10:40 AM
#12
Re: text processing
I need,
I want to find the answer to this question.
Consider writing an ‘‘ideal’’ class for general text processing. Call it Text . What facilities
should it have? What implementation constraints and overheads are imposed by your set of
‘‘ideal’’ facilities?
-
May 7th, 2011, 10:44 AM
#13
Re: text processing
So what is *your* set of ‘‘ideal’’ facilities?
Victor Nijegorodov
-
May 7th, 2011, 10:47 AM
#14
-
May 7th, 2011, 10:51 AM
#15
Re: text processing
 Originally Posted by firattag
 Originally Posted by VictorN
So what is *your* set of ‘‘ideal’’ facilities? 
ok.  )
Well, your manner to answer the questions set to understand your problems could let the community just ignore your posts at all.
Victor Nijegorodov
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|