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
P

parth p

@parth p
About
Posts
107
Topics
18
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Find an algorithm
    P parth p

    Luc Pattyn wrote:

    Karnaugh maps aren't very useful

    That's why you have Quine–McCluskey algorithm. You can easily implement it in any language and it always works regardless of number of inputs.

    - Stop thinking in terms of limitations and start thinking in terms of possibilities -

    Algorithms algorithms debugging regex question learning

  • Recover SSIS file
    P parth p

    Hi guys, I have an old SSIS file which needs editing now. The problem is that the person who developed it has left and unfortunetly he used "User Key encryption". :mad: Does anyone have any idea on how (if possible) can I get it back? I would really appreciate any type of help. :)

    - Stop thinking in terms of limitations and start thinking in terms of possibilities -

    Database help sql-server security question

  • World economy in a nutshell !!
    P parth p

    This is hilarious :-D http://www.youtube.com/watch?v=LyePCRkq620&feature=player_embedded[^]

    - Stop thinking in terms of limitations and start thinking in terms of possibilities -

    The Lounge com question

  • What makes the iPhone so successful
    P parth p

    BillWoodruff wrote:

    I would not be willing to sacrifice "copy and paste

    http://www.youtube.com/watch?v=IKjESdHPGB0[^]

    - Stop thinking in terms of limitations and start thinking in terms of possibilities -

    The Lounge c++ ios mobile design architecture

  • Coolest looking car
    P parth p

    http://www.ferrari.com/English/GT_Sport%20Cars/Classiche/All_Models/Pages/Enzo_Ferrari.aspx[^] Can't believe NO ONE even mentioned Ferrari!! I mean com'on they're not that bad. Personally I think Enzo is THE BEST car :)

    - Stop thinking in terms of limitations and start thinking in terms of possibilities -

    The Lounge com design question

  • Change Editor Fonts in C++ Builder
    P parth p

    Thank you all for reply. Just reinstalled again and restarted App and it came up. Thanks again. :)

    - Stop thinking in terms of limitations and start thinking in terms of possibilities -

    The Lounge help c++ question

  • Change Editor Fonts in C++ Builder
    P parth p

    Hi guys, I want to change code editor fonts in C++ Builder, I know where to go and change. But the problem is I can only see limited list of fonts. I have installed Monaco on windows but it doesn't appear in Font list. Can anyone help? btw here's the print screen, if it helps http://img11.imageshack.us/i/cbuilder.png/[^] Thanks.

    - Stop thinking in terms of limitations and start thinking in terms of possibilities -

    The Lounge help c++ question

  • Mac is better than PC
    P parth p

    Kevin McFarlane wrote:

    Is that still the only way of resizing a window? When I first encountered that back in 1994-5 (since when I've not used a Mac) I thought it was one feature that sucked. But I thought I'd heard that resizing was possible from all sides now?

    Ya, as far as I know, the Mac OS has always handled window resizing only through one corner. It actually starts to make sense after a while, when you look at the user interface differences between Mac OS and Windows. MS Windows' windows have always have this 'border' or 'frame' around the entire window, it's thin, but it's almost always there. Mac apps (especially newer ones) are usually flush to the edge of the window and have nothing between it and the rest of your screen.

    - Stop thinking in terms of limitations and start thinking in terms of possibilities -

    The Lounge question

  • Mac is better than PC
    P parth p

    Rama Krishna Vavilala wrote:

    Imagine answering questions everyday for about an hour or so like this on phone to an average user.

    I can imagine that! I was in same condition when I got mac for someone I knew, and they kept ringing me for silly things. Well the best thing to do is, tell him/her to visit this page. http://www.apple.com/retail/workshops/[^]

    - Stop thinking in terms of limitations and start thinking in terms of possibilities -

    The Lounge question

  • Mac is better than PC
    P parth p

    Rama Krishna Vavilala wrote:

    you can not maximize the window"

    Who said that? If you've noticed there's a Green Round Button on top left of each window, and even if that doesn't help you you can always resize it by dragging bottom right of window.

    Rama Krishna Vavilala wrote:

    the website you always visit to breaks because the web developer did not test his code with Safari.

    Ever heard about Firefox? And it won't take anything more than one drag to install it (of course after downloading .dmg). Millions of others around world still prefer Firefox instead of IE as well... Personally I would say just install Firefox and it'd work like charm.

    - Stop thinking in terms of limitations and start thinking in terms of possibilities -

    The Lounge question

  • Help on CString
    P parth p

    I see, thanks for that. But is there a way to avoid this?

    - Stop thinking in terms of limitations and start thinking in terms of possibilities -

    C / C++ / MFC help ios question

  • Help on CString
    P parth p

    Yes, I know that but I am using parameter by value and not reference. Right now I have re-initializing the MyString variable after I make call to any functions or procedures...

    - Stop thinking in terms of limitations and start thinking in terms of possibilities -

    C / C++ / MFC help ios question

  • Help on CString
    P parth p

    Hi guys, I am working on C String and I'm having this weird error. here's the code

    #include #include #include //#include using namespace std;

    //Function Declarations
    void get_longest_word (char data[]);

    int main()

    {
    char * MyString;

    cout<<"--------------------------------------------------------------"<<endl;
    
    cout<<"\\nTask 1:\\n"<<endl;    
    ifstream taskonefile("CStringText.txt");
    if(! taskonefile.is\_open())
    {
        cout<<"Cannot Open File!"<<endl;
        exit(1);
    }
    int charCount;
    taskonefile.seekg(0, ios::end);
    charCount = taskonefile.tellg();
    taskonefile.seekg(0, ios::beg);
    charCount++;
    MyString = new char\[charCount\];
    
    taskonefile.get(MyString,charCount);
    cout<<MyString<<endl;
    
    
    cout<<"\\nTask 2:\\n"<<endl;
    
    
    cout<<"Longest word in the above paragraph: ";
    get\_longest\_word(MyString);
    
    
    cout<<"\\nTask 3:\\n"<<endl;
    
    int l\_num = 0;
    
    cout<<MyString<<endl;
    for(int i =0; i<=strlen(MyString); i++)
    {
    	if (MyString\[i\]=='l' || MyString\[i\]=='L')
    	{
            l\_num++;
    	}
    }
    cout << "Number of Ls" << l\_num;
    
    
    //EXIT+++++++++++++++++++++++++++++++++++++++++++++++++++
    cin.get();
    return 0;
    

    }

    //FUNCTIONS================================================

    //TASK 2 FUNCTION
    void get_longest_word (char data[])
    {
    char * token;
    char * longest_word = "a";

    token = strtok(data, " ,.-");
    
    
    while (token != NULL)
    {   
        if (strlen (token) >= strlen(longest\_word))
        {
            longest\_word = token;
        }
    	
        token=strtok(NULL, " ,.-");
    }
    
    cout<<longest\_word<<endl;
    

    }

    The problem is when I some to task 3 after calling void get_longest_word the content of MyString which is local to int main() becomes only the first character of the entire string... I have no clue what is happening wrong!

    - Stop thinking in terms of limitations and start thinking in terms of possibilities -

    C / C++ / MFC help ios question

  • Safari peeve
    P parth p

    Why don't you use Firefox 3? I use it on both Windows and MAC. And everything just works fine. I'm sure it won't take more than 5 mins to dowload and install on average machine ;P

    - Stop thinking in terms of limitations and start thinking in terms of possibilities -

    The Lounge javascript architecture

  • New iPhone? Got it?
    P parth p

    Hi everyone. As many of you know the new iPhone was released yesterday around the globe. I was wondering if anyone got it and wanna talk about it? I'm still waiting for my delivery. In UK the O2 customer service has been joke. I was queuing outside the O2 retail store from 7-10 and guess what, their system crashed (This is what I've been told!!) So I came home and rang them after one/two hours and they said they Sold out of iPhone. And when I said I was there in morning, they said that their system is still down, and the manager promised me to give me a call as soon as system comes back up. Even after 30 hours, no calls nothing. Now what does this mean? (If their system stays down for 24 hours than that means they must have a team dummies working for them or they're still using 10year old System :laugh: ) Anyway back to the phone, I heard from some of my mates that GPS is not that great on iPhone. And that in some countries they'll be using 2G rather than 3G for the internet? Strange, eh? The one thing I don't understand is why apple using this weird strategy to attract customers? I mean if they don't have enough phones to sell then delay the release date!! (Rather than going Nintendo Wii way**) But well if anyone got it then please share it, here! I'm desperate to find out how is it?

    - Stop thinking in terms of limitations and start thinking in terms of possibilities -

    The Lounge ios sales collaboration question announcement

  • Best Firefox plugin eva' !!!
    P parth p

    lol.Great, but I wonder what took you so long to find something like this! I've been using this for over a year on MAC and on Windows. It is Must Have plugin for both IE and FireFox. :-\ :)

    - Stop thinking in terms of limitations and start thinking in terms of possibilities -

    The Lounge com

  • Apple Does not 'Just work'
    P parth p

    Chris Maunder wrote:

    I'll be heading back to the apple store,

    Should have done it time ago I guess... ;P Anyway from my experience the Apple Genius aint really Geniuses, they just know the basics, not something complicated. But still give it a go. :)

    - Stop thinking in terms of limitations and start thinking in terms of possibilities -

    The Lounge c++ com adobe architecture announcement

  • Apple Does not 'Just work'
    P parth p

    Chris Maunder wrote:

    I am so, so sick of typing in my password every single time I want to do anything, and of apps crashing,

    Well, first of all you only need to type password when you're dealing with System files. I don't know what you're trying to do that it keeps asking you to type password that often. It's really weird, I have installed and removed over 100s app in last few weeks, since I got new iMac 24" and it has never crashed. Not even those third party apps. It Just Works for me. And by the way it also depends on which OS X you're running, because lot of people do get issues trying running latest apps in older version of OS.

    - Stop thinking in terms of limitations and start thinking in terms of possibilities -

    The Lounge c++ com adobe architecture announcement

  • Apple Does not 'Just work'
    P parth p

    So True, it is the best keyboard I've ever used!

    - Stop thinking in terms of limitations and start thinking in terms of possibilities -

    The Lounge c++ com adobe architecture announcement

  • Powerful laptop specs
    P parth p

    Muammar© wrote:

    I'm thinking Quad Core processors is the most powerful nowadays

    So true, but do you really want that in your laptop. I mean think about cooling it will need, and believe me Dual/Quad Core processors do get very hot. I have a laptop and sometimes I just have to turn it off for it to cool down. I mean you can argue that there are cooling system and stuff... But personally it doesn't make any difference! And well Alienware does make good computers, but also check out the new dell ones. They're good as well. Last advise, It's a Laptop so don't fall for something Huge/Heavy machine like this one... http://www.alienware.com/products/area-51-m17x-notebook.aspx?SysCode=PC-LT-AREA51M17X&SubCode=SKU-DEFAULT[^] Look how Big it is!!

    - Stop thinking in terms of limitations and start thinking in terms of possibilities -

    The Lounge asp-net hardware help question
  • Login

  • Don't have an account? Register

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