mostafadotnet 18 Junior Poster

Hi all,
Try this:
http://www.crystalspace3d.org/tikiwiki/tiki-view_articles.php
This is a game engine written in C++(a C family language).
It's really powerful among available open source game engines.

Good luck.

mostafadotnet 18 Junior Poster

Hi Kadaj,
Try this:
http://www.amqrp.org/elmer160/lessons/index.html
It would really help.
Also download MPLAB from microchip's web site.
And do make uJDM(microJDM) programmer for using 16f84a popular PIC.
It can be easily found using google.

Good luck.

mostafadotnet 18 Junior Poster
mostafadotnet 18 Junior Poster

Hi chris99,
Yes.Those are python libraries which you should import inorder to use them.
Also the IDLE is a simple editor plus debugger,nothing more.
Why you do stick to it as a complete game development environment.

Good luck.

mostafadotnet 18 Junior Poster

Hi andor,
This might help!:
Nineteen PIC microcontroller lessons describing it's assembly language and much more.
http://www.amqrp.org/elmer160/lessons/index.html

Good luck.

mostafadotnet 18 Junior Poster

Hi BombAppetit,
I'm also making a USB PIC Programmer.I used Kit 149 from http://kitsrus.com/pic.html.
It's a good programmer supporting a wide range of microcontrollers and ... .So go for it.
It's an application that is installed with some PDFs describing the construction of different PIC programmers.It uses FT232BM for communicating with USB port.:DI like this IC.
I'm also teaching PIC microcontroller assembly.
Tell me if you need any help.
Take a look at this forum:
http://www.edaboard.com/
in microcontroller section and also others.

Good luck.

mostafadotnet 18 Junior Poster

Hi mymirror,

hehehe... are you from UP?

What does it mean?

mostafadotnet 18 Junior Poster

Hi all,
There is a function in string.h library called

strcmp(str1, str2);

which can be used to compare two strings against each other.
It returns 0 if two strings are equal and return non-zero if they're different.

Good luck.

mostafadotnet 18 Junior Poster

Hi jan1024188,
I'm also a newbie in python.But explain more on your code,so that I can help you.

Good luck.

mostafadotnet 18 Junior Poster

Hi all,
Arrays are passed-by-reference as function/method arguments means that there is no need to return them with as the functions return value and their value changes as you change them in your function/method or anywhere.Arrays are unlike others which are passed-by-value.

Good luck.

mostafadotnet 18 Junior Poster

Hi friends,
The best way to find the answer to this kind of questions is to search in google groups at this address:
http://groups.google.com/
The keyword is something like

calculator+assembly

.
Good luck.

mostafadotnet 18 Junior Poster

Hi all,
I've just suggested the easiest and the worst way to use when you have windows running.
Simply,i don't recommend it for your commercial&/ important projects.

Good luck.

mostafadotnet 18 Junior Poster

Hi Suril :),
You can google it.

mostafadotnet 18 Junior Poster

Hi VinC,

#include <stdio.h>
int main( void)
{
int i;
char str[ 80], str2[ 80];
scanf("%d %[abcdefg] %s", &i, str, str2);
printf("%d %s %s\n", i, str, str2);
system("pause");
return 0;
}

Use

system("pause");

instead.

mostafadotnet 18 Junior Poster

Hi again,
Follow this tutorials to find out more on PHP,...:
http://www.tizag.com/

They're really easy.

Good luck.

mostafadotnet 18 Junior Poster

Hi Mushy-pea,
This is the best guide found on the planet for linux API.
http://www.advancedlinuxprogramming.com/alp-folder

Go to the folder and download all the PDFs and start learning.
That's all.

Good luck.

Grunt commented: Good-[Grunt] +1
mostafadotnet 18 Junior Poster

Hi fuehrer,
if you check this code using firefox in Javascript Console,you'll figure out that it throws this error:

Error: event is not defined

So,it won't work in firefox till you change the onbeforeunload event.
Good luck.

mostafadotnet 18 Junior Poster

Hi michael123,
This is an easy task since it can be done using a property[setting a property].

TextBox1.TextAlign = HorizontalAlignment.Right

Good luck.

mostafadotnet 18 Junior Poster

Hi again,
Take a look at this:
http://www.phpfreaks.com/tutorials/105/0.php

And google before posting.:D

Good luck.

mostafadotnet 18 Junior Poster
mostafadotnet 18 Junior Poster

Hi all,
I'm somehow researching on how to design and program such a thing.
Even I thought about hardware issue[hub/switches,routers,...] involved and how to design and program an OS for them.
I just found some C/C++ libraries called pnet[libpnet] and dnet[libdnet]
which can be easily found on http://www.sf.net/

Good luck.

mostafadotnet 18 Junior Poster

Hi psycho^,
I doesn't compile with my compiler[gcc],so I can't help you.

Free is free,you can NOT complain.

mostafadotnet 18 Junior Poster

Hi vssp,
Have you ever read the PHP Manual in LX. Image Functions section?
Clarify your question to get to the right answer.

Good luck.

mostafadotnet 18 Junior Poster

Hi uu666,
It's not a big problem since you should comment out the line:

name "hi"

and that's all.
And your code would look like this:

; The easiest way to print out "Hello, World!"

;name "hi"

org 100h

jmp start ; jump over data declaration

msg: db "Hello, World!", 0Dh,0Ah, 24h

start: mov dx, msg ; load offset of msg into dx.
mov ah, 09h ; print function is 9.
int 21h ; do it!

mov ah, 0
int 16h ; wait for any key....

ret ; return to operating system.

and assemble your code using this:

nasm.exe -o hw.com hw.txt

Good luck.

mostafadotnet 18 Junior Poster

Hi himanjim,
These functions(read,write,close,...) are called system calls which are kernel-level file manipulation.
Inorder to get information on linux system calls,search google for

Advanced Linux Programming

.
It would be found in PDF format easily.
I have a project for this purpose.Tell me if you want the source code.

Good luck.

mostafadotnet 18 Junior Poster

Hi darrenw89,
It can be done only by using an scripting language which I recommend PHP.
Tell me if you want to know more.Also take a look at PHP Manual at ODBC Functions (Unified).

Good luck.

mostafadotnet 18 Junior Poster

Hi JW1873,
1.The square root is returned using sqrt(); function which is in math.h library.
2.simple - True if the returned value is non-zero and False is the returned value is zero.
3.means greater than or equal to(I describe it this way:if greater than OR if equal to)
4. x >= 10 ? bool_var = 1 : bool_var = 0; // (reference to q. number 2)
5.not needed for today's compilers but it's in stdio.h .
6.

         int findave(int x, int y)
            {  return (x+y)/2;  }

7.refer to 6
8.

 float test[] = { 23.0,-2.1,667.4,99.23 }; // size = 4
 test[2] = 4.1; 

9.

 if( i == 2)
      printf("%d",test[i+1]);

10.simple - nothing.because it has no side effect on your program.
but if it is like this: test[0] = test[0] + 2 then it would get the current value of test[0] and increase it by 2.
11.

int i;
for(i = 0; i <= sizeof(test); i++)
{
     if(test[i] == 2.1)
            printf("element %d contains 2.1",test[i]);
} 

Are these question yours or your exam's questions?
Good luck and don't scare to ask because I'm also a newbie:d.

Excuse me for the double answer.I just wanted to submit this answer yesterday but my internet connection failed to respond.
EXCUSE ME.

mostafadotnet 18 Junior Poster

Hi uu666,
What is your source code?I mean what it does contain.

mostafadotnet 18 Junior Poster
mostafadotnet 18 Junior Poster

Hi accioportkey,
Could you tell me what "palimdrome" means?
As I'm not an english native,I don't understand this word.

Thanks.

mostafadotnet 18 Junior Poster

Hi uu666,
This operation:
http://mirror.href.com/thestarman/asm/debug/Segments.html
means:
Absolute Memory Location = (Segment Value * 16) + Offset value

Good luck.

mostafadotnet 18 Junior Poster

Hi all,
I'm using Dev-C++ but it's editor is not efficient.So,I use Notepad2 which is the best syntax highlighter around.
http://www.flos-freeware.ch/notepad2.html

mostafadotnet 18 Junior Poster

Hi Close Friends,
Searching google groups for the answers is a good choice:
http://groups.google.com

mostafadotnet 18 Junior Poster

Hi mymirror,
Please give the code so that I can help you.
Also take a look at google groups.

Good luck.

mostafadotnet 18 Junior Poster

Hi all,
I want to introduce an interesting new scripting engine for C++ which outputs HTML.It's called C++ Server Pages.
The micronovae Definition for C++ Server Pages:
The power of C++ brought to the web! C++ Server Pages is the most powerful web engine ever, enabling C++ programmers to build superior web applications fast and easy.
The link to
http://www.micronovae.com/default_csp.html

I hope it helps anuradhu,
Good luck.

mostafadotnet 18 Junior Poster

Hi Silkyneville,
Are you talking to yourself in this forum???

mostafadotnet 18 Junior Poster

Hi Woobag,
you should use

'<?php echo $_SERVER; ?>'

instead of

'<?php echo $PHP_SELF; ?>'

There is no problem with your UPDATE statement since php echo it nicely,but you've used $PHP_SELF incorrectly.
I hope this help you.
Good luck.

mostafadotnet 18 Junior Poster
mostafadotnet 18 Junior Poster

Hi msvinaykumar,
I don't know what you mean but take a look at:
http://sourceforge.net/projects/mysql-python/

Good luck.

mostafadotnet 18 Junior Poster

Hi uu666,
Assembly is the language.
Assembler is the machine code generator.[The program that assembles your assembly code]

Good luck.

mostafadotnet 18 Junior Poster

Hi uu666,
I'm not sure but as far as I know you can access physical memory when you're in real mode which there is nothing more than exact offset:segment or the reverse.But if you want to address more than the 1 MB limit of memory in 8bit real mode,you should define a descriptors table which addresses the memory logically in 32bit protected mode.

:D I don't know more.
Excuse me if these are incorrect.

Good luck.

mostafadotnet 18 Junior Poster

Hi VIDOCQ,
Take a look at:
http://www.osdever.net/
http://www.mega-tokyo.com/osfaq2/
and finally this:
http://www.mega-tokyo.com/forum/

These websites contain comprehensive resources on making a complete OS and many other issues related to operating systems

Good luck.

mostafadotnet 18 Junior Poster

Hi uxohus2b,
As new browsers do have pop-up blocker, then willing to open a new pop-up window is not good idea.

Good luck.

mostafadotnet 18 Junior Poster

Hi lavin,
Look at http://www.tizag.com/ and start learning HTML at first.
Then go on to CSS for your HTML style and also Javascript and then PHP/ASP(.NET).
First learn what you want to do.
When you have the knowledge then working with a software is such an easy task because you know most of the thingsand you don't want the software's HELP.
Good luck.

mostafadotnet 18 Junior Poster
mostafadotnet 18 Junior Poster

Hi SamY,
What do you mean of software?

mostafadotnet 18 Junior Poster

Hi SamY,
You should switch to protected mode inorder to address more than 1MB limit [upto 4GB] and to see those fancy graphics and also as Ryu said,you should also implement a video driver[VESA,...].
Take a look at http://www.mega-tokyo.com/osfaq2/.

mostafadotnet 18 Junior Poster

Hi Loren Soth,
Nice answer.
Thanks.

mostafadotnet 18 Junior Poster

Hi there,
1.Google everything.
2.Be patient.
3.Concentrate.
4.Don't waste time talking non-sense.
4..................................[fill it with your own info]

A BIT unrelated but don't worry.
Good luck.

mostafadotnet 18 Junior Poster

Hi L33VaNcL33F,
Search for Win32 API tutorials.
This would help:

http://www.zeuscmd.com/

Good luck.