No, I am still here. I am new to programming. I wasn't sure how to incorporate those into a program. It would take a lot of time to figure that part out. :)
Type: Posts; User: cougarsmustangs
No, I am still here. I am new to programming. I wasn't sure how to incorporate those into a program. It would take a lot of time to figure that part out. :)
Thank You!!! I really appreciate your help kmdv.
Thank You so much!! it does make sense.
Would you help me with this one: For a student information system the following data structures are in place:
struct personal {
int studentID;
int...
1. Consider the following portion of a C program:
void someFunc(int sizeOfArray, float array[]); // Prototype
float anArray[12];
float x;
float* pf = &x;
Thank you so much!!! That worked like a charm. You are the best.:redface:
Here is my program to look up words. How do I use character pointers instead of using arrays?
#include <stdio.h>
struct entry
{
char word[15];
_____ int student[] = {1, 2, 3, 4};
_____ int student[];
_____ int student[4] = {1, 2, 3, 4};
_____ int student[5] = {1, 2, 3, 4};
am i on the right track? I compiled this and its still showing pretty much the same errors
#include <stdio.h>
int dt;
struct date
I compiled it and its still showing errors:
$ vim ex9.5.c
how about now?
#include <stdio.h>
struct date
{
int month;
my attempt: (but the compiler is showing many errors which i couldn't seem to figure out)
#include <stdio.h>
struct dateAndTime clockKeeper (struct dateAndTime dt)
Question: Write a function called clockKeeper that takes as its argument a dateAndTime structure. THe function should call the timeUpdate function, and if the time reaches midnight, the function...