User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 402,569 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,301 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 59
Search took 0.01 seconds.
Posts Made By: nelledawg
Forum: C Jun 26th, 2008
Replies: 16
Views: 685
Posted By nelledawg
Re: Need help with struct records!

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: 685
Posted By nelledawg
Re: Need help with struct records!

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: 685
Posted By nelledawg
Need help with struct records!

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: 374
Posted By nelledawg
Re: Really quick question on how to keep the cmd window from force closing...

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: 374
Posted By nelledawg
Really quick question on how to keep the cmd window from force closing...

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: 227
Posted By nelledawg
Having trouble displaying output of binary file

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: 418
Posted By nelledawg
Re: Struct and binary files...

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: 418
Posted By nelledawg
Re: Struct and binary files...

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 because...
Forum: C May 6th, 2008
Replies: 12
Views: 418
Posted By nelledawg
Re: Struct and binary files...

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: 418
Posted By nelledawg
Re: Struct and binary files...

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: 418
Posted By nelledawg
Re: Struct and binary files...

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: 418
Posted By nelledawg
Re: Struct and binary files...

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: 418
Posted By nelledawg
Re: Struct and binary files...

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: 418
Posted By nelledawg
Re: Struct and binary files...

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: 418
Posted By nelledawg
Struct and binary files...

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 23rd, 2008
Replies: 6
Views: 324
Posted By nelledawg
Re: Validate range from text file

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 23rd, 2008
Replies: 6
Views: 324
Posted By nelledawg
Re: Validate range from text file

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: 324
Posted By nelledawg
Re: Validate range from text file

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 I'm...
Forum: C Apr 18th, 2008
Replies: 6
Views: 324
Posted By nelledawg
Validate range from text file

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: 255
Posted By nelledawg
Re: Need help with pointers, arrays!

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: 255
Posted By nelledawg
Re: Need help with pointers, arrays!

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: 255
Posted By nelledawg
Need help with pointers, arrays!

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: 302
Posted By nelledawg
Re: Switch menu help

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: 302
Posted By nelledawg
Re: Switch menu help

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: 302
Posted By nelledawg
Re: Switch menu help

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: 302
Posted By nelledawg
Re: Switch menu help

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: 302
Posted By nelledawg
Re: Switch menu help

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: 302
Posted By nelledawg
Switch menu help

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: 633
Posted By nelledawg
Re: Help with pointer syntax...

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 4th, 2008
Replies: 13
Views: 633
Posted By nelledawg
Re: Help with pointer syntax...

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: 633
Posted By nelledawg
Re: Help with pointer syntax...

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: 633
Posted By nelledawg
Re: Help with pointer syntax...

I meant firstUpper().
Forum: C Mar 28th, 2008
Replies: 13
Views: 633
Posted By nelledawg
Help with pointer syntax...

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 to...
Forum: C Mar 14th, 2008
Replies: 13
Views: 621
Posted By nelledawg
Re: Capitalize letter in string to output... Should be a pretty easy solution!

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: 621
Posted By nelledawg
Re: Capitalize letter in string to output... Should be a pretty easy solution!

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,...
Forum: C Mar 14th, 2008
Replies: 13
Views: 621
Posted By nelledawg
Re: Capitalize letter in string to output... Should be a pretty easy solution!

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: 621
Posted By nelledawg
Re: Capitalize letter in string to output... Should be a pretty easy solution!

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:



// ** Prototypes...
Forum: C Mar 14th, 2008
Replies: 13
Views: 621
Posted By nelledawg
Capitalize letter in string to output... Should be a pretty easy solution!

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: 246
Posted By nelledawg
Re: Array problem...

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: 246
Posted By nelledawg
Re: Array problem...

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

 
All times are GMT -4. The time now is 10:11 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC