Search Results

Showing results 1 to 18 of 18
Search took 0.01 seconds.
Search: Posts Made By: BestJewSinceJC ; Forum: C and child forums
Forum: C Nov 4th, 2009
Replies: 9
Views: 510
Posted By BestJewSinceJC
no problem. If you want to go that route, I don't see how he could be upset. There are a lot of tutorials online on how to use structs.
Forum: C Nov 4th, 2009
Replies: 9
Views: 510
Posted By BestJewSinceJC
Please don't PM daniweb members. Personally I don't mind, but in general, that is the rule here. If people want to help they will respond in your thread. Regarding your PM, if your professor...
Forum: C Nov 4th, 2009
Replies: 9
Views: 510
Posted By BestJewSinceJC
My advice was to not use a 4 dimensional array when one is not needed. In fact my claim is that using a 4d array in this case is not good programming. If you were to declare a 2d array with this...
Forum: C Nov 4th, 2009
Replies: 9
Views: 510
Posted By BestJewSinceJC
You should switch to using a struct to represent your ticket class, destination, seat, and time. . All four of those things are obviously related data. You're only going to cause yourself headache...
Forum: C Nov 3rd, 2009
Replies: 10
Views: 640
Posted By BestJewSinceJC
If an alternate approach helps at all: strstr in this case, since it returns "a pointer to the located string (or null ptr if it isn't found)" you can (hypothetically) read your entire file into an...
Forum: C Oct 26th, 2009
Replies: 1
Views: 171
Posted By BestJewSinceJC
Nobody is going to do your homework for you. You will only receive help here if you show effort on your assignment.
Forum: C Aug 16th, 2009
Replies: 22
Views: 1,142
Posted By BestJewSinceJC
"What I am not checking for is a character response."

You can look into ASCII character values; in order to make sure that something is an integer (or is not a character), you would compare the...
Forum: C Jul 6th, 2009
Replies: 13
Views: 827
Posted By BestJewSinceJC
I don't know very much C programming but I am pretty good at google. http://www.elook.org/programming/c/strtok.html
Forum: C Jun 26th, 2009
Replies: 36
Solved: Idea
Views: 1,340
Posted By BestJewSinceJC
What the poster above posted might look confusing, but what he is saying is a good way of doing this: Each String in the array will be the "name" of the index it is at. So index 0 of the array is...
Forum: C Jun 19th, 2009
Replies: 12
Views: 817
Posted By BestJewSinceJC
edit lol I realized I was wrong.
Forum: C May 31st, 2009
Replies: 5
Solved: File pointers
Views: 600
Posted By BestJewSinceJC
And to clarify the '&' issue, if it wasn't already, the scanf function needs to know what the address of something is, and the '&' is the address of operator. Since the pointer already contains the...
Forum: C Dec 31st, 2008
Replies: 11
Views: 1,060
Posted By BestJewSinceJC
It's not necessarily better style/design. And if the job of one function requires another function, then you should call the other function within the first function. You shouldn't use main to do it....
Forum: C Nov 21st, 2008
Replies: 23
Views: 3,306
Posted By BestJewSinceJC
His post was still a personal attack - a personal attack is judged by intent, regardless of whether there's "meant to be a lesson" in it. I agree with you that my comment was unnecessary and I wish I...
Forum: C Nov 21st, 2008
Replies: 23
Views: 3,306
Posted By BestJewSinceJC
Actually, it was you who went on a personal attack with your above comment about never passing a programming course. If you aren't prepared to take it, don't dish it out.
Forum: C Nov 21st, 2008
Replies: 23
Views: 3,306
Posted By BestJewSinceJC
You've obviously never had friends.
Forum: C Nov 15th, 2008
Replies: 23
Views: 3,306
Posted By BestJewSinceJC
The reason I'd code it w/o a loop is because it would take less time to hard code a few lines of '*' rather than spend time to think about the pattern then write loops based on it. The code to write...
Forum: C Nov 15th, 2008
Replies: 23
Views: 3,306
Posted By BestJewSinceJC
There are a lot of ways you could produce that code using while loops or for loops, but most of them should not be coded using a while loop or for loop, unless your teacher is trying to make you use...
Forum: C Nov 4th, 2008
Replies: 4
Views: 534
Posted By BestJewSinceJC
Identify the portion of the code that isn't working and explain what it is supposed to do and I will gladly try to help you. Also, if we're supposed to identify your problem based on that 100 lines...
Showing results 1 to 18 of 18

 


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

©2003 - 2009 DaniWeb® LLC