Tagged Questions
8
votes
4answers
278 views
What situations are appropriate for C# to C interop?
Given that C# has the unsafe keyword, are there situations in which it would still be beneficial to interoperate with C libraries?
I could see the need for very fast number crunching, graphical ...
-4
votes
1answer
308 views
Learning advanced programming [closed]
I'm from India and it's not really a good place for learning and education. I'm an IT student, I've been studying various programming languages like Java, C, C++, VB etc. And its my final year in ...
3
votes
5answers
303 views
Does comparison operand order affect speed?
I notice that someone in my organization programs comparisons like:
if (100 == myVariable)
rather than:
if (myVariable == 100)
He claims the former is quicker in languages like C++. I can't ...
3
votes
1answer
161 views
Parallel Threading in Multi-Language Software?
I'm developing a software that contain many modules/Daemon running in parallel manner, what i'm looking for is how to implement that, i cannot use Thread because some of those modules/Daemon are ...
56
votes
12answers
15k views
How can I convince my boss that ANSI C is inadequate for our new project? [closed]
A few months ago, we started developing an app to control an in-house developed test equipment and record a set of measurements. It should have a simple UI, and would likely require threads due to the ...
0
votes
3answers
645 views
How to create interest in programming? [closed]
I am student of 3rd year software engineering, and I find myself nowhere in field of programming.
I know basics of programming languages like C, C++, Java, Visual Basic, HTML, JAVAScript, CSS and ...
3
votes
2answers
670 views
Partitioning set into subsets with respect to equality of sum among subsets
Let's say I have {3, 1, 1, 2, 2, 1, 5, 2, 7} set of numbers, I need to split the numbers such that sum of subset1 should be equal to sum of subset2 {3,2,7} {1,1,2,1,5,2}. First we should identify ...
5
votes
8answers
810 views
Is there a point to writing in C or C++ instead of C# without knowing specifically what would make a program faster?
I wrote a small library in Python for handling the xbox 360's STFS files to be used on my web applications. I would like to rewrite it for use in the many desktop programs people are writing for 360 ...
1
vote
1answer
350 views
Windows GUIs: How Long Will 'Deprecated' APIs Last? [closed]
Note I said 'deprecated' and not 'abstracted'. Back in the days of the MFC, the WinAPI wasn't deprecated because, from what I've read, the MFC merely abstracted the WinAPI. There's a difference, for a ...
8
votes
3answers
1k views
How much C/C++ knowledge is needed for Objective-C/iPhone development?
First, a little background. I'm a .Net developer (C#) and have over 5 years experience in both web development and desktop applications. I've been wanting to look into iPhone development for some time ...
6
votes
2answers
734 views
The need for Explicit Type Conversion in C#
Consider the following code:
DerivedClass drbObj = (DerivedClass)obj;
Here obj is of type Object and this is reasonable since Object is the base type of every Class in C#.
Here, since the type of ...
65
votes
16answers
6k views
Do the young minds need to learn the pointer concepts?
Why did the C master Dennis Ritchie introduce pointers in C? And why did the other programming languages like VB.NET or Java or C# eliminate them? I have found some points in Google, and I want to ...
4
votes
9answers
743 views
The definition of C-based language
What is the definition of C-based language?
Is C# considered to be C-based?
Is Java considered to be C-based?
Furthermore, what does it mean for a language to be based on another language anyway?
6
votes
11answers
2k views
Learning C, C++ and C#
I'm sure you guys are tired of this question but after wading through hours of similar posts and questions I've really not made any progress to my specific concerns.
I was hoping you guys could shed ...