Search Results

Showing results 1 to 40 of 48
Search took 0.01 seconds.
Search: Posts Made By: FireNet ; Forum: C and child forums
Forum: C Feb 24th, 2005
Replies: 1
Views: 7,705
Posted By FireNet
x = (float**) malloc(2 * n * sizeof(float*));

That's the problem I belive, why the 2? ,just put n like

x = (float**) malloc(n * sizeof(float*));

Then try.......

Also put in debug lines...
Forum: C Dec 3rd, 2004
Replies: 10
Views: 6,120
Posted By FireNet
Ok The Site is up,but I am still getting the content setup but still here is the link

http://xlock.fusionxhost.com/
Forum: C Nov 18th, 2004
Replies: 10
Views: 6,120
Posted By FireNet
http://www.polarhome.com:793/~xlock/zip/mirrorx.zip
http://www.polarhome.com:793/~xlock/zip/mirrorx01.zip


My mistake, there were too many 'r's.

If you mean if I have any public servers...
Forum: C Nov 16th, 2004
Replies: 10
Views: 6,120
Posted By FireNet
Which one?If you mean MirrorX then the zip comes with a server and the client.

http://www.polarhome.com:793/~xlock/zip/mirrrorx.zip - older than the current version but has the client + server...
Forum: C Nov 11th, 2004
Replies: 10
Views: 6,120
Posted By FireNet
Unfortunately the site is going to be down for sometime, it seems that the host is having some probelms with it's servers.I will be putting up a temp site soon (if I can)

Now officially the...
Forum: C Nov 4th, 2004
Replies: 10
Views: 6,120
Posted By FireNet
All the parts in one file? Which format would you preffer, HTML or just plain Text?


Also on an apologetic note, my site is down at the moment and it may take a bit of time to get it up.If all...
Forum: C Oct 29th, 2004
Replies: 10
Views: 6,120
Posted By FireNet
Graphics In Pixel
Part II B
'Realization of an Enigma'



Introduction
------------
Life's unfair, writing good tutorials take a lot of time, not typing it, but...
Forum: C Oct 8th, 2004
Replies: 1
Views: 2,156
Posted By FireNet
Quite easy.

The easiest one is from left to right and the principle is the same for the rest.Ok I am going to have some fun and provide you with the tools/code needed to produce the effects.You...
Forum: C Sep 26th, 2004
Replies: 5
Views: 2,280
Posted By FireNet
Try this tut ;)

http://www.daniweb.com/tutorials/6542.html
Forum: C Sep 20th, 2004
Replies: 14
Views: 11,149
Posted By FireNet
Woo,
As far as I know graphics.h use BGI.You can use it with Turbo C++ like Asif_NSU or use Borland C++.

In Borland C++ right-click on the cpp source window and choose Target Expert.You should a...
Forum: C Sep 13th, 2004
Replies: 5
Views: 4,363
Posted By FireNet
Ask the user to do it ;)

Btw I have seen such funtionality only in carppy trojans and joke programs.

Try looking at http://www.google.com/
Forum: C Sep 8th, 2004
Replies: 1
Views: 2,738
Posted By FireNet
Yea,

http://www.google.com/ -is the best place to go
Forum: C Sep 2nd, 2004
Replies: 4
Views: 3,671
Posted By FireNet
True alc6379, common shabna, we dont get paid for doing this, we are in this to help each other.Chainsaw is a jolly good guy, but if someone wants to take things up a bit, you will find yourself...
Forum: C Aug 27th, 2004
Replies: 2
Views: 1,875
Posted By FireNet
That means the compiler could not find the object "resultarray" which was declared as an extern.Extern says to the compiler that a variable has been declared somewhere else but in this case the...
Forum: C Aug 27th, 2004
Replies: 6
Views: 3,785
Posted By FireNet
Yea, better use fstreams they are much better and easier to use.Here's a link:
http://www.daniweb.com/techtalkforums/thread6542.html

Try posting some of your code too.We might be able to help you...
Forum: C Aug 26th, 2004
Replies: 34
Views: 8,917
Posted By FireNet
Could I suggest a book?: C++ Primer 3rd Edition

Covers tiny stuff like performance details and the new C++ standard very well,bit advanced but very good if you want details.

Postfix(p++) and...
Forum: C Aug 25th, 2004
Replies: 1
Views: 4,691
Posted By FireNet
Dont Know any as per se.

Also it's not too hard at all convertion between UNIX and WIN32.Only a few funtions and some funtion returns are all that differ.You should have no trouble after you have...
Forum: C Aug 23rd, 2004
Replies: 5
Views: 6,610
Posted By FireNet
Try linking with winsock.lib
Forum: C Aug 17th, 2004
Replies: 1
Views: 2,387
Posted By FireNet
Use :

char charface = 1;

cout<<charface;// or even printf()

That will output the smilie face to the screen,the rest is easy.
Forum: C Aug 6th, 2004
Replies: 4
Views: 2,882
Posted By FireNet
Gee,if you want just an overall stuff about things you dont know then try http://www.google.com
That will give you lots of good stuff,as I always say enough to drown in.


P.S If you...
Forum: C Aug 6th, 2004
Replies: 2
Views: 4,779
Posted By FireNet
Ok,that can be done quite easily if you know your file handling and a little bit of char manipulation.

If you want a tutorial on file handling then here is a link....
Forum: C Aug 6th, 2004
Replies: 4
Views: 2,882
Posted By FireNet
Please reffer to your post about networking stuff for my answer.

http://www.daniweb.com/techtalkforums/thread8956.html

Hey,give details.There are a lot of message passing interfaces types...
Forum: C Aug 6th, 2004
Replies: 2
Views: 2,602
Posted By FireNet
Boy:I dont know why you are angry at me !!!!
Girl:If you dont know,I am not gona tell you, so do something about it...

.... yea right,something similar here eh?You aint giving any details buddy....
Forum: C Aug 4th, 2004
Replies: 2
Views: 2,080
Posted By FireNet
:D,Nice of you to thank those who help you out,but rather than post a new thread for that,you could try sending them a private message or even post at the theard in which they helped you out.It would...
Forum: C Jul 26th, 2004
Replies: 7
Views: 30,188
Posted By FireNet
You mean recursive funtion.The concept is quite simple.You take a number (to be reversed) and divide it by 10 and add the remainder to another number.As every loop goes by you multiply 10 to the...
Forum: C Jul 26th, 2004
Replies: 3
Views: 13,341
Posted By FireNet
Random Number generation is easy but when you call rand() you only get a number from an array.To get true random numbers you have to seed that array using srand();

call srand(GetTickCount());Then...
Forum: C Jul 25th, 2004
Replies: 6
Views: 11,458
Posted By FireNet
Hey go to the tutorials fourm and check out the tut for file i/o using fstream.(C++)

Here's the link:
http://www.daniweb.com/techtalkforums/thread6542.html
Forum: C Jul 25th, 2004
Replies: 2
Views: 9,373
Posted By FireNet
Sorry we cant.This is a fourm for programming discussions not for getting your homework done by others.We dont do home work.We just help each other solve problems we enconter.

Go ahead and search...
Forum: C Jul 24th, 2004
Replies: 4
Views: 2,177
Posted By FireNet
Sorry Dude,we aint your homework doers.

Btw there was a previous post on a vending machine so you are in luck.
http://www.daniweb.com/techtalkforums/thread7183.html

[Huh,I feel I am copying...
Forum: C Jul 24th, 2004
Replies: 3
Views: 3,878
Posted By FireNet
If you want a tut on fstream look in the tutorial fourm :D
Forum: C Jul 23rd, 2004
Replies: 5
Views: 2,813
Posted By FireNet
Yea,we aint answering machines nor auto homework doers.We help out solving difficulties.

:),Have fun(Btw by welcome)
Forum: C Jun 19th, 2004
Replies: 2
Views: 9,514
Posted By FireNet
These are used to allocate memory dynamically.With these you get memory from the OS and point to that memory address with a pointer.

Presonally I use C++ new operator.

Eg.

Some_data_type...
Forum: C Jun 18th, 2004
Replies: 1
Views: 2,174
Posted By FireNet
You can use structures

struct Dtime
{
int mins;
int years;
int days;
};

The to declare a variable:
Forum: C Jun 16th, 2004
Replies: 15
Views: 4,220
Posted By FireNet
:-| ,huh more errors when you tried that.I would have thought that immpossible.It's allowed C++ syntax.Either you used it in a wrong way or the error was cause by something else.You did not post the...
Forum: C Jun 12th, 2004
Replies: 15
Views: 4,220
Posted By FireNet
Try



while(Choice >= 1 && Choice <4)



Solve troubles ?
Forum: C Jun 12th, 2004
Replies: 14
Views: 34,369
Posted By FireNet
"radi.h" where can one find it eh?
Forum: C Jun 12th, 2004
Replies: 1
Views: 3,163
Posted By FireNet
Yes they are quite the same and mainly an organising tool.They can be used for various purposes from just organisation to linking to static libs.

What's funny is somethings are so used to people...
Forum: C Jun 11th, 2004
Replies: 14
Views: 34,369
Posted By FireNet
Just wanted to show how it works inside. It would sure help in understanding what goes on.

btw,what the use if all use something without knowing how it works
Forum: C Jun 11th, 2004
Replies: 14
Views: 34,369
Posted By FireNet
hey,here a simple way to see which of 2 strings is greater :)



int str_alp(char *s1,char *s2)
{
if(strcmp(s1,s2)==0)return(0); //if they are equal

for(int i=0;s1[i]!=0;i++)...
Forum: C Jun 9th, 2004
Replies: 14
Views: 34,369
Posted By FireNet
hey,I will give you a direction.

You will first have to make a funtion which will compare 2 strings and say which one is greater by comparing the individual chars and returning when it hit's a...
Showing results 1 to 40 of 48

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC