Search Results

Showing results 1 to 40 of 59
Search took 0.01 seconds.
Search: Posts Made By: nelledawg
Forum: C Jun 27th, 2008
Replies: 16
Views: 1,325
Posted By nelledawg
Where the hell else would I have gotten this code from? I come on here for help and instead get a bunch of people arguing and some jerk telling me that I didn't write the code just because I'm...
Forum: C Jun 24th, 2008
Replies: 16
Views: 1,325
Posted By nelledawg
Ok but when I put the arguments in I get even more errors.

Ex:
case 2: total_sales(double *m, char **cal, int c); break;

I just don't know how I'm supposed to put the arguments in the case...
Forum: C Jun 24th, 2008
Replies: 16
Views: 1,325
Posted By nelledawg
Ok so here is the code I've written already, as well as the errors I get when I try to build. Please help me figure out what the problem is!



#include <stdio.h>
#include <stdlib.h>
#include...
Forum: C May 28th, 2008
Replies: 3
Views: 976
Posted By nelledawg
Ok well, I did a little research and duh, forgot about system("pause") AND getch()!

Which would be more acceptable to use?
Forum: C May 28th, 2008
Replies: 3
Views: 976
Posted By nelledawg
Hey guys, this is a really basic question but I can't figure out how to answer it! I wrote a program for users to input product price, quantity, etc. After getting the input the program displays...
Forum: C May 7th, 2008
Replies: 1
Views: 361
Posted By nelledawg
Hi guys, I have been working on this for 13 hours straight now, and I am going out of my mind. I have a final due tonight and I cannot figure this out at all. The program is basically a product...
Forum: C May 7th, 2008
Replies: 12
Views: 1,016
Posted By nelledawg
Okay so I made a bunch of changes and now I'm getting the data into the file and displaying the report but it is completely messed up. The description won't display properly, the values get all...
Forum: C May 7th, 2008
Replies: 12
Views: 1,016
Posted By nelledawg
Come on everyone, help a girl out... I really need to figure out what I'm doing wrong or I'm gonna blow it when I do my final program :(

P.S. I didn't mean to imply that you should help me...
Forum: C May 7th, 2008
Replies: 12
Views: 1,016
Posted By nelledawg
Alright, worked on it for a while and sort of did the report() function but I don't think it's quite the right way, and none of the values are showing up right.


// ** Prototypes **
void...
Forum: C May 6th, 2008
Replies: 12
Views: 1,016
Posted By nelledawg
Oh wow awesome, thanks!

So now I am starting with fresh code (or rather the error-free code from my previous lab). Now I am editing this lab using struct and binary record to accept the...
Forum: C May 6th, 2008
Replies: 12
Views: 1,016
Posted By nelledawg
Alright so it looks like I'm still getting an error... When I select 5 to quit and it asks if I'm sure, if I type "Y" it breaks and I get a window that says "Unhandled exception at 0x1029984f...
Forum: C May 6th, 2008
Replies: 12
Views: 1,016
Posted By nelledawg
Alright the limits file wasn't working because it got moved out of the lab folder. so now this whole code works and I just need to use a structure and binary record to make the report() function.
Forum: C May 6th, 2008
Replies: 12
Views: 1,016
Posted By nelledawg
Good lord I'm so confused lol. What part of my version was wrong? I'm supposed to use different quotes? Where in the world are they? lol. It's finals week and I'm exhausted heh.

As far as the...
Forum: C May 6th, 2008
Replies: 12
Views: 1,016
Posted By nelledawg
I thought

fp = fopen(“data.dat”, “ab”);

was the right way to code it. It's what my teacher wrote in our lecture.

What do you mean when I have something useful make a copy of it? I'm...
Forum: C May 6th, 2008
Replies: 12
Views: 1,016
Posted By nelledawg
Okay so I'm pretty sure I've completely destroyed this code. All I'm trying to do is send the user-inputted product info into a binary file to display when the user chooses the report option from...
Forum: C Apr 24th, 2008
Replies: 6
Views: 616
Posted By nelledawg
Yeah I saw that and fixed them. I still get a stupid error every time I put in a number that is outside of the range though.
Forum: C Apr 24th, 2008
Replies: 6
Views: 616
Posted By nelledawg
Wow, that was a lot easier than I thought it would be! The only problem I'm having now is that when I do input a number that is not in the range, I get a fatal error. Here are the functions I am...
Forum: C Apr 23rd, 2008
Replies: 6
Views: 616
Posted By nelledawg
Sorry I took so long to respond. I watched someone get shot in the head and killed the other night and I've been having a really hard time getting anything done...

That's awesome to know that...
Forum: C Apr 18th, 2008
Replies: 6
Views: 616
Posted By nelledawg
I am so incredibly frustrated right now. I have seriously been sitting here for hours trying to figure out how to validate program input using ranges from a text file. My teacher gives us a lecture...
Forum: C Apr 12th, 2008
Replies: 5
Views: 561
Posted By nelledawg
Thanks, I'm gettin there. Still just confused though because I'm not sure how to get rid of the infinite loops. My brain is exhausted. This is what I have:


#include <stdio.h>
#include...
Forum: C Apr 12th, 2008
Replies: 5
Views: 561
Posted By nelledawg
Wow, you're right. I'm just having a really hard time focusing on this assignment. Close friend died a few days ago so things have been chaotic. I usually at least understand the basic stuff! I...
Forum: C Apr 12th, 2008
Replies: 5
Views: 561
Posted By nelledawg
Hi guys, I've got the code all written but there are a ton of runtime errors that need to be fixed, mainly with calculations and inputting data into the array. I also need to use pointers when...
Forum: C Apr 11th, 2008
Replies: 7
Views: 1,267
Posted By nelledawg
The thing I can't figure out is why I'm getting these errors in the switch menu() function. I thought I was supposed to just put exactly what I had written in the prototype as the parameters. The...
Forum: C Apr 11th, 2008
Replies: 7
Views: 1,267
Posted By nelledawg
Can anyone help me with this? I'm stressing out so much because I can't get it to work and it's due at midnight. I've been up since yesterday trying to figure it out while I'm not at work, and I'm...
Forum: C Apr 11th, 2008
Replies: 7
Views: 1,267
Posted By nelledawg
yeah the whole scores[101] thing is confusing me. Don't know when to use it! As far as count goes, it says to receive the array and count in each function... I assumed this meant the count that I...
Forum: C Apr 11th, 2008
Replies: 7
Views: 1,267
Posted By nelledawg
Yeah I'm extremely confused about the whole thing. I finished writing the code and Im only getting 5 errors but I have a feeling it's not going to work out at all the way it's supposed to. To make...
Forum: C Apr 11th, 2008
Replies: 7
Views: 1,267
Posted By nelledawg
K just to clarify the problem I'm having, I'm trying to call getgrades(), showgrades(), etc. from the menu, but it keeps giving me errors regarding the parameters. The original parameters I had for...
Forum: C Apr 11th, 2008
Replies: 7
Views: 1,267
Posted By nelledawg
Hey guys, I'm trying to work on this switch menu and I'm not sure how to call a function with parameters from a case statement. Here is the code for my program so far (not finished with the actual...
Forum: C Apr 7th, 2008
Replies: 13
Views: 1,236
Posted By nelledawg
yeah... it did work for me... is it actually wrong or no? And thanks for at least correcting your unnecessarily terse response ;)
Forum: C Apr 5th, 2008
Replies: 13
Views: 1,236
Posted By nelledawg
Well I just meant as far as syntax goes. It all worked for me but I'm having a hard time understanding the concept of pointer syntax because I feel like it was too easy!
Forum: C Apr 4th, 2008
Replies: 13
Views: 1,236
Posted By nelledawg
Hey guys, thanks for your help. Sorry for taking so long to respond... Been very sick this week! So here is what I have for the pointer syntax on those two functions. Let me know if you see...
Forum: C Mar 29th, 2008
Replies: 13
Views: 1,236
Posted By nelledawg
I meant firstUpper().
Forum: C Mar 28th, 2008
Replies: 13
Views: 1,236
Posted By nelledawg
Hi guys,

Ok so I need to use pointer syntax for the functions init-costs(), show-costs() and toUpper() in the following code. I'm still working on the first two, but I'm curious as to what needs...
Forum: C Mar 14th, 2008
Replies: 13
Views: 1,159
Posted By nelledawg
Sorry, I should have let you know I actually got it riiiight after I posted last time. Thanks a lot for your help!

As far as writing the program goes, it's for my C Programming Class and it has...
Forum: C Mar 14th, 2008
Replies: 13
Views: 1,159
Posted By nelledawg
I add that but then it still doesn't capitalize the first letter of each word inputted. What am I missing? I think I have to call the firstUpper() function after the gets(prodscrip) part, right?
...
Forum: C Mar 14th, 2008
Replies: 13
Views: 1,159
Posted By nelledawg
Alright, I'm still totally confused. I don't know where that is supposed to go since it is getting the string from user input during multiple functions. Here is what I have and every time I run it...
Forum: C Mar 14th, 2008
Replies: 13
Views: 1,159
Posted By nelledawg
Ok that does make sense, but now the only thing that doesn't make sense to me is where I'm supposed to call that function to change the case of each word... Here's what I have:



// **...
Forum: C Mar 14th, 2008
Replies: 13
Views: 1,159
Posted By nelledawg
Hi guys,

Okay so this time I need help with string input. I have the whole program (yet again) but I just need to figure out how to change letters of user input to redisplay them. The code is...
Forum: C Mar 7th, 2008
Replies: 6
Views: 505
Posted By nelledawg
Alright, I got it! Thanks a lot for your help, guys!

Here is the working code:




#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
Forum: C Mar 7th, 2008
Replies: 6
Views: 505
Posted By nelledawg
Yeah, I saw that and fixed it. Here is the code I have now... I run the program and it goes all the way through the first show() function, then at the continue prompt I press 'n' and it shows the...
Showing results 1 to 40 of 59

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC