see "One thing you could try..."
Well, where are you stuck? Have you got ANY code at all? Post it with some notes on what exactly it's doing wrong and where you think the problem...
One thing that can really help is to work out the algorithm by drawing it out on paper. e.g. (1)->(3)->(5) (2)->(4)->(6) Then you'll need a...
> I Enter Every thing its asks for Yep, but what you you actually enter? Let me clarify. The code isn't everything. The contents of the...
What input do you give the program? Can you upload a screen shot (ideally just paste text in rather than posting a graphic) showing the input and...
> I just wanted to use it to understand how to program it myself. If you *really* want to understand how to program something yourself then you...
It's harder to use classes in C because the language doesn't fully support object programming. But you can do object-style programming; use struct...
You haven't set p to point to memory that contains the rec structures in which to place the values.
Yes, but there are two problems with this: (1) you learn absolutely NOTHING about programming just by copying that. Far better to work it out...
That's how I would have done it, yes. Except that I would only use a single row. So when calculating the 2 in the above, I would calculate that...
How is rec defined?
Looking at the Wiki article on Pascal's triangle it could be a lot easier to calculate each line from the previous line as per the standard...
Build the program up bit by bit. Start by generating line p of a q line triangle (e.g. line 5 of a 10 line one). Use a few fixed constants to get...
> what is the information is loaded from hard to ram by cpu? Nothing, that's the whole point. The CPU tells the HDD where to stick its data and...
DMA directly accesses memory; that is physical RAM on the machine. It does not write to swap space. So the processor allocates some memory for...
Probably the easiest and cheapest way will be to use a PIC chip that supports USB, then just connect it to your USB port. There are loads of...
strtok
hi shabbir, I tried using the Google Custom Search at the top of the page and got zero results no matter what I tried. Seems to me that this...
You seem to be recreating the int array every time the result of the equation is zero, then assigning the same value to each of the three...
Please use code blocks when posting code. What do you think the output should be and why (i.e. what do you think you are displaying)? What are...
Separate names with a comma.