C Board  

Go Back   C Board > General Programming Boards > C Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 11-26-2009, 03:14 PM   #1
Registered User
 
Join Date: Nov 2009
Posts: 4
100% Newbie

Hey guys I was curious about C. I've been doing PHP a long time and I like how the syntax is quite similar.

I am wondering a few things that I can't really figure out.

a. Does C for Win and Linux differ? Or can the same C code be compiled for both? Or is it something like they use different includes?

b. Is there a good tutorial where I can go through and see how to build some test application. All the examples of hello world don't get me far. I can figure out the syntax fast enough but I don't totally follow what Im capable of.

Thanks.
JREAM is offline   Reply With Quote
Old 11-26-2009, 03:17 PM   #2
Registered User
 
Join Date: Nov 2009
Posts: 4
Actually I think I want to do C++ due to the OOP approach.
JREAM is offline   Reply With Quote
Old 11-26-2009, 03:23 PM   #3
Mysterious C++ User
 
Join Date: Oct 2007
Posts: 14,460
1) No. The same code can be compiled on both platforms. If you want something more fancy, such as a GUI, then yes, you would need other includes (usually, unless the GUI code itself is portable).
2) Looked at the tutorials on the site?
__________________
Using: Microsoft Windows™ 7 Professional (x64), Microsoft Visual Studio™ 2008 Team System
I dedicated my life to helping others. This is only a small sample of what they said:
"Thanks Elysia. You're a programming master! How the hell do you know every thing?"
Quoted... at least once.
Quote:
Originally Posted by cpjust
If C++ is 2 steps forward from C, then I'd say Java is 1 step forward and 2 steps back.
Elysia is offline   Reply With Quote
Old 11-26-2009, 03:37 PM   #4
Registered User
 
Join Date: Nov 2009
Posts: 4
Okay thank you, sorry I didn't notice there are tutorials, sorry I can't find them. Are they the sticky threads somewhere?
JREAM is offline   Reply With Quote
Old 11-26-2009, 03:38 PM   #5
Registered User
 
Join Date: Nov 2009
Posts: 4
Doh, I see it, under the FAQ and such
JREAM is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie with Very Newbie Question Jedi_Mediator C++ Programming 18 07-01-2008 08:00 AM
newbie: array question :( cstudent C Programming 2 04-09-2008 06:46 AM
Newbie Programmer Extropian C++ Programming 3 05-18-2004 01:17 PM
C++ newbie / linux not so newbie question goldmonkey C++ Programming 7 12-13-2003 12:27 PM
Newbie Game Develpoers Unite! Telenosis Game Programming 10 06-22-2002 02:02 PM


All times are GMT -6. The time now is 10:57 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22