Search Results

Showing results 1 to 11 of 11
Search took 0.00 seconds.
Search: Posts Made By: Fili ; Forum: C and child forums
Forum: C Aug 8th, 2004
Replies: 4
Views: 3,018
Posted By Fili
For reading you use scanf() with format specifier "%f","%g","%e" or printf();
the variable tyoe is float and functions are in math.h

You need functions->read tutorials
Forum: C Jul 30th, 2004
Replies: 7
Views: 5,166
Posted By Fili
What does fork() do? :?:
Forum: C Jul 16th, 2004
Replies: 0
Views: 2,244
Posted By Fili
I want to have a class LIST -- a dinamic list of rational numbers (defined previously in my RATIONAL class). I want another class STACK to inherit LIST's root and end pointers for my list.(STACK also...
Forum: C Jul 5th, 2004
Replies: 10
Views: 4,177
Posted By Fili
Are you sure? :?:
You will print "number of columns" times "$$". In nufanvandal's first post, I understood that a column is made up of a "$$" and a line is made up of a "$$", "number of...
Forum: C Jul 4th, 2004
Replies: 10
Views: 4,177
Posted By Fili
ok i've written some code for you. it reads the number of rows and columns and prints the drawing.


#include <stdio.h>
#include <conio.h>
void main()
{
clrscr();
int m,n,i,j;...
Forum: C Jun 23rd, 2004
Replies: 2
Views: 9,634
Posted By Fili
Thx. I looked it up in a book.

BTW: Instead of using a vector: int a[100] you could use:

int *a;
a=(int*)malloc(100*sizeof(int)); OR
a=(int*)calloc(100,sizeof(int));


It's kind of...
Forum: C Jun 19th, 2004
Replies: 1
Views: 13,406
Posted By Fili
How exactly do you want to get length?!!
The only way I know of is using <string.h> There is a strlen(char *s) function which return the strings length :D
Forum: C Jun 18th, 2004
Replies: 5
Views: 2,564
Posted By Fili
There is a time structure you know-- see gettime() : :lol:
Forum: C Jun 18th, 2004
Replies: 2
Views: 9,634
Posted By Fili
I have a very important question (for me)

How do i use <alloc.h>/<malloc.h>/<stdlib.h> for memory allocation?

i'm talking about: malloc(),calloc(),halloc(),realloc(),alloca(),heapwalk(),free()...
Forum: C Jun 17th, 2004
Replies: 15
Views: 4,232
Posted By Fili
Please give me all the details about your assignment-- exactly what must it do. I'd be more than happy to write a source file :p

Give me your e-mail and i'll send you the program! (it might be...
Forum: C Jun 17th, 2004
Replies: 14
Views: 34,643
Posted By Fili
The answer is quite simple:
Just use "<"or">" operators in an "if" instruction like in a normal sorting method for numbers. Be careful though:
if you have:
...
Showing results 1 to 11 of 11

 


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

©2003 - 2009 DaniWeb® LLC