Subscribe Now: standard

Friday, October 30, 2009

Jsymphonic - Sonic Stage for linux - or altranative for SonicStage.


Jsymphonic
SonyWalkman , Sonic stage On linux


So i was talking about Opensource substitutes for Popular software in my last Post, and i thought about one of the tools that i specified it is

Jsymphonic - an opensource substitute for Sonicstage
and allows you to use your Sony WAlkman in Linux,

this single piece of software will answer all the questions like:

How to Run sonic stage on Linux?
How to transfer songs to sony walkman without sonic stage?
How to Use sony walkman on Linux?
How to Transfer music back from Sony Walkman?

so if you are one of them who has been wondering about these ,then this is the answer for all of those .

Sonic stage is a small and simple software writen in java, hence it will work on any OS  that has java installed.
It is really small that you can copy the file into your Walkman and have  a transfer tool that can transfer music from and to your walkman wherever you go.

STEP 1: Download this revolutionary tool (Jsymphonic)

STEP 2: Follow the step by step guide on how to install Java 
if you do not have it already.

STEP 3: Running Jsymphonic

EXTRA: if you face any problems You may please check out

So thats for now enjoy your music ,if you face any tough situations need help with anything feel free to contact me.
blaise.crowly@gmail.com

Tuesday, October 27, 2009

Open Source substitutes for Popular Tools


Hi
In the past few years , the world of open source have taken a giant leap from just being a theory into a world wide phenomenon , bringing with it some of the worlds best software and tool the cyber freaks can hope for.
And while we discuss over this topic we can never ignore the contributions of some giant companies that supported the open source community without limits , namely Google , SUN Microsystms and Canonical.

So today i will be  presenting you with a list of open source substitutes for some of the popular software.
I have personally tried out each of these and believe me , you wont regret moving over to these. 
===============================================
SOFTWARE=============================SUBSTITUTE
================================================

Windows----------------------------------------->   Linux (Trust me you wont look back)

Windows Media Player  -----> VLC (how about never seeing "Canot Play" Message)

Microsoft Office -------------------------> Open Office (Your office will just get better)

Internet Explorer ----> Firefox or Google Chrome(Let me see if you will ever even think of IE)

Photoshop --------> GIMP ( it is great, but not 100% what PS is, but soon it will be, it's really promising, and guess what it can do lot of stuff PS cant)

Quake 3 ------> Assault Cube

And this is some thing that thousands of Users are looking for
a Open Source Substitute of Sonic Stage (Sonicstage) for linux.   
Surprise .. It exist...

guess what it will work on Linux Windows and Mac , and it is portable
and hence you can carry this small file in your sony walkman itself.
it is writen in java to the best of what a program can get to.

I will be writing a tutorial on the basics of it, soon most probably tomorow itself.

if you want any help feel free to conatct me at blaise.crowly@gmail.com
or use the contact page at http://blaisemcrowly.co.cc

Saturday, October 24, 2009

using random() in c++ to asign values randomly


hi all,
today the number of programs that make use of randomly generated numbers are huge, They range from ticket reservation program to Programs that generate random encrypted keys and passwords.
c++ has  a have an inbuilt random number generating function called random found in
the stdlib.h header file.
Here we will be using it to write a program that assign duty to 7 doctors over 7 days a week such that non of them work on the same day and no doctor works 2 days a week. please replace the () in red with < and>
========================CODE======================

#include(iostream.h)

#include(stdlib.h)

        #include(string.h)
struct doc{
    char dname[25];
    int did;
    int wnum;
};

int main()
{
    int dnum[7]={1,2,3,4,5,6,7};
    doc d[7];
    for(int i=0;i<7;i++)
    {
        cout<<"Enter the Details:\n";
        cin.getline(d[i].dname,25);

        cin>>d[i].did>>d[i].wnum;
    }
    long x,j=0;
    for(int i=0;i<7;i++)
    {
        j=0;
        while(j==0)
        {
           
                    x= random(7) + 1;
                    
            if(dnum[x-1]==x)
            {
                j=1;
                cout<<<" "<<<" "<
                                switch (x)
                                {
                                    case '1': cout<<" \nMONDAY";
                                    break;
                                     case '2': cout<<" \nTUESDAY";
                                     break;
                                      case '3': cout<<" \nWEDNESDAY";
                                      break;
                                       case '4': cout<<" \nTHURSDAY";
                                       break;
                                        case '5': cout<<" \nFRIDAY";
                                        break;
                                         case '6': cout<<" \nSATURDAY";
                                         break;
                                          case '7': cout<<" \nSUNDAY";
                                          break;
                                }
                dnum[x-1]= -2;
            }
        }
    }


        return 0;
}

===================END=======================

If you wnat any help feel free to email me at blaise.crowly@gmail.com

Blaise M Crowly
http://blaisemcrowly.co.cc

Friday, October 23, 2009

How To - Pascals triangle using loop - c++ code


hi
i had posted the code to generate Pascals triangle in c++ using arrays, but it can be done in a more easy way , using just 2 for loops.
And it is just 1/4 the amount of code.
Here is an easy logic in c++ to generate pascals triangle using for loops.
The part that has been marked in red is the code used to center align the triangle. I suggest that if you are getting confused you remove that part for better understanding of the Programs Logic.

please replace the () in red with < and> 
====================================================
 
int main()
{
  int n  , d  , l , k=0;
  cin >> n;
d = n;
k=n;
l = 0;
  for (int y = 0; y < n; y++)
  {
while(l
{
cout<<" ";
d = d-1;
};
if(d
{
k = k-1;
};
d = k;


    int c = 1;
    for (int x = 0; x <= y; x++)
    {
      cout << c << " ";
      c = c * (y - x) / (x + 1);
    }
    cout<<"\n";
  }
  cout<<"\n";
  return 0;
}

==================================================

thats it , for any further help you may mail me at blaise.crowly@gmail.com

Http://blaisemcrowly.co.cc
Blaise M Crowly

How to - Pascals triangle using arrays - c++ code


Type: c++
hi all , here is the codes that print the pascals triangle using arrays  to generate it,
WARNING: IF YOU USE BORELAND TURBO C++ it may not allow to declare arrays using variables as size parameters in that case.
remove all lines marked with red and replace them with the text between  the \*  & */  near then. and declare a value for C = number of lines to be printed.

===================================================
#include
int main()
{
int ac,tc,d=0,k, bc,t,i=0,h,f;

int c;  \* int c= "your value" */
cout<<"Please enter the number of lines requeired";
cin>>c;
ac= (2*c)+1;
bc=2*c;
int a[ac];  \* int a[ value twise C  + 1]; */
tc=0;
a[bc]=0;
f=ac;
while(c>=tc)
{
cout<<" ";
tc++;
}
//=========================fill array
while(d<=ac)
{
if(d==c)
{
a[d]=1;
d++;
}

else
{
a[d]=0;
d++;
}
}

//===============================
cout<<"1 \n";;

k=c-1;
int y=0;
//================set and print nums
while(k>0)
{
//align==========
h=c-y;
while(h>0)
{
cout<<" ";
h= h-1;
}
y++;

//--------------------
d=0;
while(d
{
t=d+1;
a[d]=a[d]+a[t];
d++;
}
//==========print
i=0;
while(i
{
if(a[i]>0)
{
cout<<<" ";
i++;
}
else
{
i++;
}
}
cout<<"\n";
k--;
}

}


=================END=========================

for any further help you may please contact me at blaise.crowly@gmail.com

http://blaisemcrowly.co.cc

Blaise M Crowly

Thursday, October 22, 2009

How to - Fibonacci with recursive function - c++


The following is the code to generate the fibonacci number at a user specified position using recursive function.

Code:
==================================================
#include
long fiboo(int y);
void main()
{
int x;
cout<
cin>>x;
cout<
}
long fiboo(int y)
 {
    if (n <= 1) {
        return n;
    } else {
        return fiboo(n-1)+fiboo(n-2);
    }
}

==============================================
ok thats it
if you want any help feel free to contact me
at http//www.blaisemcrowly.co.cc   USE THE CONTACT ME PAGE
or mail me at blaise.crowly@gmail.com

Create a C program that will input letters a-z. but only the consonants will be printed?


Aim: Create a C program that will input letters a-z. but only the consonants will be printed?
Type: Basic C++ , Array Manipulation.

Code:===============================================

#include

int main()
{

char al[26];
for(int i=0;i<26;i++)
{
cout<<"\nEnter alphabet... enter one and press enter : ";
cin>>al[i];
}

for(int i=0;i<26;i++)
{
if( (al[i]!='a')&&(al[i]!='e')&&(al[i]!='i')&&(al[i]!='o')&&(al[i]!='u'));
{
cout<<<" ";
}
}
return 0;
}

==================================================

I wrote it for someone who asked for it in yahoo answers.
for any help , just contact me.
http://www.blaisemcrowly.co.cc use the CONTACT ME page
or mail me at blaise.crowly@gmail.com