Search results

  1. Baljeet

    [Report]Habbo.la & Habbin.net

    I found 2 Website malware/virus when I go to thehabbos.org Proof: Habbo.la: Habbin.net:
  2. Baljeet

    Need Habbos Banner

    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...
  3. Baljeet

    My VPS Won't Connect API

    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...
  4. Baljeet

    Read an Integer from the User

    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...
  5. Baljeet

    C++/opengl --part2 : using textures and keyboard 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...
  6. Baljeet

    Code: Managed C++ .NET 2.0: Instant Messanger Server

    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 =...
  7. Baljeet

    function pointer

    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...
  8. Baljeet

    Difference between c and c++

    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...
  9. Baljeet

    Implementing a Fuzzy Boolean

    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...
  10. Baljeet

    Clear screen in windows console using API

    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...
  11. Baljeet

    Function Pointers

    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...
  12. Baljeet

    C/C++ Hello World Tutorial

    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; }...
  13. Baljeet

    Array Members Counter

    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...
  14. Baljeet

    Functions

    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...
  15. Baljeet

    Seperating Mysql Results on to tables.

    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...
  16. Baljeet

    Constants

    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...
  17. Baljeet

    Floating Point random number generator

    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...
  18. Baljeet

    Get site's ping

    All Credits goes to one who really made this...
  19. Baljeet

    Define PHP the Long Way

    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...
  20. Baljeet

    Object-Orientated-Programming Calculator tutorial

    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...
Top