Description:
Discussion about C.
|
|
|
new e-Book on multicore programming
|
| |
[link] Cilk Arts has published a free e-Book: "How to Survive the Multicore Revolution (or at Least Survive the Hype)" the ebook covers: - Background on the emergence of mainstream multicore processors - The key challenges facing software developers - An introduction to multithreading concepts... more »
|
|
Shifting in C
|
| |
Hi All, I have executed the below program and got 0x1f as output... Can anyone explain me why this output is coming instead of zero? Compiler - gcc int main() { unsigned long x = 65; unsigned long y = 0x3F; y = y >> x; printf("%x\n",y); return 1;
|
|
discount air jordan 1-23 shoes prada chanel dior sneakers 8-35USD(www.cicitrade.com)
|
| |
We are supplier in china,sell Jordan shoes,air max shoes,shox trainers, dunk shoes,air force one,etc..our company supply are as follows: 1).AIR Jordans shoes Jordan 1 jordan 1.5 jordan 2 jordan 3 jordan 3.5 jordan 4 jordan 5 jordan 5.5 jordan 6 jordan 6.5 jordan 7 jordan 8 jordan 9 jordan 9.5 jordan 10 jordan 11 jordan 12 jordan 13 jordan 13.5 jordan 14 jordan... more »
|
|
How to Initialize Complex Numbers
|
| |
I'm rather new to complex numbers in C and was wondering, how do I initialize a complex variable properly if the imaginary part is 0. I tried -------- ...float complex c = 1.0f; -------- and was told: Error ctest.c: 3 invalid initialization type; found 'float' expected 'struct long double _Complex'... more »
|
|
for and arrays
|
| |
I understand this code. int a[5]; int b; for (b=0;b<5;b=b+1) int a[b]; This should take every element of the array a and set it to 1,2,3,4,5. Great. Now for the big question. How would you work this? int a [5][3]; And make the first element of 5 all zeros and the second element of 3 equal to 1,2,3 ? I don't know how to work with a 2 dimensional array.... more »
|
|
A very interesting book
|
| |
Buffer overflows are a fact of life, and, more specifically, a fact of C. All is not lost however. In the book "Value Range Analysis of C programs" Axel Simon tries to establish a theoretical framework for analyzing C programs. In contrast to other books where the actual technical difficulties are "abstracted away",... more »
|
|
k&r2 ex 1-3 pg 13
|
| |
When k&r2 says to write a header for the program listed what's that mean? A header file? Some kind of text heading for the celcius program? Bill
|
|
|