Very nice reference, informative and beginner friendly.
Type: Posts; User: Xero
Very nice reference, informative and beginner friendly.
And to add, it will greatly boost development time when working in groups.
(Since it has good readability)
Looks like the program has been served, with different versions.
I'm sure the thread starter will be so happy. =P
But make sure to declare those variables first. hihi.
I suggest that if you're doing a complicated calculations, why not take it one at a time, rather than making a single line of code full blast.
After doing the correct formula, then shrink it to...
If you wanted to convert all the contents of your character array, why not place it inside a for loop, then with respect to the index, perform the conversion.
There is a thread in C Programming Section of this forum that features
the suggestions of forum members on what books to buy and the like.
It also comes in a low-priced edition, affordable for students like me.
I use this book, it can deliver the idea efficiently.
I apologise.
The "%79s", whats the use of it? (string composed of 79 characters?)
(Excuse me if I replied with a question, im just curious. Hope u'll understand)
Banged, that shoots directly towards me.
(I migrated to Visual C++ 2005 Express, + PSDK)
Im quite sure that chobibo is Filipino as well,
we have similar compilers before, fossil-like. (like what...
ans<?=c;
Maybe, it was supposed to be written as:
ans<=c;
Testing if the value of 'ans' is less than or equal to value of 'c'.
(I dunno, im still new here though)
This caught my interest, I'd love to learn what does it mean.
"Free what you allocate."
Thank you, Sir.
I'll remember all that, its a good thing that I've registered here.
(2hrs since registration, yet I learned SO MUCH.)
/Respect
Thank you for your time, Sir.
It answered my question.
array = malloc(sizeof(int) * process);
/Respect
It would be my very pleasure if you'll recommend a good compiler for beginners like me. And oh, in response to your last statement sir, I do use "sample codes" for reference, but never use them as if...
Thanks for that.
(First post edited to avoid further confusion, and bad programming practices.
credit for quzah for reminding me 'bout that.)
Never would I advice starters to go and search program codes that aren't written by themselves. The best way to learn any programming language is to disect every info on it, and start making your own...
Need your opinion about this one: (currently using Turbo C v2.01)
#include <stdio.h>
int process;
main() {
char choice;
clrscr();
Although in Turbo C v2.01, that program is running OK.
Totally agreed to him.