I am using C::B. But that's not really important. I may not have all the stuff I need or something.
mike_g, I don't understand that code. What is that % operator doing? I need to divide a...
Type: Posts; User: CodeGeek20
I am using C::B. But that's not really important. I may not have all the stuff I need or something.
mike_g, I don't understand that code. What is that % operator doing? I need to divide a...
I have two questions. One, the odds of me getting my hands on source code that I actually care about that was written in Code::Blocks are two small to calculate. Such the case, I cannot open a...
What's if(found) for? There's no conditional check.
-CG20
I guess this stuff is preprogammed then, forgive me, I haven't worked with calendar programs.
I would, however, write a function to go to the 0 element of tmp_mon, and set it to upper case. You...
This looks to me like it's just checking to make sure the month designations are right and then assigning some value to them. I haven't been programming for long, so please tell me, are those...
Um, what's this doing? What is result, there's no type with it? How do you assign an int, 2, to a chartype var, name? Result looks like it need to be declared with type int. What are you trying...
I'm wanting to learn C here, but the tutorials are not all ported, though it says they will be soon. Is that true, or is the website really dead and this is how it always will be? And if they are...
This was given as an example of recursivity. It prints 123456789987654321.
#include <stdio.h>
void printnum ( int begin )
{
printf( "%d", begin );
if ( begin < 9 ) /*...
What's the difference, in functions like fopen()
fopen(const char *filename, const char *mode)
and functions without const, between a char and a const char or const int and the like? ...
I have three questions here. First, function prototypes such as
void strip_newline(char *str, int size) {} appeared out of nowhere, so this is my question about that: What does the * mean, and...
Oh, and yeah, what I meant to do.
I wanted to have it return the appropriate word when the word type (verb, noun1) was entered.
I had some homework, and I thought I'd write a quick program to...
I don't understand that code, I haven't finished the C tutorials yet. :D
I tried to use a bunch of if()'s at one time, however it only printf()'d my prompt, and when I entered anything, rather than...
I don't need this program anymore, but it still makes me mad. I tried it with a low of if and else if statements, and now I've tried this switch case, and neither worked. Any help?
#include...