• 0

whats the diffrence between C# and C++?


Question

ok, i've had Visual C++ 6.0 for about 3 years lol and have never taken the time to learn it. but I keep seeing C# and thought that was the same as C++.

What is the diffrence between the 2 and is one easier to learn then the other. (I've been programing in Visual Basic 6.0)

Also, anyone know of a compiler or something for C++ that has the Pulldown menus as you type like VB6.

example: typing: msgbox (right after you hit the space bar a tooltip shows up with like [title],[message],[minimized/maximized],etc....

vb8mp.th.jpg

Edited by Bi0haZarD
Link to comment
https://www.neowin.net/forum/topic/320150-whats-the-diffrence-between-c-and-c/
Share on other sites

9 answers to this question

Recommended Posts

  • 0

C# is based on the .NET framework and I would describe it as being a mix of Java and C++ but simplified down to allow VB programmers to easily move to it.

If you're looking for easier... go with C#. Try SharpDevelop or the Microsoft Visual Studio Express.

here... Sharp New Language: C# Offers the Power of C++ and Simplicity of Visual Basic

  • 0

I'm pretty good with VB, just want somethign with more power. C++ is the one i never took time to learn. Tried it once and was so used to the VB Gui of: Make a Form, Add a Button, Double Click the Button and Code it to whatever, then Run it.

With C++ I'm not so comfortable with the Gui. I don't even know how to add my own buttons lol.

  • 0

C++ and C# can work together. Neither is meant to take the place of the other. C# is mean for RAD and really nice application development. With that you give up a level of power that C++ can use (of course, COM interop means you can do a lot of C++ stuff in C#). Learn both, but focus on C# ;)

  • 0

Honestly, C# is really nice for desktop development. GTk# on linux is quite nice too. (i haven't tried cocoa#, still trying to learn obj-c route first. Interresting syntax i might say).

There are a whole host of architectural and practical differences which you'll learn when you un00b yourself. For the moment focus on stuff that is language independant like loops, conditions, functions, classes, etc. Everybody always focus's on a language. That's probably the biggest problem right there. What you need to do is pick a flexible language (either will do) and pick up a really good book and go through it. Trust me, from someone who knows a dozen languages (literally) they're all same. Just different approaches or purposes. Most of them focus heavily on object oriented programming.

C++ can be really nice for desktop dev, but winapi and mfc suck. System.Windows.Forms does a nice job hiding the bull**** but its not complete by a longshot.

  • 0

hmm interesting responces, seems everyone likes C#.

anyone got a link to where i could download a popular freeware Development Environment? (don't feel like chucking more money into programming lol. except for a book)

and preferably, if there is one, a link to a freeware program to build the gui if its as difficult as it is in C++.

Edited by Bi0haZarD
  • 0

"(don't feel like chucking more money into programming lol. except for a book)"

Boy, are you ready for Linux!

In the meantime, I remember in the dark days of using Microsoft Visual C++ 6.0 that it had that "drop-down-list" feature, too, for objects and such.

When you're ready, scarf up a free Linux operating system (online, in a book, I've even gotten copies at the library). My Red Hat Linux system came with...if I have, indeed, found them all...about TWELVE free compilers and interpretters for just about every language you've ever heard of, plus extensive documentation for each! To wit:

C/C++/Objective C/C99

Java

Perl

Python

assembly

Lisp

awk

Ada

Scheme

Bash shell scripting

Tcl

....I know I'm forgetting a couple. Oh, yes, you also get support libraries/includes/extensions, SDL, curses, etc. I'm half-way through learning the list. If I ever run out and get bored, well then, shucks, I guess I'll just have to download some more free online.

Oh, yeah, "open-source" means the code is yours to read and modify and even re-release at your whimsy....we're talking the code to the *entire* system, even the compilers themselves. You'll never be stuck looking for an example!

Oh, by the way, free compilers/interpretters for Linux do exist for BASIC....but you should realize, languages like Python and Lisp are similarly easy to learn (and somewhat limited themselves). You express the need for more power. This is a good thing, you've outgrown your original training language and are ready to see what else is out there. But please understand, the more powerful a language is, the slower learning to use it well will be. If there were such a language that combined the power of assembly with the simplicity of BASIC...there'd just be that one language, because who would ever use anything else?

  • 0
  Hosiah said:
"(don't feel like chucking more money into programming lol. except for a book)"

Boy, are you ready for Linux!

hah, I've tried learning Linux 3 times, had it installed on my server (got removed the next day). If the Linux File system was the same as Windows I would consider it. But i get easily confused with all the "/" "/usr" "/bin" "/dev" and whatever lol.

also like the fact that i can download pretty much any program on the net and not have to use something like wine to make it run lol.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Google's financial performance remains unaffected by competition from ChatGPT by Pradeep Viswanathan Today, Alphabet (Google's parent company) announced earnings for the quarter ended June 30, 2025. Overall revenue was $96.4 billion, up 14% YoY, thanks to the strong performance of Google Search & other, YouTube ads, Google subscriptions, platforms, and devices, and Google Cloud. Each of these businesses delivered double-digit growth in Q2. Google Cloud posted the strongest growth at 32% YoY, driven by the growing momentum of Google Cloud Platform (GCP), which includes AI Infrastructure and Generative AI Solutions. Its annual revenue run-rate is now more than $50 billion. In addition to revenue growth, Alphabet also posted strong margin improvement, reporting an operating income of $31.2 billion, up 32% YoY. Sundar Pichai, Alphabet CEO, said: During the earnings call, Sundar Pichai also revealed that the Gemini App now has more than 450 million monthly active users and that daily requests grew by over 50% since the last quarter. Despite ChatGPT’s explosive growth, Google appears unaffected so far, thanks to the strong financial performance of Google Search and the growing momentum of Gemini. However, it remains to be seen whether Google can hold its ground as ChatGPT increasingly attracts younger users who are turning to it over traditional Google searches.
    • Here is a better view 
    • I care more about ethical LLMs than open source LLMs. Would be great if they declare that the training data was sourced without copyright infringement.
    • Yep social media addiction is no different than alcohol or cigarettes.
    • I strongly feel it is a test bed for foldables. No other reason to slim down the phone even further, despite have a massive camera bump.
  • Recent Achievements

    • Collaborator
      fernan99 earned a badge
      Collaborator
    • Collaborator
      MikeK13 earned a badge
      Collaborator
    • One Month Later
      Alexander 001 earned a badge
      One Month Later
    • One Month Later
      Antonio Barboza earned a badge
      One Month Later
    • Week One Done
      Antonio Barboza earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      590
    2. 2
      ATLien_0
      225
    3. 3
      Michael Scrip
      167
    4. 4
      Xenon
      139
    5. 5
      +FloatingFatMan
      128
  • Tell a friend

    Love Neowin? Tell a friend!