Jump to content

If you like to learn about computers/software


cozofdeath
 Share

Recommended Posts

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.

Link to comment
Share on other sites

  • Replies 98
  • Created
  • Last Reply

Top Posters In This Topic

Ok, thanks for posting!

Coreper

Very 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/Tools

http://www.freeprogrammingresources.com/freetutr.html

Link to comment
Share on other sites

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 .

Link to comment
Share on other sites

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 :censored: . I should have read more :huh: . But I really seem to like it so far. What exactly is NQC?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

the robots just move around a little bit:

when they bump into something they make a short turn

when it gets dark they turn around and go back to the light

we are about to make them play soccer [1 on 1]

this is a school assignment

maybe 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 activities

also tried to register, but it didnt work...

Link to comment
Share on other sites

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 OS

org 0
use32
include "F_Struc.inc"
; insert app header here;

@@:
mov eax,10 ; 10 is a theoretical call# for Waiting for a KeyPress/GetKPress
mov ebx,MyF10Struct
int 0x40

mov al,[MyF10Struct.keypressed] ;Move the key that was pressed into a STDOUT structure
mov [MyF25Struct.outkey],al

mov eax,25 ; 25 is a theoretical call# for putting a key into the Standard Out interface
mov ebx,MyF25Struct
int 0x40

jmp @b

MyF10Struct F10_Struc
MyF25Struct F25_Struc

Stuff like that.. :D

the robots just move around a little bit:

when they bump into something they make a short turn

when it gets dark they turn around and go back to the light

we are about to make them play soccer [1 on 1]

this is a school assignment

maybe 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 activities

also tried to register, but it didnt work...

I'm thinking about building this one.. Mousy the JunkBot

Link to comment
Share on other sites

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 OS

I 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?

Link to comment
Share on other sites

you cant access your forum anymore? lol

well, 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...

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 2 weeks later...

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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..?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy