I need a banner for my top 10 hotel on thehabbos,And here are the details:
Size: 500x100 Maximum & Default
Hotel Name: Aero Hotel
What you wan't it to say: Perfect Hotel For You!
Features: R63 // Phoenix // PHP // Wired // Pets // NEW HABBOWOOD FURNI // Rollers // 24/7 // 24/7 Radio // VIP $5...
Today,My server is not connecting with thehabbos.org even browser but from my pc it does.
I saw today:
Attention: Sorry about any inconvenience(s) that may have been caused this morning. The issue has now been resolved.
Is my Hotel is Banned from TheHabbos?
Please help.
My Hotel is now 7th...
Read an Integer from the User, Part 1
Obtaining user input can be done in many surprisingly different ways. This code is somewhere in the middle: safer than scanf("%d", &n), but not bulletproof. It is meant to be a simple but relatively safe demonstration.
The function mygeti reads user input...
Hi all, its me again
Important Notes:
you will need to read the first part to keep up with this tutorial
I'm using the same code in the first part
for simplicity I've used easier approaches, though it doesn't mean that it's the best way or the most professional approach. But I'm doing this...
This is the code for a Visual Studio Managed C++ .net Instant Messanger Server. I say server because it was meant to receive the messages.
The code below is how it receives messages via a loop
private: void RunIMServer() {
while (!stopped) {
TcpClient^ client =...
Function Pointers are pointers, i.e. variables, which point to the address of a function. Thus they exhibit polymorphism by call by different methods. Function pointers is an exclusive propery of the c language and should be used wisely as functions are always more powerful and fact in execution...
1. C does not have any classes or objects. It is procedure and function driven. There is no concept of access through objects and structures are the only place where there is a access through a compacted variable. c++ is object oriented.
2. C structures have a diferent behaviour compared to...
As promise in Getting Fuzzy Part 1, here is an implementation of a Fuzzy Boolean.
In the previous tutorial, we looked at what fuzzy logic is. Now we need to write a formal definition of what a fuzzy bool should do so we can create an Fbool class. This is where we have to get very precise...
This is mosly useless, I'll admit it, but it's fun :D Perhaps you can learn something from it?
It's software (source and exe) for demonstrating how to clear the screen in the Windows console using Win32 API. It contains a few other things too, like some error handling demonstration and a...
C++ Function Pointers
Now, as C++ programmers, we love writing messy, unreadable and advanced-looking code that will leave beginners head-scratching for hours. Function pointers happens to be a great tool for achieving maximum confusion and frustration. Did I mention that they are actually...
This tutorial I aimed for those who would like to learn to do basic output in c and in c++. This is very easy and for begginers, fun.
Let's get down to business:
C Version:
#include <stdio.h>
int main() {
printf("Hello World");
system("PAUSE");
return 0;
}...
Hello CC Members ..:D
Today I'd Like to Show You How to Make a Simple Program that will Count and tell us How many Positive and Negative Members are there in an Array ..
So,
#include <iostream.h>
int main()
{
const int m=7, A[m]={6,-2,-9,4,7,3,-5};
int i,p,n;
First, We...
Functions
A function is a way of encapsulating code for reuse. The proper use of functions can make modifying your code much easier.
A Basic Function
void out(int v) {
v++;
cout << v << endl;
}
You call this function like this:
out(6);
Output:
Now, whenever you want to output an...
Ok this tutorial will teach you how to retrieve a list of items from your database, print them in a neat table and seperate them into pages!!
I will also show how to link these items to a page which will be able to tell you more info using the GET method(look at storing your images in MySQL...
Constants
Constants are much like variables, except you can't change them. You can declare them at the beginning of a script and use them instead of any fixed number that you can't be sure will never change. PHP sets some constants for you, like TRUE, FALSE and NULL.
To create a constant, you...
This code generates a random floating point (decimal) number:
<?
// Floating point random number function
function fprand($intMin,$intMax,$intDecimals) {
if($intDecimals) {
$intPowerTen=pow(10,$intDecimals);
return rand($intMin,$intMax*$intPowerTen)/$intPowerTen;
}
else...
Hi everyone! Now everyone knows you define a PHP script like this:
<?php echo "Hello World"; ?>
However, I recently learnt that there is another way to achieve this - like this:
<script language="php">echo "Hello World";</script>
It's not much of a tutorial, but I just thought it was...
This time I have decided to take a different approach in my tutorial. I have decided that I will add comments and the parts that need a lot of explaining I will post below. In this case it's the pow function in the class.
Also this is my VERY first OO script in any language so please bare with...