I want to know: Will (C++) persist as a language of its own tasks ? or: Will (C++) perish and disappear one day and be replaced definitively by (C#) ?
Will C# programming language replace C++ language definitively one day ?
thats depeneds on Companies what they use more now
Reply:No languages last forever. Personally, I detest all forms of C because of its weak typing and its tendency to be excessively cryptic. Using languages in the Ada, Pascal, and BASIC arena is actually faster when you have to pick up someone else's code. C allows people to commit programming atrocities that should merit summary execution.
Ada and Pascal, with stronger typing, tend to have much better error filtering. If you get your code past Ada's picky compiler, you know you've got half the battle won right there. BASIC, with simpler syntax, tends to be easier to decipher. Original authorship in a language such as C is what it is, but as a maintainer (among other duties), I would never write in C variants unless forced to do so. It is just too unkind to those who follow in my footsteps.
Just one man's opinion, of course.
Reply:Absolutely not. The chief advantage of C# is its integration into the .Net development suite. Mono, which implements .Net on Unix type operating systems such as Linux, has been integrated into the Gnome desktop on X-Windows. The result has been a large number of experienced Linux and Unix users driven to switch to KDE or XFCE by increased memory demands and decreased stability. This is not necessarily to say that .Net is bad for Windows. But it is different enough from the design philosophy of Unix and Linux so its attempted integration is causing trouble.
C# is so tied to dot Net that its continuation in the long term may be like that of Jobs's Objective C, which was developed for his NeXTStep computers and survives only because you can compile programs written in it using GCC. Jobs had issues with it being incorporated into GCC, however they were obviously resolved. Microsoft had the architecture of the XO (OLPC) laptop changed a very long time ago to incorporate some Windows hooks, and immediately set about trying to put Windows on it. So far there is no sign of it. I see no reason to think they are likely to make dot Net attractive to anyone but Windows developers or to make Windows attractive to anyone but business users and gamers.
Reply:No. First, although there have been efforts (and will be more) to make universal, the .net framework upon which c# depends is still windows-centric. No c# on Mac's, for instance. Second, device drivers. You can't guarantee that the proper version of .net framework will be installed on a particular machine on bootup. Third, embedded systems. No .net framework there: too big. And fourth: c compilers are available for just about every processor family and OS known to man. No such thing for c#.
So don't worry about it in your professional lifetime. OTOH if you're getting a job solely involving windows, c# is a very good bet. A nice language.
Reply:I would suspect that C++ would still continue be used, particularly for low-level programming. Also, I am surprised that you have not mentioned Java - as Java and C# do share many similarities.
Reply:I agree with miket nothing is going to change that dramatically in your lifetime, I think you can count on C and C++ to be around for quite a while yet as it is good for low level
Monday, May 24, 2010
C++ programming Memory and Data Types?
Is it important to know about memory and Data Types in C++? I'm reading a book trying to self teach myself C++ and all of a sudden this book starts talking about memory and data types not really explaining why I need to learn why I need to learn data type unsign short, or short, just tells me that its Size is 2 bytes and the ranges, doesn't tell me why I should learn it. I guess I should also ask any if anyone knows of any good books to read about C++, this book was doing such a wonderful job of teaching me during the first chapter too.
C++ programming Memory and Data Types?
Yes Sure, knowing about Data Types and how much size does every type consumes in memory is really important to you
I will tell you why, you may not notice this now but in advanced state you may need to make an array of million or so, you may need to copy certain variables and arrays to memory to search among them faster.
Its all about optimizing the memory to the best so that you don't waste it, so you don't make a heavy program eating your ram
pink
C++ programming Memory and Data Types?
Yes Sure, knowing about Data Types and how much size does every type consumes in memory is really important to you
I will tell you why, you may not notice this now but in advanced state you may need to make an array of million or so, you may need to copy certain variables and arrays to memory to search among them faster.
Its all about optimizing the memory to the best so that you don't waste it, so you don't make a heavy program eating your ram
pink
Best open source projects site in java, vb, ms office, c, c++, Database programming?
Can any one tell me good open source projects site in java, vb, ms office, c, c++, Database programming, downloadeble, editable, tools
Best open source projects site in java, vb, ms office, c, c++, Database programming?
best open source project sits
http://sourceforge.net/
SourceForge.net is the world's largest Open Source software development web site, hosting more than 100,000 projects and over 1,000,000 registered users with a centralized resource for managing projects, issues, communications, and code. SourceForge.net has the largest repository of Open Source code and applications available on the Internet, and hosts more Open Source development products than any other site or network worldwide. SourceForge.net provides a wide variety of services to projects we host, and to the Open Source community.
Best open source projects site in java, vb, ms office, c, c++, Database programming?
best open source project sits
http://sourceforge.net/
SourceForge.net is the world's largest Open Source software development web site, hosting more than 100,000 projects and over 1,000,000 registered users with a centralized resource for managing projects, issues, communications, and code. SourceForge.net has the largest repository of Open Source code and applications available on the Internet, and hosts more Open Source development products than any other site or network worldwide. SourceForge.net provides a wide variety of services to projects we host, and to the Open Source community.
I started C++ programming about 3 months ago, im bad at maths, but good at C++, will I be able to 3D program?
I am one of the best in the course at programming, but never did it before this. One mentioned that you need to be really good at math to 3D program and that being good at 2D wont really help.
Is he right, or do I have a fighting chance? I am pretty bad with math :S (Il pass/do most math, but with a good bit of effort)
I started C++ programming about 3 months ago, im bad at maths, but good at C++, will I be able to 3D program?
Math plays an important role in 3d programming you need to be some what good at geometry, and algebra. I have done 3d programming and i am currently working on a game, I have used math more then several times. 2d programing is less math related. But if you really want to make a 3d program/game feel free I'm sure if your good at c++ you can do it but it won't be easy. contact me for more help.
Reply:Yes, you can do that. But download the latest DirectX SDK for the month. Then there are tutorials, examples, and more. But it's so awful, its so long (300+MB)
Is he right, or do I have a fighting chance? I am pretty bad with math :S (Il pass/do most math, but with a good bit of effort)
I started C++ programming about 3 months ago, im bad at maths, but good at C++, will I be able to 3D program?
Math plays an important role in 3d programming you need to be some what good at geometry, and algebra. I have done 3d programming and i am currently working on a game, I have used math more then several times. 2d programing is less math related. But if you really want to make a 3d program/game feel free I'm sure if your good at c++ you can do it but it won't be easy. contact me for more help.
Reply:Yes, you can do that. But download the latest DirectX SDK for the month. Then there are tutorials, examples, and more. But it's so awful, its so long (300+MB)
*************** programming C++****************?
i have an assignment for this week which is Write a program that reads in a five-digit integer and determines whether it is a palindrome. the instructor wants us to check to make sure that the user inputs a 5 digit number. It means that if user enter a character or press enter instead of a 5 digit number, the user should get a prompt that says "please enter a number."
is there any code for this in C++. i already tried the .length() but seems like this code is for the character and strings.
can anyone help me with that please? :)
*************** programming C++****************?
I have nothing to add on the other guy but I'll explain a little if ((x / 10000) %26gt; 0 %26amp;%26amp; (x / 10000 )%26lt; 10) verify that it's a 5 digits number you can replace it with ((x%26lt;100000)%26amp;%26amp;(x%26gt;9999)) but I advise you to make the input a string because later when you check if it's a palindrome it will be easier with a string
I hope you understand
Reply:unsigned int x = 0;
bool a = false;
do
{
cin "Enter a 5 Digt Number: " %26gt;%26gt; x;
if ((x / 10000) %26gt; 0 %26amp;%26amp; (x / 10000 )%26lt; 10)
{
then a = true;
else cout %26lt;%26lt; "Invalid Number!";
}
}while(a == false);
is there any code for this in C++. i already tried the .length() but seems like this code is for the character and strings.
can anyone help me with that please? :)
*************** programming C++****************?
I have nothing to add on the other guy but I'll explain a little if ((x / 10000) %26gt; 0 %26amp;%26amp; (x / 10000 )%26lt; 10) verify that it's a 5 digits number you can replace it with ((x%26lt;100000)%26amp;%26amp;(x%26gt;9999)) but I advise you to make the input a string because later when you check if it's a palindrome it will be easier with a string
I hope you understand
Reply:unsigned int x = 0;
bool a = false;
do
{
cin "Enter a 5 Digt Number: " %26gt;%26gt; x;
if ((x / 10000) %26gt; 0 %26amp;%26amp; (x / 10000 )%26lt; 10)
{
then a = true;
else cout %26lt;%26lt; "Invalid Number!";
}
}while(a == false);
HELP!! C++ programming?
can anyone help me do a project in c++ that displays in huge letters CS??? it would look something like this:
CCC SSSS
C SS
C SS
CCC SSSS
HELP!! C++ programming?
Here's Windows batch file 'bigtext' that does that in NT batch language - it will give you some ideas:
http://www.ss64.com/nt/bigtext.cmd.txt
periwinkle
CCC SSSS
C SS
C SS
CCC SSSS
HELP!! C++ programming?
Here's Windows batch file 'bigtext' that does that in NT batch language - it will give you some ideas:
http://www.ss64.com/nt/bigtext.cmd.txt
periwinkle
C++ Programming Problem - where do I start?
I have a program I have to write that calculates genotypes AA, AB, %26amp; BB in proportions x, y %26amp; z, for a number of generations that is an input to the program. I have a "function"for P, and then equations for succeeding proportions (x, y %26amp; z), and my problem is this. I know what I have to do, mathematically to get the final result. What I am not sure of where to start is the programming of the function within the program.
Does anyone have any ideas given my desciption? I do not want someone to tell me how to do it all - I just need a nudge in the right direction (IE the first step!).
Let me know if you need more information.
Many thanks in advance!
C++ Programming Problem - where do I start?
Consider this:
What are your inputs? The number of generations? Proportion/probability factors? What exactly are they?
What are your outputs? Proportions for the dominant and recessive genotypes? What else?
So now, you need to have a function that returns the outputs (appropriate return type), while taking in the inputs (arguments).
If you understand the algorithms needed to get the output from the input, then you know what to code inside the function.
Does anyone have any ideas given my desciption? I do not want someone to tell me how to do it all - I just need a nudge in the right direction (IE the first step!).
Let me know if you need more information.
Many thanks in advance!
C++ Programming Problem - where do I start?
Consider this:
What are your inputs? The number of generations? Proportion/probability factors? What exactly are they?
What are your outputs? Proportions for the dominant and recessive genotypes? What else?
So now, you need to have a function that returns the outputs (appropriate return type), while taking in the inputs (arguments).
If you understand the algorithms needed to get the output from the input, then you know what to code inside the function.
Subscribe to:
Posts (Atom)