nandureddy's Profile User Rating: -----

Reputation: 28 Craftsman
Group:
Active Members
Active Posts:
129 (0.11 per day)
Joined:
31-January 11
Profile Views:
5,175
Last Active:
User is offline Mar 01 2014 11:20 AM
Currently:
Offline

Previous Fields

Country:
Who Cares
OS Preference:
Windows
Favorite Browser:
Opera
Favorite Processor:
Who Cares
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
0

Latest Visitors

Icon   nandureddy ॐőm ńámáhکhíváýá ॐ

Posts I've Made

  1. In Topic: how to search a word in a string .

    Posted 27 Oct 2013

    Used your logic..This should work:
    #include <iostream>
    #include <stdio.h>
    #include <string>
    
    using namespace std;
    int main ()
    {
      string line ("how many words");
      string word;
      for(int i=0;i<line.size();)/>
       {
    	if(line[i]!=' ')
    	{
    	    word[i] = line[i];
                cout<<word[i];
    	    i++;
    	}
            else break;
    	}
    
      return 0;
    }
    
    

    I have used line.size to get the size instead of strlen.
  2. In Topic: Shared Preferences putInt() ?

    Posted 5 Aug 2013

    Are you getting an error?
  3. In Topic: Submit button just displays the .php file

    Posted 3 Aug 2013

    Correct.
  4. In Topic: Submit button just displays the .php file

    Posted 3 Aug 2013

    You should save the .php,.html files to the 'www' directory under the wamp installation folder.
  5. In Topic: for loop and increment

    Posted 3 Aug 2013

    Use a loop, for example:
    for (i=0;i<=6; i++) {
            membership=membership+membership*increase;
            cout<<"youre cost of memebership for the fist year is $\n"<<membership<<endl;
    }
    

    Refer to loops.

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private

Comments

nandureddy has no profile comments yet. Why not say hello?