|
 |
|
 |
 |
|
11-19-2007, 02:42 PM
|
#16 (permalink)
|
|
Regular Contributor
Join Date: Dec 2003
Location: Mary Esther, FL
Posts: 188
|
Oops, you are correct, I just remembered that I used to use the <print screen> to send the little bit of output to a printer. Man, I have been out of programming for a while. =+}
Still, no worries, I'll get as far as I can and holler for help when the time comes. =+}
Thanks ya'll! 
__________________
|
|
|
11-19-2007, 02:51 PM
|
#17 (permalink)
|
|
Regular Contributor
Join Date: Dec 2003
Location: Mary Esther, FL
Posts: 188
|
Doesn't Windows come with Mysql embedded? I can't seem to bring it up by typing that "mysql>" command.
__________________
|
|
|
11-19-2007, 04:16 PM
|
#18 (permalink)
|
|
Regular Contributor
Join Date: Dec 2003
Location: Mary Esther, FL
Posts: 188
|
Sorry, nevermind, I think I found what I needed to download. =+}
__________________
|
|
|
11-21-2007, 08:38 PM
|
#19 (permalink)
|
|
Regular Contributor
Join Date: Dec 2003
Location: Mary Esther, FL
Posts: 188
|
Embarrasingly... I do not know what I should do now that I have MySql... I know I have to create classes and data... Err... I'm missing something simple, something just aint clicking... =+\
__________________
|
|
|
11-22-2007, 03:47 AM
|
#20 (permalink)
|
|
Senior Contributor
Join Date: Mar 2005
Posts: 635
|
Well, did you read the MySQL API documentation?
If so, then create the mysql.lib for your win32 compiler to use the dll statically or use a loader to load the export functions dynamic (helps to have a mysql.def file).
No clue about static vs dynamic? Read a book or start a new topic.
__________________

UT: Ultra-kill... God like!
|
|
|
11-23-2007, 09:13 PM
|
#21 (permalink)
|
|
Regular Contributor
Join Date: Dec 2003
Location: Mary Esther, FL
Posts: 188
|
Hrm... I think I did miss that part of the documentation. I probably tried to dive in too quick, I will read from start to finish this time. My thanks. =+D
__________________
|
|
|
11-27-2007, 03:03 PM
|
#22 (permalink)
|
|
Regular Contributor
Join Date: Dec 2003
Location: Mary Esther, FL
Posts: 188
|
I see what my problem is, I still do not have a firm grasp on C++ yet, and I am again mixing up C with C++. Heh, can't quite use calls that don't exist. =+\
Ah well, I'll have to try again later. I do thank ya'll for the help, I was just too overconfident with my ability. =+}
__________________
|
|
|
11-28-2007, 07:56 AM
|
#23 (permalink)
|
|
[code][/code] enforcer
Join Date: Mar 2003
Location: Netherlands
Posts: 1,545
|
Do you think you really need C++ for that particular job?
It's quite possible that a scripting language will do you database-job perfectly. Not everything needs to be built with powerful languages like C/C++!
__________________
|
|
|
11-28-2007, 12:52 PM
|
#24 (permalink)
|
|
Regular Contributor
Join Date: Dec 2003
Location: Mary Esther, FL
Posts: 188
|
Actually, this was more a self test of what I learned so far. Sadly, I failed miserably. =+P
It is difficult for me to learn by lesson, I usually have to reverse engineer a similar program for me to understand what is going on. I'm trying to stick with C++, because I know once I can figure it out it will be a very powerful programming tool.
However, seeing as I keep mixing C and C++ up (again), I am debating taking a whack at Java for a while. =+\
It would help if I didn't try to jump forward, but I understand application type lessons vs. the usual instructional lesson. =+{
I guess I must re-ponder my programming future. =+}
__________________
|
|
|
11-29-2007, 12:33 AM
|
#25 (permalink)
|
|
Senior Contributor
Join Date: Mar 2005
Posts: 635
|
Quote:
Originally Posted by cheawick
It is difficult for me to learn by lesson, I usually have to reverse engineer a similar program for me to understand what is going on.
|
I doubt that! You maybe "see" what's going on but, reproducing the same functionality in your own code will probably fail miserably.
Secondly, if i gave you my code you can use it but i don't think you will ever understand it when it's not documented. Not to mention finding the code that circumvents security issues and bugs.
Don't get me wrong that seeing some code will not help to learn you. But when you do it on your own on the level of knowledge you have, is far better.
That way you don't only learn how it works, but also when it doesn't work.
Moving to Java because C/C++ seems hard is a lame excuse. They are two totally different languages and Java only allows objects.
Functions do benefit to a program, due to the fact that Java needs wrapper objects to call Windows API C functions, and that's why Java is slow.
Afterall each OS is written in C so any language except C needs somesort of workarounds to get things going.
__________________

UT: Ultra-kill... God like!
|
|
|
11-29-2007, 01:29 PM
|
#26 (permalink)
|
|
Regular Contributor
Join Date: Dec 2003
Location: Mary Esther, FL
Posts: 188
|
You are correct on a number of my reverse engineering of code, many have failed and I still keep them for later reference to try to work out my mistakes, I will not deny that. =+}
As for the security issue, I've not advanced far enough to even condsider anything greater than error handling. I always encounter bugs, I fat finger keys way too often not to. =+D
Java is something a buddy of mine suggested I look into, at the time he was under the impression that I just wanted to make simple games, so even tho I went as far as buying a book on it I never even cracked it open. I don't think Java will have the power and functionality I need, once I get going that is. =+\
In the end, I am not giving up on C++, I just need to back pedal a bit to figure out why I keep making the same mistakes. =+}
Thanks for helping me reaffirm my resolve. =+D
__________________
|
|
|
11-29-2007, 02:03 PM
|
#27 (permalink)
|
|
Senior Contributor
Join Date: Mar 2005
Posts: 635
|
just open a topic and ask us what mistake you make, then we give you: hints, tips and maybe even answers 
__________________

UT: Ultra-kill... God like!
|
|
|
11-29-2007, 04:32 PM
|
#28 (permalink)
|
|
Java fanboy
Join Date: Aug 2003
Posts: 1,114
|
Quote:
Originally Posted by DJMaze
Functions do benefit to a program, due to the fact that Java needs wrapper objects to call Windows API C functions, and that's why Java is slow.
|
Hey now, let's not go on perpetuating myths. Java 1.1 was slow (frequently due to the way early versions of Java were doing garbage collection) - recent versions of Java, however, are very fast. Remember, the JVM isn't interpreting Java code, it's interpreting compiled bytecode - something that is pretty close to machine code. At that point, it's a question whether or not the compiled machine code is faster than the interpreted bytecode run through a JIT compiler, which due to the advancement of profilers and runtime optimizers, isn't necessarily a foregone conclusion.
|
|
|
11-30-2007, 02:01 PM
|
#29 (permalink)
|
|
Regular Contributor
Join Date: Dec 2003
Location: Mary Esther, FL
Posts: 188
|
Quote:
Originally Posted by DJMaze
just open a topic and ask us what mistake you make, then we give you: hints, tips and maybe even answers 
|
I already know. =+}
I'm using the C calls for a C++ prog, the compiler showed me where. No biggie, since I only have time to code on weekends I figured my old habits would re-emerge. I just need some time to fix my simple mistakes, also fix some commom use personal header files that I made to reflect C++ coding and I should have an outline of what I want fairly soon. =+}
Thanks tho, I do appreciate it! =+}
__________________
|
|
|
03-08-2008, 07:32 AM
|
#30 (permalink)
|
|
Code Monkey
Join Date: Jan 2006
Location: in college (again) in rural Eire
Posts: 44
|
flat db
I now this thread is fairly old, but thought to add my 2c's
a guy in my class is doing a project that uses text files as a flat db
basically reading one line at a time and checking for delimiters within the line etc
this would cut down on having to learn new languages/methods etc and I think may help with portability.
__________________
|
|
|
| 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 08:54 AM.
|
Copyright © 2000-2006, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting
Open Circle
|
 |
|