Awesome information. Thanks for your time.
Type: Posts; User: Cron
Awesome information. Thanks for your time.
Sorry what I was meaning to ask in that very ambiguous question was if there was a size of program in which it would be more beneficial to not use functions at all.
Thanks for the reply.
Can functions be used too much in a program?
The reason I ask is I like using functions, and having the main contain very few lines.
I was left wondering though if the use of so many...
Is having Valgrind worth going through all the trouble? If so I will definitely do it. I can have Slackware up and running instead of xubuntu.
I have the makefile set to:
CFLAGS=-Wall -g
clean:
rm -f <progname>
I am wanting to use Valgrind, but it is not providing me enough information (such as line numbers) of where a problem exists in the code. I am not sure if it is because I am using Ubuntu (Xubuntu)....
#include <stdio.h>
#include <stdlib.h>
double addfunc(double a, double b); //Add function
double subfunc(double a, double b); //Subtract function
double divfunc(double a,...
#include <stdio.h>
#include <stdlib.h>
double addfunc(double a, double b); //Add function
double subfunc(double a, double b); //Subtract function
double divfunc(double a,...
Yea I will keep an eye on this board.
Thanks!
Haha you remind me of a quote that I forgot to continually apply to life.
Proverbs 17:28 Even a fool, when he holdeth his peace, is counted wise: and he that shutteth his lips is esteemed a man...
Thanks for the reply. I have used java, vb.net, c++.net, python, and lisp. My main focus was in java/C++ (I had no choice in starting garbage java it was forced and I hated every agonizing minute...
Thanks for the reply, and I was going to learn C either way because I am hoping to make contributions to linux in the future as well as opensource projects.
You are right though programming is...
Guess no response means not much :D
In college I learned C++.net, and I am wondering if anyone could tell me if what I learned will benefit me in learning C.
When I look at C code I see alot of similarities to structure, but quite a...
Look at the post above yours I fixed it.
Hahaha I messed up on the conditions for the if statement LOL
It should be if(age >= 20 && age != 24)
My BAD!
Or somebody else in the face :D
Sigh... Why do I feel like such a square for indenting and commenting code... Is it cool to not indent or comment? Must have missed the memo.
Work on your indentation this will help prevent the problem you are now facing. If you have proper indentation not only is it easier for you to debug but it is easier for us :-D.
Ok see how...
Ok I looked at the link and almost rofl'd that you would ask for help on such a question good luck finding a tutorial on this and I mean that sincerely I don't think one exists personally maybe im...
Sounds great. I will give Pelles C a run thanks for the suggestion and discussion.
I agree! Such a freaking joke, and then what do the colleges teach? Of course it is .net. So I had to face the fact that what I had learned was not a true programming language rather a "trend". The...
I will do that! thanks! The issue with Code::Blocks was I was unable to download the installer at work, but I am able to download Pelles C at work. I have been trying to make the linux transition...
Thanks for the help. I will work on it with Code::Blocks and see if I can beat this code into submission.
What is a good compiler to use because I am thinking the one I have may not be sufficient. The compiler I currently have is called Miracle C.