Tagged Questions
-1
votes
1answer
145 views
Language Learning: Well documented C projects? [closed]
I started to learn programming in Java. Most projects, especially the standard library, are documented quite well. So well, that you actually often don't need more then the HTML documentation to learn ...
4
votes
2answers
208 views
Why use typedefs for structs?
in C (ANSI, C99, etc.), structs live in their own namespace. A struct for a linked list might look something like this:
struct my_buffer_type {
struct my_buffer_type * next;
struct ...
-1
votes
0answers
112 views
'delete' operator in dynamic memory allocation [closed]
In c++, I know that when a memory space is deallocated with a 'delete' operator and then one try to fetch what the pointer points to after the deletion, it always gives an unpredictable output. ...
3
votes
2answers
494 views
Why is C so high in TIOBE index of popularity, while C++ is just under here too, but not as popular? [closed]
I can't get my head around this. If C is so much used, but C is not C++, can someone explain to me the most important reasons that makes C more used than C++ ? Where is all this C code written for ?
...
0
votes
0answers
194 views
Why we coudnt make it? [closed]
It's been 3 years we are using c
We studied C in our graduation, Now i am doing my post graduation in CS at one of the reputed college.
In our graduation we studied structures, pointers, simple ...
41
votes
4answers
16k views
Why do programming languages, especially C, use curly braces and not square ones? [closed]
The definition of "C-Style language" can practically be simplified down to "uses curly braces ({})." Why do we use that particular character (and why not something more reasonable, like [], which ...
-4
votes
1answer
125 views
GCC compiler for C and other languages [closed]
I have gone through many reference documents about how a GCC compiler optimizes program. But I am not sure how actually a programmer request GCC attempt to optimize a program. Plz help answering this ...
0
votes
3answers
214 views
C/C++ in applications that do not concern performance [closed]
C is the best language (or maybe the single language) suitable for operating systems, drivers, embedded systems etc. For more complex domains like computer graphics C++ is a better choice. But these ...
-4
votes
1answer
325 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 ...
0
votes
2answers
223 views
Need some advice and feedback on my code's design
I am looking for feedback on the design of my program.
I have a shell script call function.sh that defines a lot of helper functions. My intent is to use those bash functions defined in functions.sh ...
0
votes
3answers
233 views
Which language is more suitable heavy file tasks?
I need to write a script (based on basic functions) to process /image/audio/video files. The process is mainly filesystem tasks and converts. The database of files has been stored by mysql. The script ...
-2
votes
2answers
547 views
Difference between C under Windows and C under UNIX [closed]
Does the 'power' of the C language change with the OS under which it is used ?
What exactly is the difference , from a programmer's point of view ?
PS : I want to dive deep into 'C' (Advanced C) ...
-3
votes
2answers
297 views
What language Nginx using? [closed]
I like to EDIT the nginx.conf , and nginx virtual host conf files.
What languages they are using for Editing? Perl ? or bash ?
And I like to learn how to write module for NginX too. What language I ...
3
votes
3answers
314 views
What are the options for setting up a UNIX environment to learn C using Kernighan and Richie's The C Programming Language?
I'm a novice programmer and have been experimenting with Javascript, jQuery and PHP but felt I wasn't getting a real depth of understanding of what I was doing. So, after reading Joel Spolsky's ...
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 ...
5
votes
8answers
817 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 ...
2
votes
0answers
140 views
CoffeeScript translates to JavaScript. Is there something like it for C? [duplicate]
Possible Duplicate:
Is there a language that transcompiles to C with a better syntax?
There are many language implementations which compile to C. However, most of them have some language ...
26
votes
4answers
2k views
C is written in C, how is this possible? [duplicate]
Possible Duplicate:
How could the first C++ compiler be written in C++?
I know my question goes to the underground galaxy cave where languages are born and involves some lambda math and ...
43
votes
14answers
6k views
What makes C so popular in the age of OOP?
I code a lot in both C and C++, but did not expect C to be the second most popular language, slightly behind Java.
TIOBE Programming Community Index
I'm curious as to why, in this age of OOP, C is ...
0
votes
1answer
371 views
going from C,C++ to php [closed]
I need some good professional advice from some of you.
Till now I had worked in c and C++ with having a good exposure to telecom background.This is around 8 years since I am working on these ...
2
votes
1answer
243 views
Do C library functions generally mimic the Intel assembly language style?
I'm looking at the basic strcpy function. It is
char *strcpy( char *dest, const char *src );
Which reminds me of assembly language: MOV DEST, SRC
17
votes
5answers
2k views
Why are several popular programming languages influenced by C? [closed]
The Top 10 programming languages, according to the TIOBE index seem to be heavily influenced by C:
1. Java
The language derives much of its syntax from C and C++ but has a simpler object model ...
2
votes
5answers
815 views
Correct For Loop Design
What is the correct design for a for loop?
Felix currently uses
if len a > 0 do
for var i in 0 upto len a - 1 do
println a.[i];
done
done
which is inclusive of the upper bound. This ...
-2
votes
2answers
307 views
Why we still need C in terms of development for high level programming modules? [duplicate]
Possible Duplicate:
I don't know C. And why should I learn it?
I was kind of awkward in coding with C, though I am somewhat familiar with it. I like Java and C#. The reason I like to ...
5
votes
3answers
436 views
Why is scanf called scanf? (Same for printf.)
I am just curious why in the C programming language the function to read formatted input was called "scanf" as opposed to "readf". I assume it is derived from an earlier language, so in that case why ...
4
votes
8answers
853 views
Why has the rate of programming language popularization slowed down in recent decades? [closed]
If I understand correctly, there was a huge birth of programming languages during the early decades of computing, but then things have stabilized.
Basically, why are many universities and industries ...
2
votes
8answers
617 views
Is C a MUST-learn language for programmer? [duplicate]
Possible Duplicate:
I don't know C. And why should I learn it?
I start my programming from Java, and learned PHP. Also, because of the work, I learned Objective-C. But most of the ...
46
votes
11answers
6k views
Why has C prevailed over Pascal?
My understanding is that in the 1980s, and perhaps in the 1990s too, Pascal and C were pretty much head-to-head as production languages.
Is the ultimate demise of Pascal only due to Borland's neglect ...
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 ...
15
votes
3answers
4k views
How could the first C++ compiler be written in C++?
Stroustrup claims that Cfront, the first C++ compiler, was written in C++ (Stroustrup FAQ).
However, how is it even possible that the first C++ compiler be written in C++?
The code that makes up the ...
39
votes
17answers
18k views
Is the C programming language still used?
I am a C# programmer, and most of my development is for websites along with a few Windows application. As far as C goes, I haven't used it in a long time, as there was no need to. It came to me as a ...
16
votes
5answers
729 views
Advantages of a left to right language syntax
I've been watching an interview with Herb Sutter on Channel9 and he mentioned at the end of the video that left to right language syntax would be on the top on his whishlist for a future C++ ...
14
votes
14answers
1k views
Is it common to prototype in a higher level language?
I'm currently toying with the idea of embarking on a project that far exceeds my current programming ability in a language I have very little real world experience in (C). Would it be valuable to ...
8
votes
7answers
3k views
Why does C dominate in the embedded software market?
Almost everyone will now say the blessing:
performance!
Okay, C does allow to write athletic code. But there are other languages that can do so, after all! And the optimising power of modern ...
21
votes
6answers
1k views
C programming in 2011
Many moons ago I cut C code for a living, primarily while maintaining a POP3 server that supported a wide range of OSs (Linux, *BSD, HPUX, VMS ...).
I'm planning to polish the rust off my C skills ...
5
votes
2answers
408 views
How can a Java programmer make the most of a new project in C or C++?
As a Java programmer, I'm looking to learn either C or C++ by writing a database manager. Obviously, Java shares many idioms with C and C++, but yet both bring vastly different program design ...
8
votes
3answers
283 views
what counts as “experience” with a particular language?
I'm a CS student currently in the process of looking for summer internships, specifically because I want to develop apps for Android and/or iOS. When looking over requirements for various ...
5
votes
6answers
1k views
Programming languages differences and efficiency, does it matter?
I am fairly new to programming, I have studied in computer science for 3 years at college, but as you know, school is only 2% of what really makes one a fully-fledged programmer.
I have a lot of ...
5
votes
2answers
239 views
Is the Lisp “family” of languages any more closely related than the “C-like-syntax” family?
I was recently thinking about the large variety of lisp languages, specifically the fact that while they all have similar syntax, and could all in theory be implemented from the same small set of ...
23
votes
17answers
3k views
How can I feel more confident about my programming skills? [closed]
Programming isn't alien to me. I first starting doing markup (HTML, now please don't laugh at me) when I was 12 and a little bit of BASIC when I was 13 (I knew much about Flowcharts, Pseudocodes at ...
7
votes
1answer
1k views
Is C a regular language?
Are C or C++ regular languages? If not, under which category do we place the programming languages like C/C++, perl, Python?
2
votes
3answers
468 views
Should one avoid or be careful with C99 features in C code?
Some seem to say that one should avoid C99 features in C code as compilers don't really support those features. C99 is a standard from 1999, shouldn't these features be quite widespread now?
Should ...
8
votes
7answers
1k views
What should a C programmer know? [closed]
What are some concepts/techniques/language features that every decent C programmer should know/be aware of (exclude general software engineering and similar and focus only on C specific stuff). I ...
9
votes
8answers
3k views
How is C different from C++?
Many people have said that C++ is a completely different language than C, but Bjarne himself has said that C++ is a language that is extended from C hence that is where the ++ comes from. So why does ...
84
votes
22answers
39k views
Is there any reason to use C++ instead of C, Perl, Python, etc.?
As a Linux (server side) developer, I don't know where and why should I use C++.
When I'm going to performance, the first and last choice is C.
When "performance" isn't the main issue, programming ...
18
votes
16answers
3k views
Would you use C, today, for a software project?
If yes, where and why would you use it?
If no, please provide an explanation to why C is not acceptable to you.
45
votes
15answers
5k views
I don't know C. And why should I learn it?
My first programming language was PHP (gasp). After that I started working with JavaScript. I've recently done work in C#.
I've never once looked at low or mid level languages like C.
The general ...
5
votes
6answers
2k views
Why should we use low level languages if a high level one like python can do almost everything? [closed]
I know python is not suitable for things like microcontrolers, make drivers etc, but besides that, you can do everything using python, companys get stuck with speed optimizations for real hard time ...
