Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

annum

@annum
About
Posts
10
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Can You Help With This?
    A annum

    Well if ( noobie = "confused" ) { print "Search Google© for answer"; will always be true, and he will be searhing the google, else will never occur :-)

    C / C++ / MFC question help learning

  • Suddenly Symbian
    A annum

    So you downloaded the Series 60 platform sdk, but how can the vsiual studio generate code for symbian. I thought that I would have to buy an IDE like codewarrior for any symbian development.

    Mobile help question learning

  • Suddenly Symbian
    A annum

    What are you guys using to develop, I mean which IDE and is it C++ or Java. There are only 10 kind of people in this world, those who understand binary and those who do not!

    Mobile help question learning

  • Start a dialog hidden
    A annum

    ON my windows desktop app, I would start model dialogs in a separate thread, as hidden using WM_WINDOWPOSCHANGING as ShowWindow, does not hide the dialog. On windows CE WM_WINDOWPOSCHANGING does not seem to be supported, so when I start the dialog, it appears right on the screen.. How can I hide it. Annum

    Mobile question

  • Reading email
    A annum

    All I want to do is just display the email thats there on my Pocket pc desvice. I am using evc++3 and Pocket PC 2002. Any samples, pointers, welcome. Annum

    Mobile c++

  • Pocket Excel
    A annum

    Is there a way to display Pocket excel/ Excel from my application without using the Shellexecute, like you can display Pocket Word files from the program on a pocket pc using the richink control, is there something similar for Excel/Pocket Excel as well. I will be using evc ++ 3.0, Win32, 2002/2003 Annum

    Mobile

  • Pocket PC Pocket Word
    A annum

    I want to be able to display only..... Thanks!

    Mobile c++ testing tools help question

  • Pocket PC Pocket Word
    A annum

    I have to be able to open and display the text of pocket word, pocket excel files in my app. I know there is no Pocket Automation available. Is there any other suggestion to go about it? Any help is very much appreciated. I am using evc++ 3/4 and Pocket PC 2002/2003 for my development. thanks for you time

    Mobile c++ testing tools help question

  • Regex++ causes abnormal program termination
    A annum

    I am using the CRegex class as am not good in using stl,i know now the pattern to be used for searching is not correct but dont know what the problem is ,basically what i am trying to do is look for lmp() in each line and remove new lines after all the lines that dont have a line wih lmp() beofre them,that way all the lines will start with lmp()

    C / C++ / MFC regex help

  • Regex++ causes abnormal program termination
    A annum

    Here is my code CStdioFile myfile,newFile; CString inString = ""; char* fString=""; //char *pattern="((\\s*lmp\\s*))"; char *pattern="\\s*(LMP\\([0-9]+\\)).*)\\n"; //***********The line below when reached //causes abnormal termination,dont know /whats the problem Please help RegEx exp(pattern,TRUE); std::string wholeFileStr=""; CString wholeFileString = "",filname="c:\\test23.txt",nName="c:\\MunnaMunna.txt"; // Read entire file into a string. try{ myfile.Open(filname,CFile::modeRead | CFile::typeText, NULL); newFile.Open(nName,CFile::modeWrite , NULL); } catch (CFileException e) { MessageBox("The file " + filname + " could not be opened for reading", "File Open Failed", MB_ICONHAND|MB_ICONSTOP|MB_ICONERROR ); //return FALSE; //myfile.Close(); //newFile.Close(); } try{ while (myfile.ReadString(inString)) {//newFile.WriteString(inString); //wholeFileString += inString; wholeFileStr = inString.GetBuffer(2); // //const char *wholeFileStr=(LPCTSTR)inString;//.GetBuffer(10); // RegEx exp("(\\*sLMP((0-9)+\)).*)\n$",TRUE); // RegEx exp("(\s*LMP\([0-9]+\))",TRUE); // RegEx exp("\s*LMP",TRUE); if(exp.Search(wholeFileStr)) { //strcpy(fString,exp[1].c_str()); CString sd(exp[1].c_str()); AfxMessageBox(sd); } else if(fString!="") { CString temp(fString); //CString temp2(wholeFileStr); temp+=inString; temp+="\n"; //strcat(fString,wholeFileStr); //strcat(fString,"\n"); newFile.WriteString(temp); } } //*************************************************************** } catch (CFileException e) { MessageBox("The file " + filname + " could not be opened for reading", "File Open Failed", MB_ICONHAND|MB_ICONSTOP|MB_ICONERROR ); //return FALSE; //myfile.Close(); //newFile.Close(); } newFile.Close(); myfile.Close();

    C / C++ / MFC regex help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups