Computer Webmaster Gaming Console Graphics Forum

Welcome to the Computer Webmaster Gaming Console Graphics Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

MK PitStop Main Earn $25 Earn Money Posting Extras Members Blogs Image Hosting User Pages
Go Back   Computer Webmaster Gaming Console Graphics Forum > Computer Forums > Software Programming
Register FAQ/Rules Become A V.I.P. Member Search Today's Posts Mark Forums Read

Software Programming Software programming talk, ask questions about computer software programming or help others

Google
Closed Thread
 
LinkBack Thread Tools Display Modes
Old 06-12-2007, 9:45 PM   #1
Infiniti
 
Infiniti's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Re: Java to C/C++

Infiniti wrote:

> Hi,
>
> I've worked as a Java based programmer for the past 3 yrs designing apps for the web and i'm looking to get into windows based c/c++ and directx. I'm obviously not new to programming generally but can anyway, who knows what they are talking about, recommend the best way to go to learning this kinda stuff?
>
> Cheers
>
> Infiniti


>Going to C++ from Java is a good direction to approach C++ from IMO. It
>means you're more likely to treat C++ as an OO language which is where
>it is at its most useful and elegant IMO.


>I'd grab Bruce Eckle's Thinking in C++ and work through that as the
>starting point. It's free on the web.


>Though, if you're wanting to do 3d games using OpenGL, there's no real
>need to go to c++ (Java is just as fast) for other types of games, your
>milage might vary. What was it you were trying to achieve?


>Peter.


I'm purely trying to enhance my knowledge of programming and DirectX / OpenGL programming is something I would like to have a go at while i'm making the switch to C/C++. I was under the impression that there is a bit more information out there regarding graphics programming in C.

I do agree OOP is the nicest way to go about things. Cheers for the help.

Infiniti
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Advertisements
Old 06-12-2007, 9:45 PM   #2
T
 
T's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Re: Java to C/C++

Hi,

The one thing you will get very frustrated with when moving to C++ is the
lack of class library functionality. Java has an extremely large amount of
functionality built into the base classes. C++ has very very little.

You will also find it more difficult to debug your code. Using pointers can
be quite daunting and finding memory leaks can be a tricky task. I suggest
you get a good development environment that has a stable and powerful
debugger.

Good luck.

"Infiniti" <infiniti@infiniti.com> wrote in message
news:1062426051.64366.0@dyke.uk.clara.net...
> Infiniti wrote:
>
> > Hi,
> >
> > I've worked as a Java based programmer for the past 3 yrs designing apps

for the web and i'm looking to get into windows based c/c++ and directx. I'm
obviously not new to programming generally but can anyway, who knows what
they are talking about, recommend the best way to go to learning this kinda
stuff?
> >
> > Cheers
> >
> > Infiniti

>
> >Going to C++ from Java is a good direction to approach C++ from IMO. It
> >means you're more likely to treat C++ as an OO language which is where
> >it is at its most useful and elegant IMO.

>
> >I'd grab Bruce Eckle's Thinking in C++ and work through that as the
> >starting point. It's free on the web.

>
> >Though, if you're wanting to do 3d games using OpenGL, there's no real
> >need to go to c++ (Java is just as fast) for other types of games, your
> >milage might vary. What was it you were trying to achieve?

>
> >Peter.

>
> I'm purely trying to enhance my knowledge of programming and DirectX /

OpenGL programming is something I would like to have a go at while i'm
making the switch to C/C++. I was under the impression that there is a bit
more information out there regarding graphics programming in C.
>
> I do agree OOP is the nicest way to go about things. Cheers for the help.
>
> Infiniti



 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 06-12-2007, 9:45 PM   #3
Frecklefoot
 
Frecklefoot's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Java to C/C++

"T" <csaweb@ozemail.com.au> wrote in message news:<u%R4b.77499$bo1.67778@news-server.bigpond.net.au>...
> The one thing you will get very frustrated with when moving to C++ is the
> lack of class library functionality. Java has an extremely large amount of
> functionality built into the base classes. C++ has very very little.


True, but there are libraries available that give you substantial
functionality (such as container templates).

> You will also find it more difficult to debug your code. Using pointers can
> be quite daunting and finding memory leaks can be a tricky task.


Funny, I found debugging Java applets a lot harder than debugging C++
apps. I guess that's just me...

> I suggest
> you get a good development environment that has a stable and powerful
> debugger.


I agree with that. MS Visual Studio is one of the best I've used.

> > I'm purely trying to enhance my knowledge of programming and DirectX /

> OpenGL programming is something I would like to have a go at while i'm
> making the switch to C/C++. I was under the impression that there is a bit
> more information out there regarding graphics programming in C.


There probably is, and of course there won't be any DirectX samples in
Java. Just a word of advice, if you're planning to do a lot of
graphics programming, either remote debugging (using a seperate PC as
the target) or a dual monitor setup is the way to go. Trying to debug
graphics code by switching back and forth between the IDE and the
output can be frustrating. I realize this can be expensive, but if you
already have the PCs or the means, it'll make your programming and
debugging a lot easier. MS Visual Studio supports these types of
setups.
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 06-12-2007, 9:45 PM   #4
Peter Ashford
 
Peter Ashford's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Java to C/C++

>>You will also find it more difficult to debug your code. Using pointers can
>>be quite daunting and finding memory leaks can be a tricky task.

>
>
> Funny, I found debugging Java applets a lot harder than debugging C++
> apps. I guess that's just me...


I think it's very tool dependant. IMO both MS's Visual C++ and IBMs
Eclipse IDEs are fantastic debuggers. I don't think either language is
inheirently easier or harder to debug.

 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Featured Websites
Free Space
Free Space
Free Space Free Space
Closed Thread
Tags:




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Java to C/C++ Infiniti Software Programming 3 06-12-2007 9:47 PM
Can I use MSN Search Web Services by java programs? Franklin MSN questions 0 05-28-2007 1:45 AM
Dig Free or Cheap PHP, JAVA, ASP Script... tigergb Website Coding 4 05-01-2007 1:10 PM
Is Java stronger language then PHP? mayank PHP 6 05-04-2006 9:43 PM


Featured Websites




All times are GMT +1. The time now is 12:48 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Cheap Computers
MK PitStop Copyright 2005 - 2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98