代码搜索结果
找到约 231,314 项符合
C 的代码
c
#include
void main(void)
{
extern int tip_count;
extern char *title;
void show_title(void);
printf("The number of tips is %d\n", tip_count);
printf("The book'
c
#include
void display_and_change(int *first, int *second, int *third)
{
printf("Original function values %d %d %d\n",
*first, *second, *third);
*first += 100;
*seco
c
#include
#include
float add_em(long int a, float b)
{
float result;
result = a + b;
return(result);
}
void main(void)
{
long int i;
float
c
#include
#include
int string_length(const char *str)
{
if (*str)
return(1 + string_length(str+1));
else
return(0);
}
void main(void)
{
long int
c
#include
void no_change(const char *string)
{
while (*string)
*string++ = toupper(*string);
}
void main(void)
{
char title[] = "Jamsa's 1001 C/C++ Tips";
c
#include
#include
int string_length(const char *str)
{
int length = 0;
while (*str++)
length++;
return(length);
}
void main(void)
{
long in
c
#include
void unknown_title(void)
{
printf("The book's title is %s\n", title);
}
char title[] = "Jamsa's 1001 C/C++ Tips";
void main(void)
{
printf("Title: %s\n", titl
c
#include
int factorial(int value)
{
if (value == 1)
return(1);
else
return(value * factorial(value-1));
}
void main(void)
{
int i;
for (i = 1; i
c
#include
int factorial(int value)
{
printf("In factorial with the value %d\n", value);
if (value == 1)
{
printf("Returning the value 1\n");
return(1);
c
#include
int get_maximum(int, int);
void main(void)
{
int result;
result = get_maximum(100, 200);
printf("The larger value is %d\n", result);
}