|
 |
|
 |
05-31-2005, 04:03 PM
|
#47 (permalink)
|
|
Regular Contributor
Join Date: Dec 2003
Location: Mary Esther, FL
Posts: 189
|
You are truely helpful, iccaros. Guess I'm an old dog that doesn't want to learn new tricks. It's hard to unlearn the old ways when you've been using the same compiler ten years after its' expiration date!roll;
Oh well. A frog's gotta do what a frog's gotta do!
RIBBIT!!!
Thanks again for the assist!
|
|
|
05-31-2005, 04:09 PM
|
#48 (permalink)
|
|
Regular Contributor
Join Date: Dec 2003
Location: Mary Esther, FL
Posts: 189
|
Gah! As usual, I forget to complete my thoughts.
I see some folks zip together multiple source code and name them like header or include files. Does this mean, for example, that I can write the clear screen code in a separate file and get the compiler to use it when called for?
How is this accomplished? Awe, ya'll know what I'm asking... Who, what, when, where, blah, blah...
|
|
|
05-31-2005, 06:01 PM
|
#49 (permalink)
|
|
Regular Contributor
Join Date: Dec 2003
Location: Mary Esther, FL
Posts: 189
|
Blast it all! Valmont even warned me of this! I just realized that I'm still using the C form of include. "#include<conio.h>" instead of the C++ "#include<conio>. Old habbits ARE hard to break. Thought I'd post this to help other folk caught in my situation.
I'm still going through the "re-write" that iccaros posted, I'm sure there are other foolish mistakes on my part.
Thanks all!!!
|
|
|
05-31-2005, 06:22 PM
|
#50 (permalink)
|
|
Regular Contributor
Join Date: Dec 2003
Location: Mary Esther, FL
Posts: 189
|
Quote:
|
Originally Posted by iccaros
Code:
void test(){}
void multitest(){}
|
Hope I got the QUOTE thing right. iccaros, I just noticed this at the end of the code post you did. I'm lost here and don't know what to ask. What is this?
|
|
|
05-31-2005, 08:29 PM
|
#51 (permalink)
|
|
Registered User
Join Date: Apr 2005
Posts: 24
|
you had funtions that did not exsiste.. so I created empty funtions so the program would compile.. if you call a funtion.. and then do not crete the funtion.. it gives a linker error.
so alls I did was take the funtions you call in your prototypes and create them as empty so you can fill them in..
as for your clear_screen question..
it should be put into a config file that is called with automake. I'm not sure how windows programs are built.. I mostly work on Unix and Linux machines.. I guess you could create a header called clear screen, but I only use this for down anf dirty learning. if I make a real app I use ncourses to control the screen in a console and I for windows there are headers to do so.. then you use the confige file to build in the correct funtion.. I guess you can use ncourses with windows also .. but I'm not sure how.. still learning and all. I havent programed in a non scripting language for 10years, and I'm trying to learn.. so If I find out a better way I'll let you know.
I'm glad i can help , even just a little ... it helps me learn better.
|
|
|
05-31-2005, 08:32 PM
|
#52 (permalink)
|
|
Registered User
Join Date: Apr 2005
Posts: 24
|
this is where you had calls to the funtions in your program.. as I said, I just added both funtion prototypes and blank funtions to allow it to compile.
Code:
//TEST MENU
break;
case 2:
test();
break;
case 3:
multitest();
break;
|
|
|
06-07-2005, 06:32 PM
|
#53 (permalink)
|
|
Regular Contributor
Join Date: Dec 2003
Location: Mary Esther, FL
Posts: 189
|
Just in case ya'll were wondering where I vanished to, I found out that I MYSELF have a test. I take it tomorrow, too bad I didn't get a chance to use this program. Ah well, I'm sure I'll have something to study for in the future so I can experience this program myself. My roomie laughed her tail off, saying that if I didn't have bad luck then I wouldn't have any luck at all. Ho hum...
Any how, time is not on my side so I must depart back to the world of two dimensonal black and white text printed upon low quality paper. (Which blots terribly.)
I'll be back...
|
|
|
06-19-2005, 01:33 PM
|
#54 (permalink)
|
|
Regular Contributor
Join Date: Dec 2003
Location: Mary Esther, FL
Posts: 189
|
Finally back! They messed up my test date and rescheduled me. Sadly, I still only made an 85, I was shooting for a 90-95. That said, now I gotta figure where I left off in the program. (Ah... the crunching of a keyboard!)
|
|
|
07-14-2005, 07:34 PM
|
#55 (permalink)
|
|
Regular Contributor
Join Date: Dec 2003
Location: Mary Esther, FL
Posts: 189
|
Geez! If it ain't one thing it's another. We survived hurricane Dennis with only a slightly blown over fence. Also, I'm finally using my main computer, so I just need to transfer stuff between systems then it's back to keyboard crunching!
|
|
|
08-08-2005, 05:29 PM
|
#56 (permalink)
|
|
Regular Contributor
Join Date: Dec 2003
Location: Mary Esther, FL
Posts: 189
|
Valmont, I know you helped me with a compiler problem like this before, I just can't find your old posting. Using the DevC++ compiler, how do I make sure it is linking to libraries propperly? I tried to even copy and paste the code iccaros supplied earlier (which I know worked before I switched back to my main computer) and got a but load of errors. I must have a library problem or the like. I'm tired of getting no where, please set me straight.
|
|
|
08-13-2005, 06:29 PM
|
#57 (permalink)
|
|
Regular Contributor
Join Date: Dec 2003
Location: Mary Esther, FL
Posts: 189
|
Dead end I guess. Well, it's been fun but I assume the book is now closed. Forgive my existence.
Bye.
|
|
|
08-14-2005, 07:52 AM
|
#58 (permalink)
|
|
[code][/code] enforcer
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
|
What are you talking about man with your dead end. If I don't reply then it means I am busy. If you or anyone would like my attention for a specialized problem then create a new thread with my name in it just to make sure I didn't miss it. Like I said I am busy and may miss things here and there. In the end I am a simple human after all.
Note that only thing I don't like is lazyness. None of you can ever insult me or anything so feel free to adress me freely  .
Now what's up with your compiler thing and what do you want to achieve. Let's see how fast we can solve your problem(s)...
__________________
|
|
|
08-15-2005, 07:05 PM
|
#59 (permalink)
|
|
Regular Contributor
Join Date: Dec 2003
Location: Mary Esther, FL
Posts: 189
|
Oops! I didn't mean it like that. I only mean that this old dog can't seem to learn new tricks. I keep stumbling on the same damn blocks. I think I need to just step back and degausse. As someone who teaches I believe you can understand the intolerable frustration when all you do reeks of stupid mistakes. Heck, I can't even get a compiler I've used often to work correctly. Sadly things at work are going straight to heck.
But this is a programmers forum, not a therapy forum.
I guess it all adds up over time...
It's like I said before, "I can follow and read nearly every line of code here, but I can't seem to implement it."
I will be back, but not before I can fully utilize a simple DevC++ compiler library and the propper C++ calls.
Yes, I'm depressing, but at least I might find a new avatar to my liking by then also.
See ya'll!
|
|
|
08-15-2005, 07:38 PM
|
#60 (permalink)
|
|
Regular Contributor
Join Date: Dec 2003
Location: Mary Esther, FL
Posts: 189
|
Sorry Valmont, I've got a bunch of hard balls nailing me between the eyes at work is the solid truth. My own mistakes and those of my troop are compounding into a paperwork funeral for me. Please don't think I'm annoyed with you, I am human also and have failed to seperate work from home lately. If nothing else, the military is good at destroying people with out weapons.
"The pen is mightier than the sword."
How true this rings for one who has struggled to climb from a shady past, to behold the bright future, which suddenly was yanked from their fingertips.
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -8. The time now is 05:04 AM.
|
Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting
|
 |
|