Showing results 1 to 23 of 23
Search took 0.01 seconds.
Posts Made By: AbberLine
Forum: JavaScript / DHTML / AJAX Jan 18th, 2008
Replies: 3
Views: 3,612
Posted By AbberLine
Re: IE7 document.getElementById problem

Found a solution, for those who would like to know:

The tags in the return value of my second javascript function seemed to be the problem
The WRONG code:

function writeEvent(txt){
...
Forum: JavaScript / DHTML / AJAX Jan 18th, 2008
Replies: 2
Views: 1,516
Posted By AbberLine
Re: how to display command prompt results in browser using javascript

Do you mean something like:
- user inputs a commando eg: dir
- [send]
- page shows a directory listing?

I don't think something like that will ever be posible with javascript. Because javascript...
Forum: JavaScript / DHTML / AJAX Jan 18th, 2008
Replies: 3
Views: 3,612
Posted By AbberLine
Re: IE7 document.getElementById problem

i'm not sure what you mean but i'll try and see what I get. Thank you for helping.
Forum: JavaScript / DHTML / AJAX Jan 17th, 2008
Replies: 3
Views: 1,544
Posted By AbberLine
Re: IE7 bug: Confuse of javascript variable name and iframe name.

I found this while looking for something else on google. Could by...
Forum: JavaScript / DHTML / AJAX Jan 17th, 2008
Replies: 1
Views: 520
Posted By AbberLine
Re: HTML problem..

I think you need the <BASE HREF=""> tag. Here you can specify any path and then you hyperlinks wil 'start' from there. Here is an example:


<html>
<head>
<title>In de weer voor 't klimaat</title>
...
Forum: JavaScript / DHTML / AJAX Jan 17th, 2008
Replies: 3
Views: 3,612
Posted By AbberLine
IE7 document.getElementById problem

Hi,

I would like to make a blok of text appear when the user clicks a hyperlink. Therefor I created a test file in html:


<html>
<head>
<title>InnerHTML - Test</title>
<meta...
Forum: C Dec 27th, 2007
Replies: 6
Views: 1,261
Posted By AbberLine
Re: Execute a function every five miliseconds

Thank you all for helping me with my program/project. Every post was helpfull in one way are an other. Special thanks to invisal for the hyperlink.
Forum: C Dec 27th, 2007
Replies: 15
Views: 1,306
Posted By AbberLine
Re: Run functions while others are running

I managed to code the program as I want it. Thank you all for helping me out, every repley was helpfull in some way.
Forum: C Dec 27th, 2007
Replies: 6
Views: 1,261
Posted By AbberLine
Re: Execute a function every five miliseconds

Thanks invisal, thats a very nice tutorial and a very handy website. To bad I can't use that C++ code there (stupid C assignment) but it gives me a better understanding of the way it is suppost to be...
Forum: C Dec 27th, 2007
Replies: 15
Views: 1,306
Posted By AbberLine
Re: Run functions while others are running

damned I forgot the word "not" ...
But its not related to the problem (anymore).
Forum: C Dec 26th, 2007
Replies: 15
Views: 1,306
Posted By AbberLine
Re: Run functions while others are running

Thanks again from the info on kbhit(). I found it usefull. But its related to the problem (anymore).
Forum: C Dec 26th, 2007
Replies: 6
Views: 1,261
Posted By AbberLine
Re: Execute a function every five miliseconds

I didn't know about the effect of refreshing so quickly. Thanks for you advise. Thats one issue solved.

But it still leaves my problem unsolved. I will reform the question to:
How can I execute a...
Forum: C Dec 26th, 2007
Replies: 6
Views: 1,261
Posted By AbberLine
Execute a function every five miliseconds

For this question I would like to reffer to my previous thread: about my game project for school: http://www.daniweb.com/forums/thread102003.html.

I would like to execute a function every few...
Forum: C Dec 26th, 2007
Replies: 15
Views: 1,306
Posted By AbberLine
Re: Run functions while others are running

thanks WaltP it does the job like you said it would. But it didn't actulaly solve my 'bigger' problem. :( But still its intressenting to know about bkhit().
Forum: C Dec 21st, 2007
Replies: 15
Views: 1,306
Posted By AbberLine
Re: Run functions while others are running

invisal,

You code makes me realise something very important. That might be the solution to more then just the problem I stared this thread with. You see I re drawed everything everytime the user...
Forum: C Dec 21st, 2007
Replies: 15
Views: 1,306
Posted By AbberLine
Re: Run functions while others are running

invisal, I'm not sure I understand what you are saying correctly. Your last sentence where you say that in my case I render 12 frames per second is the hardest one to get.

If i'm not mistaken you...
Forum: C Dec 21st, 2007
Replies: 15
Views: 1,306
Posted By AbberLine
Re: Run functions while others are running

Salem’s idee is closer to what I’m looking for guys. Thanks Salem.

Jishnu, your right when you say that C++ is the de facto language for game programming but, this is a project I have to make...
Forum: C Dec 21st, 2007
Replies: 15
Views: 1,306
Posted By AbberLine
Run functions while others are running

Hi

This question gives me a weird feeling, actually I'm not really sure if this is relevant.
Anyway, here we go:

I'm (still) busy coding my first game in C. The goal is simple: the player is a...
Forum: C Dec 8th, 2007
Replies: 7
Views: 4,847
Posted By AbberLine
Re: malloc of a two-dimensional array

Ok. It would indeed be not soo nice if some random (big) value would fill up that space.
Thanks alot Ancient Dragon!
Forum: C Dec 8th, 2007
Replies: 7
Views: 4,847
Posted By AbberLine
Re: malloc of a two-dimensional array

Oh so the rows that do not hold more then one cell are free cause they where not filled.

char*tab_veld[80];

After filling the variable tab_veld from the code above there is nothing to free()...
Forum: C Dec 8th, 2007
Replies: 7
Views: 4,847
Posted By AbberLine
Re: malloc of a two-dimensional array

Okee, works like a charm! (if you include the declaration of int y) thanks a lot.

Alright just one small problem.
Do I still need to free() the last "rows" of the array? I tryed the following, but i...
Forum: C Dec 8th, 2007
Replies: 7
Views: 4,847
Posted By AbberLine
Re: malloc of a two-dimensional array

Thank you very much, I'll try that as soon as I'm finished.
You forgot a bracket, not the end of the world but mayby this solution might be handy for ouhter to.
char*tab_veld[80] = {0};



Yes...
Forum: C Dec 7th, 2007
Replies: 7
Views: 4,847
Posted By AbberLine
malloc of a two-dimensional array

Hi

Recently I started programming C (not C++) in borland 4.5 at school. Now my teammate and I have to make a small game. Therefor I will use an two-dimensional array, the field (a table, rows and...
Showing results 1 to 23 of 23

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 1:04 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC