Click here to Skip to main content
15,921,113 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Inserting string and increasing file size in istream ? Pin
mmayur13-Mar-09 13:48
mmayur13-Mar-09 13:48 
GeneralRe: Inserting string and increasing file size in istream ? Pin
Stuart Dootson13-Mar-09 14:06
professionalStuart Dootson13-Mar-09 14:06 
Answer[Message Deleted] Pin
zzgzzgok13-Mar-09 12:56
zzgzzgok13-Mar-09 12:56 
RantRe: Hight price looking for talent c/c++ guru, Pin
CPallini13-Mar-09 13:12
mveCPallini13-Mar-09 13:12 
General[Message Deleted] Pin
zzgzzgok13-Mar-09 13:14
zzgzzgok13-Mar-09 13:14 
GeneralRe: Hight price looking for talent c/c++ guru, Pin
Yusuf13-Mar-09 13:34
Yusuf13-Mar-09 13:34 
QuestionRegular expression Pin
Demian Panello13-Mar-09 12:26
Demian Panello13-Mar-09 12:26 
AnswerRe: Regular expression Pin
BobInNJ13-Mar-09 12:44
BobInNJ13-Mar-09 12:44 
First, realize that not all sets of numbers can be represented by regular expressions. For example, the set of all prime integers cannot be represented as a regular expression. Now, one way to represent the set of real numbers between 143 and 163 is as follows:
143|144|145|146|147|148|149|150|151|152|153|154|155|156|157|158|159|160|161|162|163
The problem is with this approach is that the range of numbers may be quite large and the corresponding regular expression excessively large. Here is another regular expression that is
smaller for the same range:
143|144|145|146|147|148|149|15(0|1|2|3|4|5|6|7|8|9)|160|161|162|163
I am thinking with this as a start, you can develop an algorithm for an arbitrary range and the regular expression is not going to be so big as to be unmanageable.

I hope I helped you and feel free to ask a follow up question.

Bob
GeneralRe: Regular expression Pin
Demian Panello13-Mar-09 14:19
Demian Panello13-Mar-09 14:19 
QuestionI Think I need to free Something Pin
BobInNJ13-Mar-09 11:38
BobInNJ13-Mar-09 11:38 
AnswerRe: I Think I need to free Something Pin
Stuart Dootson13-Mar-09 13:54
professionalStuart Dootson13-Mar-09 13:54 
GeneralRe: I Think I need to free Something Pin
BobInNJ14-Mar-09 13:16
BobInNJ14-Mar-09 13:16 
GeneralRe: I Think I need to free Something Pin
Stuart Dootson14-Mar-09 13:24
professionalStuart Dootson14-Mar-09 13:24 
GeneralRe: I Think I need to free Something Pin
BobInNJ14-Mar-09 14:16
BobInNJ14-Mar-09 14:16 
GeneralRe: I Think I need to free Something Pin
Stuart Dootson14-Mar-09 18:53
professionalStuart Dootson14-Mar-09 18:53 
QuestionMemory Leakege Reporting without line number Pin
Member 349347313-Mar-09 11:09
Member 349347313-Mar-09 11:09 
AnswerRe: Memory Leakege Reporting without line number Pin
Stuart Dootson13-Mar-09 13:50
professionalStuart Dootson13-Mar-09 13:50 
GeneralRe: Memory Leakege Reporting without line number Pin
Member 349347314-Mar-09 11:27
Member 349347314-Mar-09 11:27 
Questionhow do I, amend a bitmap a run time Pin
simon alec smith13-Mar-09 9:02
simon alec smith13-Mar-09 9:02 
QuestionRe: how do I, amend a bitmap a run time Pin
CPallini13-Mar-09 9:11
mveCPallini13-Mar-09 9:11 
AnswerRe: how do I, amend a bitmap a run time Pin
Hamid_RT13-Mar-09 19:48
Hamid_RT13-Mar-09 19:48 
QuestionI find an interesting and confusing code..have a look. Pin
JackPuppy13-Mar-09 8:39
JackPuppy13-Mar-09 8:39 
AnswerRe: I find an interesting and confusing code..have a look. Pin
led mike13-Mar-09 8:49
led mike13-Mar-09 8:49 
GeneralRe: I find an interesting and confusing code..have a look. Pin
JackPuppy13-Mar-09 8:55
JackPuppy13-Mar-09 8:55 
GeneralRe: I find an interesting and confusing code..have a look. Pin
David Crow13-Mar-09 8:58
David Crow13-Mar-09 8:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.