User Profile

Collapse

Profile Sidebar

Collapse
analwarsi
analwarsi
Last Activity: Oct 16 '06, 09:21 AM
Joined: Oct 3 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • analwarsi
    started a topic php connection error
    in PHP

    php connection error

    Hi,
    i get the following error when i try to connect to the localhost
    "connection was refused when trying to connect to localhost"
    can anyone suggest what must be the problem in the settings.
    See more | Go to post

  • can You suugest any method in javascript that has the capability of downloading the contents of a website upto a certain depth without user interaction...
    See more | Go to post

    Leave a comment:


  • analwarsi
    replied to Can you find the infinite loop
    in C
    One more problem in ur code.see the highlighted line i.e; the first while loop u have put a semicolon at the end of the line which should be removed.
    Code:
    #include <iostream>
    using namespace std;
    
    int main() {
    int input;
    int InputCount=0;
    int RowSize=2;
    int ColumId = 0;
    
    cin >> input;
    if (input == 0);
    cout << "done";
    
    [B]while((input[/]
    ...
    See more | Go to post

    Leave a comment:


  • analwarsi
    replied to Can you find the infinite loop
    in C
    The Outer most while loop of ur program will exit only if the value of input is 0.but the value of input is never modified which means if u enter input=2. then its going to retain that value throughout the program and that is why u r getting infinite loop. i hope that this should solve ur problem
    Code:
    #include <iostream>
    using namespace std;
    
    int main() {
    int input;
    int InputCount=0;
    int RowSize=2;
    ...
    See more | Go to post

    Leave a comment:


  • Javascript method equivalent to Wget

    can anyone suggest a method in javascript which is equivalent to the wget command in linux.actually i need a method in javascript which will help to download webcontents upto a certain depth without the user interaction.
    please guide.
    See more | Go to post

    Leave a comment:


  • analwarsi
    replied to array question
    in C
    Code:
    #include<iostream>
    
    int FindLowNum(int [], int );
    
    
    int main()
    {
    
           const int arraySize = 20;
    
           int a[ arraySize ] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 };
    
          int total = 0;
    
          // sum contents of array a
          for ( int i = 0; i < arraySize; i++ )
              total += a[ i ];
    ...
    See more | Go to post

    Leave a comment:


  • How to execute linux command (wget) from within javascript code

    Hi,
    i am new to javascript. actually i need to execute the wget command from within a javascript code, but i don't know the syntax for executing the linux-ccommands from within javascript code.
    Can anyone guide please?
    See more | Go to post
No activity results to display
Show More
Working...