cozofdeath Posted November 4, 2006 Report Share Posted November 4, 2006 This post is just to see if anyone wants to learn the C/C++ programming language. I have just started to learn it on my own and thought maybe other people would be interested in learning it along with me. This is a very popular programming language and you can do just about anything with it so if you have some spare time on your hands why not learn something new. Since C++ is so portable you can create apps for almost any operating system. If enough people are interested maybe we can setup a web server of some kind or something and we can post what your learning or challenge other people to write a program along with pasting our source code on the site. Anyway if your interested you can IM, Email (mpmpl {@} hotmail.com), or post on this thread what you'd like to say. We can each share anything we find to each other and work as a group. C/C++ is not as hard as it sounds. There are many free IDEs/compilers and ebooks/tutorials everywhere for learning if anyone is interested. Quote Link to comment Share on other sites More sharing options...
jason.b.c Posted November 6, 2006 Report Share Posted November 6, 2006 Hey , I'll take that offer...Send me a PM and we'll talk some more about it... Quote Link to comment Share on other sites More sharing options...
jason.b.c Posted November 6, 2006 Report Share Posted November 6, 2006 Here's some stuff..http://physinfo.ulb.ac.be/cit_courseware/c...ram/default.htmhttp://www.opus.co.tt/dave/indexall.htm Quote Link to comment Share on other sites More sharing options...
Coreper Posted November 7, 2006 Report Share Posted November 7, 2006 i'm currently learning NQC, after that i will go C++!so yeah, im interested Quote Link to comment Share on other sites More sharing options...
cozofdeath Posted November 7, 2006 Author Report Share Posted November 7, 2006 Ok, thanks for posting! CoreperVery Interesting Stuff, NQC. Maybe you can contribute on that.Here are some more good free IDE/Compiler links.Dev-C++ - Bloodshed Dev-C++ is a full-featured Integrated Development Environment (IDE) for the C/C++ programming language. It uses Mingw (Windows)`` port of GCC (GNU Compiler Collection) as it's compiler. Dev-C++ can also be used in combination with Cygwin or any other GCC based compiler.MS Visual C++ Express (MSVC) - Designed for the unique needs of the new application Developer, Visual C++ 2005 Express Edition provides a fun, easy to use, easy to learn tool for building dynamic applications. Personally it looks confusing to me, maybe because it has support for GUI programming. lcc-win32 - The compiler system, featuring compiler, linker, assembler, resource Editor and a lot of useful tools. Seems easy to use and also includes other useful things like a good C tutorial. Some Linux support.Borland C++Builder Compiler - The Borland C++ Compiler 5.5 (BCC) is the foundation and core technology of C++Builder 5. Borland C++ Compiler 5.5 is a blazingly fast 32-bit optimizing compiler. It includes the latest ANSI/ISO C++ language support including, the STL (Standard Template Library) framework and C++ template support and the complete Borland C/C++ Runtime Library (RTL). Also included in the free download are the Borland C/C++ command line tools such as the high performance Borland linker and resource compiler. This package has all command line tools. There is no IDE like the others.If your compiling on Linux you probably already have gcc or something else installed. Here is sort of a universal list of C/C++ tools.C/C++ Tutorials/Ebooks/Toolshttp://www.freeprogrammingresources.com/freetutr.html Quote Link to comment Share on other sites More sharing options...
cozofdeath Posted November 7, 2006 Author Report Share Posted November 7, 2006 I should have something up soon. When I'm not in school I'm going to work on setting it up. In the mean time get a compiler and start a tutorial or book. I got Dev-C++ and have started reading a Sams Teach Yourself book, :lol: . If I were to learn this by myself I don't think I would be as interested so thanks for joining me :D . Quote Link to comment Share on other sites More sharing options...
Coreper Posted November 7, 2006 Report Share Posted November 7, 2006 i think i'll take Dev-C++ too, because;MS Visual C++ needs extra stuff and registrationBorland just doesnt look good :PLcc doesnt include the newest program languageso that leaves Dev-C++ 4 i wont download the 5 betabtw:do you already know the C++ language? Quote Link to comment Share on other sites More sharing options...
cozofdeath Posted November 7, 2006 Author Report Share Posted November 7, 2006 I learned a few basics (very basic) of C a couple years ago. But have forgot most of it since. So I figured if I want to relearn it why not try c++. Turns out it looks about the same. Even though I still have to read all the basics to remember. I actually picked Dev-C++ for the same reasons as you, that is after installing most the others . I should have read more . But I really seem to like it so far. What exactly is NQC? Quote Link to comment Share on other sites More sharing options...
jason.b.c Posted November 8, 2006 Report Share Posted November 8, 2006 I'm still here , I'll try my best to keep looking for stuff... Quote Link to comment Share on other sites More sharing options...
Coreper Posted November 10, 2006 Report Share Posted November 10, 2006 i;m really looking forward to learn C++but that will only be in a month or 2 :S Quote Link to comment Share on other sites More sharing options...
cozofdeath Posted November 12, 2006 Author Report Share Posted November 12, 2006 Well make sure you say something Coreper when you start, maybe me and jason.b.c can help out or you can join in with us. Quote Link to comment Share on other sites More sharing options...
Coreper Posted November 12, 2006 Report Share Posted November 12, 2006 i willmaybe its a good idea to keep this thread active, by sharing experiencesmine:i made a load of programs with NQC, now we use it on a robot!its really cool to see what our programs can do!looking forward to C++btw: are there online tutorials of C++ ? to learn FULL C++ scripting? Quote Link to comment Share on other sites More sharing options...
cozofdeath Posted November 14, 2006 Author Report Share Posted November 14, 2006 That would be cool to actually see something physical happen from writing a program. What do you make the robots do? Are you into robot fighting? Is it a hobby, for school or for a job? BTW, that is a good idea about keeping this thread active. I also created a small forum on my computer for C talk, or anything interesting. I am going to be posting how I'm doing with c++ and hopefully I can get jason.b.c to come on and help out. Its on most of the day, according to us time GMT -5 or somewhere around that. Its here. Over the next couple of days I'm going to be working on it more so it may not be up. Quote Link to comment Share on other sites More sharing options...
Coreper Posted November 14, 2006 Report Share Posted November 14, 2006 the robots just move around a little bit:when they bump into something they make a short turnwhen it gets dark they turn around and go back to the lightwe are about to make them play soccer [1 on 1]this is a school assignmentmaybe we should keep this up at your forum...[or not :P , just what you think is the best; this forum is more popular]i havent got many time this week > i'm having much tests and some other time-taking activitiesalso tried to register, but it didnt work... Quote Link to comment Share on other sites More sharing options...
jason.b.c Posted November 15, 2006 Report Share Posted November 15, 2006 Hey i did find something neat here a while back , It's an operating system written i believe entirly in the C language..Check it out , It's at least worth messin' with once..32 bit Menuet OSorg 0use32include "F_Struc.inc"; insert app header here;@@:mov eax,10 ; 10 is a theoretical call# for Waiting for a KeyPress/GetKPressmov ebx,MyF10Structint 0x40mov al,[MyF10Struct.keypressed] ;Move the key that was pressed into a STDOUT structuremov [MyF25Struct.outkey],almov eax,25 ; 25 is a theoretical call# for putting a key into the Standard Out interfacemov ebx,MyF25Structint 0x40jmp @bMyF10Struct F10_StrucMyF25Struct F25_StrucStuff like that.. :Dthe robots just move around a little bit:when they bump into something they make a short turnwhen it gets dark they turn around and go back to the lightwe are about to make them play soccer [1 on 1]this is a school assignmentmaybe we should keep this up at your forum...[or not :P , just what you think is the best; this forum is more popular]i havent got many time this week > i'm having much tests and some other time-taking activitiesalso tried to register, but it didnt work...I'm thinking about building this one.. Mousy the JunkBot Quote Link to comment Share on other sites More sharing options...
cozofdeath Posted November 15, 2006 Author Report Share Posted November 15, 2006 also tried to register, but it didnt work...What happened when you tried? I have to ask because I can't access the site from my computer because it doesn't support loopback so I have to go through a proxy to see it but I can't login or register through a proxy. Also, if you can post some pics of your robots.32 bit Menuet OSI remember seeing this a little less than a year ago. It is pretty amazing especially that it can fit on a single floppy.I'm getting into functions right now. I think structures are going to be next. How are you going jason.b.c? Coreper, can you post a small portion of NQC code? Quote Link to comment Share on other sites More sharing options...
Coreper Posted November 15, 2006 Report Share Posted November 15, 2006 you cant access your forum anymore? lolwell, i followed the register steps, and at the end , when i clicked complete or something like that, the site was unable to be found...ill see if i can place some photo's of the robots on the web, but i cant do it this week since we are having exams and stuff, so i cant access the lab... Quote Link to comment Share on other sites More sharing options...
cozofdeath Posted November 15, 2006 Author Report Share Posted November 15, 2006 :lol: , no i can access my forum, but i usually do it locally not from the internet. I recently changed a setting in the forum. So if you have time try it again. But when ever you have time post them pics. Quote Link to comment Share on other sites More sharing options...
jason.b.c Posted November 15, 2006 Report Share Posted November 15, 2006 How are you going jason.b.c? , can you post a small portion of NQC code?HUH.? I'm also having trouble with your site.. Quote Link to comment Share on other sites More sharing options...
cozofdeath Posted November 16, 2006 Author Report Share Posted November 16, 2006 Sorry, it will be up and I will hopefully I can work more on it tomorrow. I had it off today because I really need to learn more about some things. I had a weird problem were things were not running as they should so I managed to shutdown the web server and all of a sudden about 15 or so command prompts opened. Scared me a little. But I'll leave it on tomorrow in case you guys want to test out the registration. Quote Link to comment Share on other sites More sharing options...
Coreper Posted November 28, 2006 Report Share Posted November 28, 2006 here is a way too simple example of NQC, which i use:task main(){ OnFwd(OUT_A); OnFwd(OUT_C); Wait(400); OnRev(OUT_A+OUT_C); Wait(400); Off(OUT_A+OUT_C);}it makes the robot go forward for 4 sec, and then it goes backwards 4 sec, and it stops.a more complicated ones arent on this computer, i will have a look at what i can find at school...here are photo's of our first robot [btw: its made out of lego]:http://www.filefactory.com/file/f7a842/[off site, because they are too big...]we are building a more "robot-like" [or is it, human-like] robot now...i'll let you know when its finished, with programs Quote Link to comment Share on other sites More sharing options...
cozofdeath Posted December 2, 2006 Author Report Share Posted December 2, 2006 Sorry Coreper, I must have missed your post. NQC does look a lot like C. I liked seeing the pictures of your robot, very cool looking. How do you program is though?? I think my ip changed and it didn't update it at dyndns so the site was down and I didn't know. I took a night to get it back up, I guess it had to repopulate the ip? I've been leaving the server on even though it wasn't working. But somehow amazingly I went from 1mb broadband to 3mb. Yahhh :D . So the site should load much faster. I also have been thinking about using gzip to compress the pages to make them load even faster, only takes a min to put in action. Anyway if you guys get a chance let me know if its faster. I've also posted a little c++ code I've done just messing around and some other stuff. Quote Link to comment Share on other sites More sharing options...
jason.b.c Posted December 2, 2006 Report Share Posted December 2, 2006 Coz , What ISP do you have..? , I want that..Oh yea , I'm still here and lookin' for stuff... :) Quote Link to comment Share on other sites More sharing options...
cozofdeath Posted December 3, 2006 Author Report Share Posted December 3, 2006 Its Verizon and if they treat you like they have treated me you may not want them. I started at 3mb then I disconnected the router and when I plugged it in I got a different ip and dropped to around 1mb if that. I called them so many times and I finally got sick of the people that couldn't speak english (no offense to anyone), telling me its my browser (IE) when I don't even use IE. I think their bandwidth limits maybe based on ip addresses? I was told no by a manager but why did I get my speed back all of a sudden? Almost 4 months of paying for that >1mb. The manager also said there was a lot of noise on my line, apparently it cleared or something? Now I'm doing excellent for my area, go figure. Quote Link to comment Share on other sites More sharing options...
jason.b.c Posted December 3, 2006 Report Share Posted December 3, 2006 Its Verizon and if they treat you like they have treated me you may not want them. I started at 3mb then I disconnected the router and when I plugged it in I got a different ip and dropped to around 1mb if that. I called them so many times and I finally got sick of the people that couldn't speak english (no offense to anyone), telling me its my browser (IE) when I don't even use IE. I think their bandwidth limits maybe based on ip addresses? I was told no by a manager but why did I get my speed back all of a sudden? Almost 4 months of paying for that >1mb. The manager also said there was a lot of noise on my line, apparently it cleared or something? Now I'm doing excellent for my area, go figure.Hell.! , I'd tell them to go stick it then...Hey , Is this available to you in P.A. .? -- BellSouth Bad-Assed Access I guess it's supposed to kick butt or something , I dunno..? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.