Skip to main content

Questions tagged [c]

C is a general-purpose computer programming language used for operating systems, games and other high performance work.

Filter by
Sorted by
Tagged with
16 votes
7 answers
1k views

I have a lot of MATLAB code that needs to get ported to C (execution speed is critical for this work) as part of a back-end process for a web application. When I attempt to outsource this code to a C ...
gkdsp's user avatar
  • 497
12 votes
4 answers
3k views

Has the Windows 32 API changed much over time? Does the Charles Petzold book "Programming Windows, 5th Edition" from 1998 still contain relevant information, or is most of it obsolete/outdated? What ...
fredoverflow's user avatar
  • 6,954
7 votes
6 answers
11k views

I can't imagine that there's any reason not to use the OOP features of C++. It's is just as fast as C, and - what's more important to me - it's transparent, just as C. (I mean "transparent" that I ...
ern0's user avatar
  • 1,045
23 votes
9 answers
49k views

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 ...
Joshua Partogi's user avatar
2 votes
1 answer
330 views

This debate has cropped up on a mailing list for a project I'm involved in. Unfortunately we're quite a small bunch at the moment, so I want to ask a wider audience. We're writing a C library (for ...
user avatar
1 vote
1 answer
379 views

What Obj-C/C libraries have you used for manipulating git repos in your Mac apps? I am working on a Mac app that I would like to be able to clone and modify git repos. Using git directly is not an ...
Andrew Theken's user avatar
1 vote
3 answers
363 views

There is plenty of material about designing software for object oriented programming. Do you know of any good materials for pure structural programming? I am working purely in C and while I can use ...
gruszczy's user avatar
  • 602
9 votes
21 answers
17k views

Possible Duplicate: I don't know C. And why should I learn it? My goal is to be able to create online apps and dynamic, database driven websites. For instance, if in the future I get the idea for the ...
user avatar
2 votes
5 answers
380 views

I am working on a open source project in pure C, that I have started some time ago, but only recently found time to add some features. I can clearly some weaknesses of my old design, so I am trying to ...
gruszczy's user avatar
  • 602
6 votes
3 answers
2k views

This reply to the question "I don't know C. And why should I learn it?" has me interested in learning C. What is a good self-instruction program (textbook/website/OpenCourseWare, etc.) for someone who ...
RexE's user avatar
  • 249
170 votes
18 answers
202k views

As a Linux (server side) developer, I don't know where and why should I use C++. When I'm going for performance, the first and last choice is C. When "performance" isn't the main issue, programming ...
10 votes
3 answers
2k views

The first abuse that comes to my mind in C is: #define if while But at the same time it is extremely handy and powerful when used correctly. Something similar happens with Common Lisp macros. ...
OscarRyz's user avatar
  • 1,665
18 votes
16 answers
6k views

If yes, where and why would you use it? If no, please provide an explanation to why C is not acceptable to you.
Luca Matteis's user avatar
8 votes
3 answers
4k views

I have seen C code where people used enum heavily. But all it does is confuse others. In many places plain integers can do the same thing with less ambiguity. What are the common misuses of enum?
Gulshan's user avatar
  • 9,542
2 votes
5 answers
612 views

What apsects of Java are the most diificult to learn when coming from such a background? What common mistakes do people make ? What are the top timesaving and produtivtity increasing tricks ? If you ...
NimChimpsky's user avatar
  • 4,670
48 votes
16 answers
24k views

I'm graduating in a couple of weeks, and my resume (as expected) lists the languages that I've had experience with. Previously I've put "C/C++", however back then I didn't have that much experience ...
35 votes
13 answers
23k views

For years I have considered digging into what I consider "low level" languages. For me this means C and assembly. However I had no time for this yet, nor has it EVER been neccessary. Now because I ...
back2dos's user avatar
  • 30.2k
2 votes
1 answer
321 views

How can I move a library inside a project's source tree and compiling static binaries? I want to use a particular tool that utilizes ANCIENT binaries without upgrading it's API usage. This way I can ...
RobotHumans's user avatar
1 vote
1 answer
603 views

Not specific code writing practices. Please also include reasoning. My start: use GCC or Clang gcc because it is unchallenged in the amount of static checking it can do (both against standards and ...
Šimon Tóth's user avatar
9 votes
3 answers
2k views

Clang is able to be used instead of gcc? What your experience on that? What disadvantages there are yet? Performance of compilation is very better than gcc but about performance of code generated ...
AArteDoCodigo.com.br - Maniero's user avatar
45 votes
5 answers
130k views

Many tend to write "C/C++", as if they were the same thing. Although they share many similarities, they are clearly not the same. But what are really the fundamental differences between C and C++? Is ...
gablin's user avatar
  • 17.6k
15 votes
10 answers
5k views

Just a random observation, it seems that on StackOverflow.com, there are questions about if "++i == i++". That question gets asked all the time though, I think I saw it asked about 6 or 7 times in the ...
Michael Stum's user avatar
  • 1,778
58 votes
15 answers
95k views

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 ...
7 votes
6 answers
18k views

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 ...
killown's user avatar
  • 1,466
12 votes
4 answers
2k views

Possible Duplicate: int* i; or int *i; or int * i; Thinking about where we place our asterisks; how do those that prefer to keep the "pointerness" away from the type and with the identifier (int *...
user avatar
37 votes
12 answers
99k views

What is your favorite method to declare a pointer? int* i; or int *i; or int * i; or int*i; Please explain why. see also: http://www.stroustrup.com/bs_faq2.html#whitespace
Lesmana's user avatar
  • 1,559
24 votes
16 answers
18k views

I am pretty good with C++, good as in I am comfortable with the language, I have read Accelerated C++ and done almost all the exercises. However, I have a big problem. Do I need to learn C? I have ...
152 votes
6 answers
44k views

With all the new "modern" languages out today, how is it that C is still heralded as the fastest and "closest to the machine"? I don't really believe in there ever being only one correct way to do ...
63 votes
11 answers
2k views

I am very eager to study best practices when it comes to space hardening. For instance, I've read (though I can't find the article any longer) that some core parts of the Mars rovers did not use ...
user avatar
86 votes
19 answers
74k views

I've always heard that C is the language of choice to use for embedded systems, or anything that needs to run at maximum speed. I never developed a fondness for C, mostly because I don't like pointer ...
Juliet's user avatar
  • 2,787

1
25 26
27
28 29
45