TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   Member Introductions (http://www.talkphp.com/member-introductions/)
-   -   echo "Hello forum"; (http://www.talkphp.com/member-introductions/3066-echo-hello-forum.html)

Dal 07-04-2008 02:54 AM

echo "Hello forum";
 
:D

Hi, been a member of another programming forum but came across this one. Thought Id register. I like these vBulletin systems so Im comfortable here. :)

Suppose I could ask my first question although its not really php related. Is there any popular Javascript forums that you guys use as my long standing membership with the other site has lost javascript members and I dont have a good community query?

Also whats the avarage response time for questions on here?

Thanks
Dal 8-)

Kalle 07-04-2008 11:42 AM

Hey Dal

I think the dynamicdrive had some active javascript related forums, also Mootools, jQuery (mailing lists, irc) ect. have forums on where most of it is JS related =)

Dal 07-04-2008 12:57 PM

Cool, thanks Kalle. Ive bookmarked this site for my php anyhow. Ill check them others out for the js side of things.

Kind regards
Dal

codefreek 07-04-2008 01:12 PM

Hello dal, welcome to the fine community talkphp hope you have a nice stay and you can ask me anything and i will try to help you, as best as i can!

Codefreek.

Orc 07-08-2008 05:51 PM

Code:


#include <stdio.h> // PRINTF :D
#include <stdlib.h> // System function

int main ( )
{

        printf("Welcome Dal!");
        system("PAUSE");

        return (-1);

}

xD C code :D anyway welcome! :]

Jim 07-08-2008 06:33 PM

Isnt the C main function always returning an integer?

Anyway, Welcome Dal! :)

Dal 07-08-2008 11:33 PM

Quote:

Originally Posted by Orc (Post 16750)
Code:


#include <stdio.h> // PRINTF :D
#include <stdlib.h> // System function

const char main ( )
{

        printf("Welcome Dal!");
        system("CLS");

        return (-1);

}

xD C code :D anyway welcome! :]

Ah, good old C/C++. I remember all of that from my Borland days, then realised that I really needed to learn Visual C/C++. Its been on my "to learn list" for a decade now :)

It always made me giggle when I used to write stdio.h. The way I used to remember to write is was always the same "sexually transmitted disease from a bit of input output" :D
-Maybe I shouldnt have really shared that with anyone :-/

Thanks everyone for your warm welcome. ^^ 8-)

Kalle 07-09-2008 01:23 AM

Quote:

Originally Posted by Jim (Post 16754)
Isnt the C main function always returning an integer?

Anyway, Welcome Dal! :)

Normally a C/C++ main function return an integer to identify the status code =)

sketchMedia 07-10-2008 11:45 AM

That wont compile (wouldn't for me anyway with make/gcc, unless its some kind of visual C/C++ madness which i haven't used or wish to use), you have specified a return type of 'char' but you are returning 'int'.
Also i thought it was ISO C++ Standard to return an int and the usually wont compile until it is an int, its been a while since my last C program though :)

c++ Code:
#include <iostream>
using namespace std;
int main()
{
    cout << "Hello Dal!" <<endl;
    return (1);
}
java welcome
java Code:
public class hello
{
    static public void main(String[] argv)
    {
        System.out.println("Welcome Dal!");
    }
}
cba to write more, you get the idea.

Welcome to the community m8, you will feel right at home here.

sketchMedia 07-10-2008 02:45 PM

ehhh that would explain it.

Tanax 11-17-2008 03:44 PM

php Code:
class Welcome
    {
       
        private $newUser;
        private $myName;
       
        public function __construct($name)
        {
           
            if(is_string($name))
            {
               
                $this->newUser = $name;
               
            }
           
            else throw new Exception('Parameter only supports string.');
           
        }
       
        public function setName($name)
        {
           
            if(is_string($name))
            {
               
                $this->myName = $name;
               
            }
           
            else throw new Exception('Parameter only supports string.');
           
        }
       
        public function getWelcome()
        {
           
            $string = 'Welcome dear ' . $this->newUser . ' to TalkPHP. Hope you enjoy the site!<br />Kind regards, ' . $this->myName;
           
            return $string;
           
        }
       
    }

PHP Code:

$msg = new Welcome('Dal');
$msg->setName('Tanax');
    
echo 
$msg->getWelcome(); 

Code:

Welcome dear Dal to TalkPHP. Hope you enjoy the site!
Kind regards, Tanax


zxt3st 11-18-2008 02:44 AM

haha, great welcome codes lol.

Welcome dal and hope you will enjoy your stay.

dymyy 10-19-2012 10:03 AM

Hi, been a member of another programming cheap NFL Jerseys forum but came across this one. Thought Id register. I like these vBulletin systems so Im comfortable here. :)


All times are GMT. The time now is 11:48 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0