General Car Related Discussion. To discuss anything that is related to cars and automotive technology that doesnt naturally fit into another forum catagory.

learning c and c++

Thread Tools
 
Search this Thread
 
Old Jul 15, 2005 | 02:36 PM
  #1  
big_wig_074's Avatar
big_wig_074
Thread Starter
PassionFord Post Whore!!
 
Joined: May 2003
Posts: 6,594
Likes: 3
Default learning c and c++

arghhhhh!!!!!!! 7 years ago i had a rough idea of what all this is about,NOW i have started to read an online tutorial and my head is gonna explode!!!!!! any good EASY sites to get the info off to relearn these bloody codes?
Reply
Old Jul 15, 2005 | 02:46 PM
  #2  
PhilM's Avatar
PhilM
PassionBMW.com Member
 
Joined: May 2003
Posts: 3,530
Likes: 0
From: UK
Default

Why C mate?

Most stuff can be done in Basic these days (PIC Basic, Visual Studio etc)
Reply
Old Jul 15, 2005 | 02:53 PM
  #3  
big_wig_074's Avatar
big_wig_074
Thread Starter
PassionFord Post Whore!!
 
Joined: May 2003
Posts: 6,594
Likes: 3
Default

its just all in the same tutorial mate,trying to brush up on things,BUT i hate when people explain in geeky computer expert talk rather than english!!
Reply
Old Jul 15, 2005 | 02:54 PM
  #4  
Anonymous's Avatar
Anonymous
Banned
 
Joined: Dec 2002
Posts: 142
Likes: 1
Default

Just download sourcecode for a few things and read through it, make a few tweaks etc.

Thats how i normally learn new languages or refresh.

C in the pure form isnt really used anymore so i would concentrate more on C++ probably, but obviously depends on the specifics of what you want to use it for???
Reply
Old Jul 15, 2005 | 02:58 PM
  #5  
big_wig_074's Avatar
big_wig_074
Thread Starter
PassionFord Post Whore!!
 
Joined: May 2003
Posts: 6,594
Likes: 3
Default

more c++ i want,c is not really needed anymore is it,but its just what the tutorial was called
Reply
Old Jul 15, 2005 | 03:03 PM
  #6  
Stoo's Avatar
Stoo
PassionFord Post Whore!!
 
Joined: Jun 2003
Posts: 6,685
Likes: 0
From: South Beach
Default

Ummm what the hell are you guys on about!
Reply
Old Jul 15, 2005 | 03:06 PM
  #7  
PhilM's Avatar
PhilM
PassionBMW.com Member
 
Joined: May 2003
Posts: 3,530
Likes: 0
From: UK
Default

Take a look at C# mate
Reply

Trending Topics

Old Jul 15, 2005 | 03:08 PM
  #8  
big_wig_074's Avatar
big_wig_074
Thread Starter
PassionFord Post Whore!!
 
Joined: May 2003
Posts: 6,594
Likes: 3
Default

Originally Posted by Stoo
Ummm what the hell are you guys on about!
its VERY geeky mate, i think ill get some specs with tape on!
Reply
Old Jul 15, 2005 | 03:09 PM
  #9  
big_wig_074's Avatar
big_wig_074
Thread Starter
PassionFord Post Whore!!
 
Joined: May 2003
Posts: 6,594
Likes: 3
Default

like this:
#include <stdio.h>

enum days {monday=1,tuesday,wednesday,thursday,friday,saturd ay,sunday};

int main()
{
enum days today = monday;

if ((today == saturday) || (today == sunday))
{
printf("Weekend\n");
}
else
{
printf("Go to work or school\n");
}

return 0;

}
Reply
Old Jul 15, 2005 | 03:19 PM
  #10  
MadMac's Avatar
MadMac
15K+ Super Poster!!
 
Joined: Apr 2004
Posts: 16,505
Likes: 1
From: Croydon
Default

my advice, if you dont need to.. dont bother, far to complicated and no one uses it much anymore anyway

If ya asked me 5 years ago when I was learning it might have been able to help.

Just stick C++ turorials in google, that should come up with something...
Reply
Old Jul 15, 2005 | 03:31 PM
  #11  
Anonymous's Avatar
Anonymous
Banned
 
Joined: Dec 2002
Posts: 142
Likes: 1
Default

I used to program a lot of ECU's in C++ years ago, but its so long since ive used it now that i doubt i could write "hello world" without a syntax error or two!
Reply
Old Jul 15, 2005 | 04:00 PM
  #12  
santas little helper's Avatar
santas little helper
15000
 
Joined: Jun 2005
Posts: 36
Likes: 0
Default

Learning c is a waste of time unless your using it as the bases to learn c++,c# or java (or even javascript).

c++ is widely used but is starting to loose it appeal. Plus its an object orientated extension to c and hence is really a bodge IMO plus it's a bastard to learn and code in it.

If I was you I would learn either C# ot Java as these are c based languages but were written from the ground up to be object orientated. Also these both support garabage collection which c++ does not-that probably means nothing to you but trust me that's a good thing!!.

Anyway no matter what object orientated language you choose (c++,c#,java) you will need to understand the principles of object orientated programming which is actually harder than learning the actual language. Also using a tool like Visual Studio to write your code will help you write and learn to code and save you a huge amout of hassle!

Good luck!
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
SMILER258
Restorations, Rebuilds & Projects.
36
Sep 28, 2015 09:04 AM
Davemurphy007
Motorcycle Chat & Sales
2
Aug 14, 2015 05:58 PM
bassboy
General Car Related Discussion.
12
Dec 18, 2004 12:10 AM
Jim Galbally
General Car Related Discussion.
5
Nov 15, 2004 05:21 PM
Rudey
General Car Related Discussion.
28
Aug 5, 2004 12:16 PM




All times are GMT. The time now is 01:20 AM.