Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello All,

I am New to C++, and having basic knowledge of C language. I tried to install Turbo c++ 3.0 in my windows 7 PC, and facing an issue of full screen mode. Which is disabled in Windows 7, I did some research and found out that there is something called visual c++ should i use visual c++ for learning c++. I just want to learn c++ not VB or C#, I want to become developer in PHP. so please suggest a right way.

Thanks,
Gagan
Posted
Comments
Sergey Alexandrovich Kryukov 21-Mar-11 13:32pm    
OP commented:

Thanks for the replies. Basically i want to become proficient with C++ and OOPs concepts and then I will decide if I wish to go to learn PHP or any other language. However, for complex web development with PHP also you should know OPPs concepts. I hope you agree with me.

However, my question is still not clear that will it be easy to learn c++ by using visual c++?
Sergey Alexandrovich Kryukov 21-Mar-11 13:33pm    
As I put in my Answer: yes. I can't see why not.
--SA

Just download Visual Studio 2010 Express. It's free, and should get you started. Why are you going to learn C++ if you want to be a PHP programmer?
 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 21-Mar-11 7:42am    
"And why are you going to be a PHP programmer"? I can guess why learning C++, somehow. Just better idea than learning PHP...
My 5, by the way.
--SA
#realJSOP 21-Mar-11 8:03am    
I think you forgot to actually vote. :)
Sergey Alexandrovich Kryukov 21-Mar-11 22:38pm    
I just checked... yes, fixed. Sorry about that and thank for reminding.
--SA
[no name] 22-Mar-11 4:31am    
One can develop for web server using asp in c++ generating output php code.
Sergey Alexandrovich Kryukov 22-Mar-11 13:58pm    
See also my Answer on Phalanger.
--SA
Use Visual Studio if you can. Don't learn PHP until you comfortable with couple of real languages, such as C++, C#, Java, maybe F#, Python. There are many other options. When you already learned couple of languages, PHP will greatly frustrate you but at least won't damage your brain too much. PHP was never considered as serious language; and it does not promote good style of programming. If you start with PHP, it would be pretty difficult to learn other languages and programming culture. This is not my personal opinion (I would not start with PHP :-), but I tend to agree), just a pretty common one.

—SA
 
Share this answer
 
Comments
Gagan Murghai 21-Mar-11 7:56am    
Thanks for the replies. Basically i want to become proficient with C++ and OOPs concepts and then I will decide if I wish to go to learn PHP or any other language. However, for complex web development with PHP also you should know OPPs concepts. I hope you agree with me.

However, my question is still not clear that will it be easy to learn c++ by using visual c++?
Olivier Levrey 21-Mar-11 8:34am    
If you want to learn about OOP concepts, then consider learning C# or java. C++ is not 100% object oriented. It is more like a C-extension for OOP.
My 5 SA.
Albert Holguin 21-Mar-11 17:49pm    
I think C++ is as OO as developer makes it...
Sergey Alexandrovich Kryukov 21-Mar-11 22:47pm    
Basically, I agree with Olivier, but my criticism against C++ has different bases. For example, I amazed how a language of XXI century seriously employ such a archaic method of binding as include and name-based linkage :-) !!
My favorite use to be Delphi Pascal, but it costs money, but C# is completely free (with OS) and is a direct descendant of Pascal. Some C#/.NET features are more advanced, but unfortunately meta-classes are not available.
--SA
Gagan Murghai 21-Mar-11 8:37am    
If i dont know c++, can i learn c#??
I too would prefer Visual C++ over Turbo C++ 3.0 (which is 20 years old).

Still interesting to mention though; to run this kind of antique software in Windows 7, you can download DosBox[^]. It's an MS-DOS emulator and will allow you to go full screen.
 
Share this answer
 
Alternative answer:

You can use PHP in Visual Studio with Phalanger: http://en.wikipedia.org/wiki/Phalanger_(compiler)[^].

This is great to debug PHP (a PHP debugger is hard to find or it is expensive).

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900