here is an update I am at least writing to file now. except my output is MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA and so on.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include...
Type: Posts; User: 1BadRbt
here is an update I am at least writing to file now. except my output is MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA and so on.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include...
okay here is an update :)
i guess my loop writing is very week.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
yes i was being dumb with that.
I program in the AML language for robotics and doing that at work all day and trying to switch to C for school sucks.
Luckily this assignment isn't graded but i...
Is this any better?
I am still getting an error at my if statement. I was unfortunately given the worst textbook on earth which provide no examples which relate anything to our assignments both...
Thanks again ahead of time.
I am looking to write a program that opens a text file, takes the text and converts all characters (excluding special and numbers) to capital letters.
I am unsure...
Here is the question posed.
Create a structure that has one variable called value and one pointer to the list (making it a linked list). Prompt for 5 values from the keyboard as input and store...
I really appreciate your help. I am going to try it once i get home from work. I really really do appreciate it.
here is the question i am sorry i forgot to post
# Write a C program that accepts a month and day (for example, June 14) from the keyboard as input. Store this information in one string called...
Here is what I got and I keep getting kicked out of the program I am missing an endless loop or buffer overflow somewhere.
#include <stdio.h>
#include <stdlib.h>
void seperate(char *date);...
can you show me an example I already turned in the assignment cvause that sloppy crapola I put up fulfilled the assignment.
Just curious I guess since it is 2:45am I may be a lot confused.
Nevermind here is the solution for all :) glad I helped myself, with some help from someone.
Part A
#include <stdio.h>
#define nums 7
void display(int *);
int main()
now i did part a of the assignment and unsure on part b.
i rewrote code after watching a few videos
here is the improved code.
#include <stdio.h>
#define nums 7
metalgod you can answer some of mine for fun.
I am glad there are better progammers out there than myself :) Otherwise this class I am taking would suck.
I am not sure where my problem is but here is the question asked of me and what I have so far.
I can get 2 to display however the rest seem to be non existant.
# Write a C program that has a...
I know this program works but is there a way to shorten the code rather than run a sum for each row and column and get to accomplish the display I have accomplished?
#include <stdio.h>
#define...
you guys were totally helpful and i understand it a heck of a lot better now.
I appreciate everyones help and even wrote a second program for each idea.
I did not copy and turn in the completed...
here is the final code that worked. I appreciate the help. You guys got a good place to learn pointers?
if i understand in the prototype of the function and the actual header line i am pointing...
Here is a new program more organized.
Let me know where I went wrong I may not be sending the info to the change function I am unsure where my information breakdown is.
#include <stdio.h>...
#1 Changed them all to float
#2 changed to your example
#3 I thought by it making a first call second call third call i had to direct to the function redeclaring the total values
#4 not sure what...
compiler errors.
Okay first of all thank you for looking at this I know HW questions can be pain staking.
Here is the question posted and i did searches in the forum and with no results to help.
Write a C...
It is a requirement for the degree is all. I chose it a class due to my limited linux and programming skills and needing to learn more about programming languages. Plus learning BASIC was not really...
yeah i appreciate the help
the isdigit i assume detects if it is an actual interger.
I could make it more compact however it was the display as a word which got me.
I hope by me providing...
here is the question posed.
# Ask the user to enter a digit between 0 and 9. Have the program print out the digit in words, for example:
Enter a digit between 0 and 9: 4
You entered the number...
apologize about the cross post but i did not have problems answering the questions I was just doing a cover my @$$ type deal since i will be shelling over 184 dollars.
I appreciate the answers...