Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,618 members, 7,820,193 topics. Date: Tuesday, 07 May 2024 at 11:12 AM

To All Programmers, Today Is My Birthday! - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / To All Programmers, Today Is My Birthday! (5724 Views)

Happy New Year To All Programmers In Nairaland / All Programmers Please Help Me About Programming / One Thing All Programmers Must learn (2) (3) (4)

(1) (2) (Reply) (Go Down)

To All Programmers, Today Is My Birthday! by ayodinho91: 8:20am On Jan 16, 2015
#hbd to me! Expecting wishes and greetings from my fellow programmers.
Re: To All Programmers, Today Is My Birthday! by Craigston: 8:41am On Jan 16, 2015
Happy Birthday brother.
if(!$rice_and_chicken) echo "we need our $rice_and_chicken";

1 Like

Re: To All Programmers, Today Is My Birthday! by omoelu1(m): 8:59am On Jan 16, 2015
happy birthday bro!!
more good things to come

1 Like

Re: To All Programmers, Today Is My Birthday! by losprince(m): 9:07am On Jan 16, 2015
<?php

echo "Happy Birthday fellow Geek!";

while (birthday cake != shared)
{
echo "Where is my own cake na?";
}//end while

?>

2 Likes

Re: To All Programmers, Today Is My Birthday! by Vicben(m): 9:59am On Jan 16, 2015
Happy Birthday. Many more fruitful years ahead

1 Like

Re: To All Programmers, Today Is My Birthday! by spikesC(m): 12:24pm On Jan 16, 2015
angry angry wink


If(!defined(BIRTHDAY_CAKE)){

echo ' You're OYO tongue ';

}

1 Like

Re: To All Programmers, Today Is My Birthday! by trytillmake(m): 2:55pm On Jan 16, 2015
HBD

1 Like

Re: To All Programmers, Today Is My Birthday! by jboy01(m): 3:15pm On Jan 16, 2015
<?php

date_default_timezone_set("Africa/Lagos"wink;
$bday = getdate();
$day = $bday['mday'];
$month = $bday['mon'];

If ($month == 01 && $day == 16){

echo "Happy birthday bro!";

}

?>

2 Likes

Re: To All Programmers, Today Is My Birthday! by Cybergenius(m): 8:14pm On Jan 16, 2015
<?php

echo "Happy Birthday bro";

?>

1 Like

Re: To All Programmers, Today Is My Birthday! by Nobody: 8:33pm On Jan 16, 2015
$a = getdate();
$aa = "so,oga you talk say today na";
$check = printf($aa . '%s %d %d',$a['month'],$a['mday'],$a['year']);
echo " <br> <br>" ;
if(!$today){
echo "Oga ploglammer,why whining na";
}
else {
echo "Happy birthday bro";
}

1 Like

Re: To All Programmers, Today Is My Birthday! by omeizaowuda(m): 8:49pm On Jan 16, 2015
Craigston:
Happy Birthday brother.
if(!$rice_and_chicken) echo "we need our $rice_and_chicken";

I dn dey see syntax error already.

1 Like

Re: To All Programmers, Today Is My Birthday! by Nobody: 9:15pm On Jan 16, 2015
grin

1 Like

Re: To All Programmers, Today Is My Birthday! by codemarshal08(m): 9:19pm On Jan 16, 2015
#include <wishes bank>

int main(){

cout << "I WISH U A HAPPY BIRTHDAY BRO \n " ;

return 0;
}

1 Like

Re: To All Programmers, Today Is My Birthday! by Craigston: 11:03pm On Jan 16, 2015
omeizaowuda:


I dn dey see syntax error already.
hahahaha. The point is, we need what's expected for a bday. I didn't even check for syntax. Just let it be. I'm a newbie. But 4 wia d error dey?

1 Like

Re: To All Programmers, Today Is My Birthday! by ayodinho91: 12:09am On Jan 17, 2015
wow.... I say a big thank you to everyone. you all made my day!
Re: To All Programmers, Today Is My Birthday! by Nobody: 7:40am On Jan 17, 2015
Abi Late commer right?

AT&T syntax, x86-64 Assembly:
.section .rodata
string:
.ascii "Happy Birthday, Joe!\n"
length:
.quad . -string

.section .text
.globl _start
_start:
movq $4, %rax
movq $1, %rbx
movq $string, %rcx
movq length, %rdx
int $0x80
movq %rax, %rbx
movq $1, %rax
int $0x80

1 Like

Re: To All Programmers, Today Is My Birthday! by ahmmyreal(m): 9:05pm On Jan 17, 2015
import javax.swing.JOptionPane;

int day = 16;
String month = "January ";
String bdMessage = " Happy Birthday Bro!";
if( day == 16 && month.equals(" January " ){
JOptionPane.showMessageDialog(null, bdMessage);
}

1 Like

Re: To All Programmers, Today Is My Birthday! by omeizaowuda(m): 9:34pm On Jan 17, 2015
Craigston:
hahahaha. The point is, we need what's expected for a bday. I didn't even check for syntax. Just let it be. I'm a newbie. But 4 wia d error dey?

Syntax error: variable $rice_and_chicken undefined.


Also, echo "we need our $rice_
and_chicken"; is wrong.

You need to concatenate like this echo "we need our "
. $rice_and_chicken;

Am just catching fun with ya tho, just keep on learning and learning. Coding rocks.

2 Likes

Re: To All Programmers, Today Is My Birthday! by omeizaowuda(m): 10:06pm On Jan 17, 2015
Make I congratulate too...

<!Doctype html>

<html>
<head>
<style>
.baloon {
padding: 10px;
text-align: centre;
margin: 50px auto;
font: 16px sans-serif;
background-color: rgba(0,128,0,0.5);
color
: rgb(255,255,255);
width: 200px;
height: 200px;
border-radius: 200px;
transition: transform 0.4s ease-in;
-moz-transition: transform 0.4s ease-in-out;
-webkit- transition: transform 0.4s ease-in-out;
-ms-transition: transform 0.4s ease-in-out;
}

.baloon:hover {
transform: translate(400px, 400px):
-moz-transform: translate(400px, 400px):
-webkit-transform: translate(400px, 400px):
-ms-transform: translate(400px, 400px):

}
</style>
</head>

<body>
<div class="baloon">
Happy birthday to you
</div>
</body>

</html>

4 Likes

Re: To All Programmers, Today Is My Birthday! by Craigston: 5:33pm On Jan 18, 2015
omeizaowuda:


Syntax error: variable $rice_and_chicken undefined.


Also, echo "we need our $rice_
and_chicken"; is wrong.

You need to concatenate like this echo "we need our "
. $rice_and_chicken;

Am just catching fun with ya tho, just keep on learning and learning. Coding rocks.
Thanks. You saved me there. But I don't need to concatenate since I used double quotes. The PHP parser will interpret the variable in the string instead of rendering it as a string literal. That's called 'Variable Substitution'. I saw it in a book. Dunno if it's correct though since I've not tested it. I don't have a PC. I just read the tutorials in my phone and I plan to practice using online editors and free site builders that support PHP.
Re: To All Programmers, Today Is My Birthday! by omeizaowuda(m): 7:31pm On Jan 18, 2015
Craigston:
Thanks. You saved me there. But I don't need to concatenate since I used double quotes. The PHP parser will interpret the variable in the string instead of rendering it as a string literal. That's called 'Variable Substitution'. I saw it in a book. Dunno if it's correct though since I've not tested it. I don't have a PC. I just read the tutorials in my phone and I plan to practice using online editors and free site builders that support PHP.

Ok, if you say so. I am not really a php enthusiast (so, maybe its a new development in the updated versions). I just learnt it to help me design wordpress theme, and as for backend...I prefer ruby on rails due to its mvc architecture. I am front-end webdev guy.
Re: To All Programmers, Today Is My Birthday! by Craigston: 11:03pm On Jan 18, 2015
omeizaowuda:


Ok, if you say so. I am not really a php enthusiast (so, maybe its a new development in the updated versions). I just learnt it to help me design wordpress theme, and as for backend...I prefer ruby on rails due to its mvc architecture. I am front-end webdev guy.
Interesting. I'm just a beginner. I want to do both front-end and back-end development. I hope I'll get there someday.
Re: To All Programmers, Today Is My Birthday! by omeizaowuda(m): 9:06am On Jan 19, 2015
Craigston:
Interesting. I'm just a beginner. I want to do both front-end and back-end development. I hope I'll get there someday.

My advice is this, don't combine both. If you want to combine, then it will take a lifetime (that is if you want to be hardcore good and not just knowing the pheripherals). Instead, just focus on one and have an idea of the other.

And, take not...programming logic for all languages are the same. The only differences is syntax and development architecture.

1 Like

Re: To All Programmers, Today Is My Birthday! by Craigston: 9:24am On Jan 19, 2015
omeizaowuda:


My advice is this, don't combine both. If you want to combine, then it will take a lifetime (that is if you want to be hardcore good and not just knowing the pheripherals). Instead, just focus on one and have an idea of the other.

And, take not...programming logic for all languages are the same. The only differences is syntax and development architecture.
Thanks and more thanks. Noted.
Re: To All Programmers, Today Is My Birthday! by MrFlexible(m): 9:00pm On Jan 20, 2015
class BirthdayEvent{
static Food getFood(int [] preferred){

// code to check the corresponding food type combination from a dynamic associative array and return the food

}
static Drink getDrink(int [] preferred)
{

// code to check same for drink
}

}
//guest enters birthday event hall
Guest guest = new Guest();
// wants to order food, so looking around for the person in charge. so he is handed the menu n he ticks his choices
guest.Order(int [] i , int [] j)
{

// get the menu or call the
BirthdayEvent.getFood(int [] i)// get food
BirthDay.get drink(int j); // get Drinks

}

Oya, for each of u guys coming here to wish him happy birthday, so just do the needful by getting urself food and drinks.

Let me see different usage/implementations of the resources/abstract stuffs up there...
Re: To All Programmers, Today Is My Birthday! by Nmeri17: 9:02pm On Aug 27, 2015
spikesC:
angry angry wink
 If(!defined(BIRTHDAY_CAKE)){
echo ' You're OYO tongue ';
}
juss lookatyew cheesy tongue
Re: To All Programmers, Today Is My Birthday! by iamnaf(m): 8:33am On Aug 28, 2015
#include <iostream>
using namespace std;

int main()
{
cout << "although i am posting this late\n";
cout << "It's not all bad if i still post it\n";
cout << "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n";
cout << "H\nA\nP\nP\P\Y\nB\nI\nR\nT\nH\nD\nA\nY" << endl;
return 0;
}
Re: To All Programmers, Today Is My Birthday! by Nobody: 8:44am On Aug 28, 2015
dhtml18.troll.system.nairaland.out("Happy Birthday"wink->append("LLNP"wink;
Re: To All Programmers, Today Is My Birthday! by Temmi001: 11:44am On Aug 28, 2015
iamnaf:
#include <iostream>
using namespace std;

int main()
{
cout << "although i am posting this late\n";
cout << "It's not all bad if i still post it\n";
cout << "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n";
cout << "H\nA\nP\nP\P\Y\nB\nI\nR\nT\nH\nD\nA\nY" << endl;
return 0;
}
lol, iamnaf, I see you bro.

1 Like

Re: To All Programmers, Today Is My Birthday! by KazukiIto(m): 2:54pm On Aug 28, 2015
(setq ayodinho ("Happy Birthday"))
(message ayodinho)
Re: To All Programmers, Today Is My Birthday! by Nobody: 3:39pm On Aug 28, 2015
public class BirthdaySong {
public BirthdaySong() {
public void sing() {
System.out.println( "Happy
birthday to you" );
System.out.println( "Happy
birthday to you" );
System.out.println( "Happy
birthday dear " +myName+ "!!!";
System.out.println( "Happy
birthday to you" );
// Enjoy!
Re: To All Programmers, Today Is My Birthday! by megasamuel(m): 3:45pm On Aug 28, 2015
proxy20:
public class BirthdaySong { public BirthdaySong() { public void sing() { System.out.println( "Happy birthday to you" ); System.out.println( "Happy birthday to you" ); System.out.println( "Happy birthday dear " +myName+ "!!!"; System.out.println( "Happy birthday to you" ); // Enjoy!
String variable ( myName) not defined LOL... Happy birthday bro

(1) (2) (Reply)

Is It Difficult To Build A Forum Like Nairaland? / ASP.NET MVC [C#] Php Laravel - Training From Scratch-apply now / I Need Help On Java

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 34
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.