I am incredibly new to c# and am just learning to work with queues and stacks. I have created a simple queue of nintendo games and used the Enqueue and Dequeue for practice. How can I copy this queue...
Type: Posts; User: rpmischris
I am incredibly new to c# and am just learning to work with queues and stacks. I have created a simple queue of nintendo games and used the Enqueue and Dequeue for practice. How can I copy this queue...
cool thanks all.
This is simple but I would like others input; I have created a struct for: name, zip, address, date, authors, publishers, isbn, and the struct book which ties all of my structs together.
I feel...
I am writing a function which passes a score and returns a letter grade based on the score. Real simple stuff. However I cannot seem to understand what to do with a score that is less than 0 or...
lol nevermind.. I just had a severe brain fart.
lol what does that mean?
Here is my function:
void Display_Info(clock_num, wage_rate, clock_hours, overtime_hours, gross_pay)
{
int count; /* Variable used for loop counter */
/* Create table to...
Try a bubble sort:
#include <stdio.h>
#define SIZE 6
void sort(int *array, int size);
11979
Flowers sent ^^^^^^
Hey well whaddya know... it works. I think the way you put it is more elegant and more easier to read and that is the objective.
Hey Thanks much and if I can rep you or whatever on this forum, let...
so in the else I am going to put the overtime and overtime_pay variable and initialize them to 0. Correct?
I guess I am not quite following what you are saying. Anyway to make it more simpler? lol
Thanks for pointing this out Matticus!!!
ooooo... you are right. How would I go about re initializing overtime? Please forgive me as this is for my first ever programming class and I have only been programming a few weeks.
Would I just...
I guess I don't understand how to do what you are saying. Each time I compile and run the code I get my desired result. Please Expound
Fantastic idea- I didn't even think of this as I wanted to make it harder for myself. Also, I realize %i is base 8 but I didn't really think it mattered too much in this instance.
As part of my code requirements I am suppose to define at least one more constant but for the life of me I cannot figure out where in my code I would. Go ahead I guess, Pick my code apart but please...
Below is my code for a beginning type project. I am asking for help with defining constants. What other constants can I include or what variables can I change to constants. I have muddled over this...
I got through an intro to java course just fine but it wasn't very thorough and was more of a learn through control/data structures course. So the course was in java but more or less just a...
Thanks for some awesome advice. I will hold off on it until I get further in my course and have more of an understanding of the basics of C.
Ya, you do sound rude but I understand what you are getting at. I found this in an introduction to java program example and just figured it to be simpler than how you put it. Thanks, I will just keep...
I am trying to convert the following program to C and actually understand it. This is an introductory type program for the beginner that is me. In my intro to C class we have just barely got to if...