Search Results

Showing results 1 to 15 of 15
Search took 0.01 seconds.
Search: Posts Made By: warpstar
Forum: C++ Dec 10th, 2007
Replies: 1
Views: 484
Posted By warpstar
Hey, just wanna say thanks in advance with the help.


void backwards(struct node *headp){

int n=0; /* length */
int i,j; /* counters */

struct node *p=headp;
/* find length */
Forum: C++ Oct 26th, 2007
Replies: 3
Views: 590
Posted By warpstar
The Function

double *solve( double a[ ][N], double b[ ])

what does the pointer notation * represent in front of solve?
Forum: C++ Oct 26th, 2007
Replies: 2
Views: 607
Posted By warpstar
Whats the difference between:

pp = malloc(m*sizeof(int)) <--- I understand this

and

pp = **int malloc (m*sizeof(int)) <--- but not this ?
Forum: C++ Oct 26th, 2007
Replies: 3
Views: 624
Posted By warpstar
Thanks alot twomers!
Forum: C++ Oct 26th, 2007
Replies: 3
Views: 624
Posted By warpstar
Heres the problem, Ill try my best to explain this: If your given a 5x5 array whicih looks like:

1 1 1 1 1
0 1 1 1 1
0 0 1 1 1
0 0 0 0 1
0 0 0 0 0

Basically in each column below any...
Forum: C++ Oct 26th, 2007
Replies: 4
Views: 2,762
Posted By warpstar
whats the difference in malloc and calloc/?
Forum: C++ Oct 26th, 2007
Replies: 4
Views: 2,762
Posted By warpstar
Can someone please explain to me how dynamic memory allocation actually works? For example whast going on in the piece of code written below? If you can respond asap, that would be great. Thanks in...
Forum: C++ Oct 25th, 2007
Replies: 4
Views: 1,358
Posted By warpstar
Forum: C++ Oct 25th, 2007
Replies: 4
Views: 1,358
Posted By warpstar
Each of the following program segments might
have syntax, logic or other kinds of errors. If there are errors,
correct, otherwise answer "no error". Assume all function headers
are correct.
...
Forum: C++ Oct 25th, 2007
Replies: 5
Views: 634
Posted By warpstar
Thats a question taken from a sample midterm test, so that is what i assuming all you need to know to answer the question. I still dont really understand why the star is beside int in the function...
Forum: C++ Oct 25th, 2007
Replies: 5
Views: 634
Posted By warpstar
_ _ _ _ function2(_ _ _ _ _ _ _ _ _ _ _ );
main{
int n[]= {4, 5, 6};
int *kptr ;
kptr = function2( n ) ;
}

Fill in the blanks and you get:

int *function2( int array[ ]); or
Forum: C++ Oct 24th, 2007
Replies: 3
Views: 892
Posted By warpstar
This goes the same for a "For Loop"??, the increment expression, if its pre/post wouldnt it be the same since its being evaluated after the statements of the loop have been executed?
Forum: C++ Oct 24th, 2007
Replies: 3
Views: 892
Posted By warpstar
My Question is regarding the code written below. If you look at the function called "function"
when 'a' is passed to the function and the function "function" is evaluated. I was wondering what the...
Forum: C Oct 24th, 2007
Replies: 6
Views: 2,909
Posted By warpstar
HI, I WANTED TO THANK YOU FOR YOUR RESPONSE, IT HELPED ALOT!! THANKS AGAIN REALLY APPRECIATE IT!
Forum: C Oct 23rd, 2007
Replies: 6
Views: 2,909
Posted By warpstar
First of all I would like to say that I am a super newb at C, and would appreciate any help possible. I have to read a text file of words and sort them in lexicographical order (alpha order), I tried...
Showing results 1 to 15 of 15

 


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

©2003 - 2009 DaniWeb® LLC