Search:
Type: Posts; User: pi><boy; Keyword(s):
Search:
Search took 0.29 seconds.
-
get your hands dirty rightaway! There are a lot of FOSS projects which are always looking for new contributors. If you wanna start off with C, make it a point to get familiar with gcc too. I myself...
-
thanks a lot again, nihil...
the first link was interesting, reminded me to poke around the /usr/include/limits.h file. I found that a constant _WORDSIZE in bits/wordsize.h that would determine...
-
thanks a lot, nihil.
That should work for all my local computation needs. But, that brings me to another question. You must've seen the online coding contests where you submit your code to the...
-
Lately I've started working on programs that would require me to compute quite large values like those in the order of 10**10. I wrote my own exponentiation function after reading up the...
-
November 14th, 2007, 07:11 PM
Here's the working code:
void InsertItem(currency **list)
{
currency *temp, *node;
temp=(currency*)malloc(sizeof(curr));
fflush(stdin);
-
November 14th, 2007, 05:35 PM
yeah you are having problems with pointers. I suggest you to do a bit more of reading up.
I think it would be
while(node->next!=NULL)
node=node->next;
Your code is...
-
November 14th, 2007, 03:14 PM
-
November 14th, 2007, 02:22 PM
Hey see the above edited post ^^
-
November 14th, 2007, 01:51 PM
Hey how does the insert function work?
You have changed the argument to a single pointer. So it should be
currency* InsertItem(currency *list)
{
//.......
return list;
}
-
November 14th, 2007, 01:29 PM
the code I posted was a c++ code, did you first change it into a standardized c code? It seems it can't find the header file for gets().
#include<stdio.h> should be enough. Dunno about what's...
-
November 14th, 2007, 09:09 AM
hey I decided to compile your code and I think you had a logical mistake in the insert function. I wrote it in c++, but I think you won't have much problem in porting it to c.
void...
-
November 14th, 2007, 08:41 AM
oops, I have made a mistake here. Extremely sorry for that. I didn't notice that the typedef was only for the structure, not for a pointer to the structure.
So everything I wrote in my previous...
-
November 14th, 2007, 06:22 AM
when you use currency *list, you are actually using a pointer to a pointer or in other words a double pointer so that you can actually modify the pointer's location and move it around the list...
-
November 24th, 2005, 05:26 AM
Hey!! you got it
I was unable to figure out how to apply the modulo to a,b.
Thanks, for all the help :)
-
November 23rd, 2005, 08:23 AM
We are being taught RSA encryption in our school. The teacher told us to write a lame program in C++. It need not be ultra-strong 1024-bit encryption, just to make us familiar.
So, we need that...
-
November 7th, 2005, 05:17 AM
Oh! So you think its that easy as 2 rusty cans and a slack string??
Maybe you possess the same views about the spam filtering softwares, the disease testing softwares, the Microsoft Office...
-
November 6th, 2005, 05:40 PM
The answer to this is probably yes. I will try to just give an outline of the process.
1. Perform a predefined number of traceroute attempts at constant time intervals from A on B.
2. If two...
-
September 4th, 2005, 06:23 PM
Guys, I may be late in posting here and also I am being forced to say that Muslims always have a problem wherever they go and reside. They want the country where they go should conform to their...
-
September 3rd, 2005, 05:49 PM
Hi sec_ware,
I am quite grateful to you that you took this seriously.
But, I am still only a high school student and have never ever heard of Ford Fulkerson method :(
I know that you...
-
September 3rd, 2005, 05:37 AM
Can anybody tell me why the image is not showing up? I have used the [IMG] tag. :?
-
September 2nd, 2005, 05:35 PM
Notation:
1. P(X) means the probability of occurence of event X.
2. P(X|Y) means the probability of occurence of event X provided event Y has already happened
3. An means A with subscript...
-
Well, let me go into a few details.
Let us assume that we have accepted the terms and conditions of the EULA even though we have not seen it. Even then it is a basic clause of the EULA that if at...
-
And what about those nasty softwares that get installed without any message or something that would display the EULA like the IST family of spywares, MediaAccess, Internet Optimizer etc. ????? When...
-
Yes.
Doesnt seem so. My ISP range is 61.2.163.xxx
-
I have a firewall. It alerts me whenever an IP like 61.2.228.xx tries to access my SMTP,POP3 and Back Orifice Port. Next time I will save the log and show.
Nothing :(
No.
|
|