#I know its a C++ server but I have a Culminating assingment in C that I need help for.

51 messages ยท Page 1 of 1 (latest)

supple plover
#

All the members seem pretty nice and I hope I get the help I need. It's due in few days am i'm really stuck.

#

In a bit I will upload the instructions of the C programming Culiminating Assignment.

#

Here's the PDF file for it. This assignment is broken into 3 milestones. This is the 1st milestone that the professor has released. (milestones means parts its divided into).

#

Here's the pictures of the PDF instructions. ^^^^In case the pictures are not readable that you can access the pdf too.

#

Now that's all for the instructions.
This is the expected output I will upload here that I need to produce by coding in C. I have to submit my code through the matrix submitter software which is gonna be a headache later lol.

#

i'm having difficulties creating a core.h and core.c file since these two files aren't provided with starter code by professor.
However professor has given us starter code for a1ms1.c file

fiery yoke
supple plover
#

core.h and core.c file instructions I'm entirely clueless on.

#

I don't want to use ChatGPT for this cuz I can't afford to get in trouble by the professor and fail the course.

fiery yoke
#

@supple plover Try it yourself and then send the core.c and core.h and let us know where we can exactly help

#

Also, im not sure if we should help you with a assignment thats worth 20% of your final grade

#

Please try it youself and if you face problems then we can help ๐Ÿ™‚

quiet lodge
#

which should give that sample output

#

if im reading it correctly

supple plover
#

I don't know what to write for core.c and core.h

#

I need help every step of the way ๐Ÿ˜ฆ

quiet lodge
quiet lodge
supple plover
#

so for core.h

#

like this

#

#define CORE_H

// Function prototypes
void clearInputBuffer(void);
void suspend(void);
int inputInt(void);
int inputIntPositive(void);
int inputIntRange(int lowerBound, int upperBound);
char inputCharOption(const char* validChars);
void inputCString(char* str, int minLength, int maxLength);
void displayFormattedPhone(const char* phoneNumber);

#endif // CORE_H

#

is this right or no?

quiet lodge
#

something like that

supple plover
quiet lodge
#

then run a1ms1

supple plover
quiet lodge
#

dont think so

supple plover
#

Oh ok. Now what do I do for core.c file. I'm really lost

forest bone
forest bone
supple plover
#

Also do I need to add lines of code in a1ms1.c file or just leave it as it is?

forest bone
#

your professor wrote this

#
// +---------------------------------------------------------+
// | *** The contents of this file is NOT to be modified *** |    
// +---------------------------------------------------------+
//
//                         HOWEVER....
//
// In the development of your solution, you can...
// -----------------------------------------------
// - Comment the lines of code which call a function you have not yet developed
//   (See each tester function definition to see where you can do this)
// - Uncomment the lines of code previously commented to return the file to its
//   original state so you may fully test your solution.
// 
// ############################################################################
supple plover