Well, I’ve gone quite a way in learning C++ and I think I’m ready to go with a bit more complexe programs.(could be in C too).
So, do you guys know any books that could be usefull for Robot aplication of the thing?
I’m looking to learn how to make programs on my windows XP (programs like powerpod, RIOS and the SEQ, less elaborate of course), a program to work with streaming video, stuff like that.
I saw this one Link
It looks like a good book, maybe a tad advanced…
I’ve done as much scraping as I can on the NET to try to learn C++… I think a well organized book will help me
Is that book you are talking about is to program aplications on the computer and then give commands to a robot or programing a smaller controller (like the BASIC atom)?
And waht do you mean by “But it looks like you’re looking for far more then that”?
The book is about how to control a 'bot, Subsumption, considerations for sensors, motors, etc.
I haven’t finished the book yet, but I don’t think you’ll see BASIC Atom code in the book. More like pseudo code.
I just thought that you’re looking for stuff that is “out of the scope” of your usual C/C++ book.
You’ll probably need several books! Perhaps look for a “Windoz 32” book or something like that. Streaming video would probably be a USB or network book, depending on where you’re going to transport your data.
For streaming video, you may want to look at webcam2000 (below). Open source and I find it works very well for web setups. Modify the code for extra features.
The only C++ book I ever used when I developed in that language was The C++ Programming Language. It’s written by Bjarne Stroustrup, the creator of C++. Pretty cool guy - he even answers e-mails about his books.
Ok, I’m going to take a trip down to a big book store and find some books on C++ and check them out see if I can understand them.
I chose C++ because : It’s a relativly hard programing language to learn (That’s what I heard), so if I want to learn another one after It will be easier. I also chose it because most of Microsoft aplications, hacks for games, programs you downlod off the net are a lot of the time in C++ (from what I’ve seen). It was also recommended by someone I know that is really advanced in programing (but sadly I can’t contact him… )
Well, that pretty much it.
Waht I want to do would be and arm playing Tic Tac Toe, or chequers or even Chess… And I would have to do all the program myself (if the is streaming video to recognize the pieces (wich color I guess).
It’s a BIG projet, But I have almost a year to do it and I don’t want to waste my time.
C++ isnt “hard” to learn, its just a bit ugly to code in…But then I find the development enviroment makes all the difference. If you are starting from scratch and have learnt the basics on OO programming I would seriously reccomend C# (if you can get your hands on a copy). If you can program in C++ you can in C#, but C# is just a tad easier to use I find.
I used C#2005 for my project, went from disliking C,C++ to having a complete hexapod gait engine in C# within a few days! I still have to get used to how strongly typed it is compared to other languages i have used but its pretty good.
right now im doing a little justbasic programming with a free engine zoomkat sent me. I recommend it for beginners becuase it is easy to understand, though some pretty complex programs can also be created with it once you get the hang of it. Sorry for the thread-jack.
Yeah, that’s what I was afraid of… As soon as some guy mentions programing languages all the others start bashing the other languages and saying that theirs is the only and best one out there…
BTW I got to some tutorial about dialog boxes (creating GUI here, if anyonw is interrested here a link : winprog.org/tutorial/start.html
)
It has a link in the program to a reference program, and when I try to compile it it says that they can’t find the reference… I had to type in all the stuff by hand and it still doesn’t work, you guys have any idea why? It says that creating dialoged returned NULL (It’s written in the program to say taht if it failed, but I don’t fully understand the proram so it’s hard to say waht went wrong…
If any of you have some tutorials on the net for C, C++ or C# creating GUI with them please tell me.
It would be fun to keep this thread about C, C++ and C#, and not about saying wich is best.
Fair enough. None of them are best , they all are suited to different functions. C is the obvious choice for micro’s, C++ is kinda half way between micro and application, C# is really easy for quick application development (but useless to a PIC micro).
What Development Enviroment are you using for the C++?
I would not mind learning C#, but it is not a cross platform solution. However, robodude666 told me about an Open Source C# project called Mono, which does seem to work pretty well. I may investigate this further at some point. It does look interesting…