LMAO! :p
Type: Posts; User: Char*Pntr
LMAO! :p
Well I quess we all learned something here! I particularly enjoyed anduril462's link.
Bookmarked. :-)
Have you tried writing any C code so far? What have you tried?
If not, check out some useful links here:
Pseudocode Examples
Root finding methods
or even here?
Hi! Here's a start to the proper approach:
int main(void)
{
// Your code here
return 0;
}
Read this, and then check back if you need more help.
Cprogramming.com C guide Arrays for Dummies
Cool link here how to use code tags ---> http://cboard.cprogramming.com/cplusplus-programming/13473-posting-code-read-first.html
No Elysia, that was a joke on my part. If that were to be implemented, then we'd have a flood of posts, something like "Help Help! I can't pass my test!" That would make things worse than they are...
No. That was your assumption, not mine. I used the phrase "new member". Whether someone has 1 year, or 30 years of programming experience, the person is still a new member when they register. :-)
...
I could not have stated this any more eloquently. However:
I'm not sure if this is a staff problem. I've noticed many times, when we get the "help! Help!" and a half-assed to-do list with NO...
Per K & R 2nd ed., "It's bad practice to bury 'magic numbers' in a program; they
convey little information to someone who might have to read the program later, and
they are hard to change in a...
Yes, but I believe there are 3 ways to access the members.
In my book, I read "If p_str is a pointer to the structure str, the following 3 expressions are
all equivalent:
1) str.memb
2)...
Hi Please post your complete code. I had a similar problem a few months ago (I'm a C student also) and found that I was initializing my pointers in the wrong place.
I don't know if that is the...
But will Turbo C support VLA? :p :p
HOMEWORK POLICY
Sure. Start with insert.
Edit: Sorry. Couldn't resist.
Very well said Tater! BTW, I'm taking your advice as well. ;)
Since this, it seems, is going to turn into a 5+ page thread anyway, I completely agree with what Grumpy had to say. When I first read the reply, I thought that would be the end of that.
First things first :-) You're declaring main an int (as you should be) where
is main's() return value?
I'm sorry, my reply was not clear to you. I provided a link for you to click on. You stated your objectives clearly, so I think your next step should be to convert that to pseudo code.
Click...
I'm having "answering blocks here". At least give it try, convert your problem to
pseudo code would be a start.
Pseudo code Examples
I thought the links were great! In fact I'll be bookmarking them. But as you already pointed
out, this info would be much easier to find when it's in the right area. :-)
And welcome to the...
You left off the '&" in scanf S/B
scanf("%d",&arr[i]);
Edit:
Having fixed that, your code still has problems. Try to think it through. :-)
I just noticed this link. Bookmarked. So it turns out now, this thread
wasn't a complete waste of my time.
LMAO, RtR you mean all this time? I need to be demoted from the cross post
team here - or at least get a demerit. Also, I'll have to bring this up with my priest during my next confession.
How To Use pow(x,y)