![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#51 |
|
Programmer
Join Date: Apr 2005
Posts: 77
Rep Power: 4
![]() |
I think that C++ gives you the ultimate control. You even control the way you manage your memory. So if you know that, you'll become a good programmer, and then you may decide that you want to simpify the the management of memory by going to C#, then do that.
Am I incorrect to say that C# (never learned it just heard about it) is basically simplified c++? So why not learn the whole thing and then if you are okay with automatic memory management, then switch to c# after you know c++? |
|
|
|
|
|
#52 |
|
Programming Guru
![]() Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5
![]() |
c, c++, c#, and java are all referred to as the family of c-style languages. this is because of SYNTAX. continuing on that idea javascript could be considered a c-style language. i'm not sure where python lies, but i assume that it is not because when i see python scripts i ususally think "what the hell" because the syntax is unfamiliar. c# is microsoft's version of the java langugae. it is highly object-oriented like java and due to microsoft's proprietary nature is the language of choice for many of their web applications and such, where java is designed to work well. java was originally designed under the project name "oak" to be a hardwired software to "smart" household technology. vcr's that tape your favorite show (sound anything like tivo?) refrigerators that automatically order milk, washers and dryers that coordinated with the grocery list and ordered detergent as well as milk and batteries and light bulbs and whatever else. the language is designed for interprocess-interobject communication. so which IS harder, c or c++. C++ is harder, but that's only because it's just C with more functionality attached. you can do anything with c that you can with c++, it just may take more lines of code, and that is where the financial standpoint comes in. C++ is cheaper to develop because it takes less people less time to develop applications because of its object-oriented capabilities. learn either and learning the other will be easy. oh screw it, learn C.
__________________
i put on my robe and wizard hat... Have you ever heard of Plato, Aristotle, Socrates?...Morons. |
|
|
|
|
|
#53 |
|
Programming Guru
![]() ![]() ![]() |
C# is definitely not simplified C++. C# makes extensive use of the .NET framework.
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#54 | |
|
Professional Programmer
|
Quote:
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;} |
|
|
|
|
|
|
#55 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 8
![]() |
International standards? Like what? And Mono's a great app - Linux and C# go quite well together.
|
|
|
|
|
|
#56 | |
|
Professional Programmer
|
Quote:
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;} |
|
|
|
|
|
|
#57 |
|
Programming Guru
![]() ![]() ![]() |
For the record, I use C,C++, and C# daily... I find myself using C# more so these days.
Using C# does not "lock you out of other platforms"...courtesy of Mono. The standardization would only matter if you were dependent on other code that was not "home-grown".
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|