comp.lang.c
http://groups-beta.google.com/group/comp.lang.c

Today's most active topics:

* Got time? - 15 new
  
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/a77c1d53b6055c04

* gcc: error: case label does not reduce to an integer constant - 12 new
 
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/fb0c6578b250322b

* Pointer initialization question... - 11 new
 
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/a73a5b31bd5dd852

* decimal to hexadecimal - 9 new
 
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/fbe2ff0108e35248

* Primers for Handel-C - 9 new
 
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/ec7b8743f6828856


Active Topics
-------------

Coding standards - 2 new
------------------------
...Which "we" are you talking about? It doesn't include me. I write if(foo(bar)
 != 0) ...But they are not. > but the True Style for Coding C is no secret: 
and no standard, either. ...Hardly. It's a common style, but its mindshare 
seems to be diminishing. this example ...Readable? I don't think so. I'd 
simplify the expression, tidy up - Tues, Dec 28 2004 8:30 am
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/45fff8e456da3b6e


Pointer initialization question... - 11 new
-------------------------------------------
...task. ...indented. ... [link] ...I do have a real news server. It's hard to
access cross country when I'm visiting family for the holidays. Thanks for the
alternative, though. ...first ...Besides, ...problem. ...No, the problem for 
you is that if half the people here help others - Tues, Dec 28 2004 12:46 am
11 messages, 7 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/a73a5b31bd5dd852


memory alignment - 1 new
------------------------
...Sure. The behavior can vary from one platform to another. I think most 
modern systems require strict alignment, generating a trap (such as a bus 
error) on a misaligned operand. But I've seen systems that can grab 4 bytes 
from an odd address (with or without a performance penalty), and others that 
quietly ignore the low-order two bits of the - Tues, Dec 28 2004 8:46 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/819b49c577553db9


fscanf question - most of line -> null - 1 new
----------------------------------------------
In article <[EMAIL PROTECTED]> ...Or, more simply, a 
suppressed-assignment single character reading directive, "%*c". Note that 
both of these have a drawback: if an earlier directive fails, they will not be
reached and therefore will not consume the newline. In particular, if a line 
does not - Tues, Dec 28 2004 8:43 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/c7079594ab4e2c97


about the keyword "register" - 8 new
------------------------------------
howdy.... plz take a look at the following codes, and tell me the reason. 1 #
define swap(a,b) a=a^b;b=b^a;a=a^b 2 3 int main(void){ 4 register int a=4; 5 
register int b=5; 6 swap(a,b); 7 8 return 0; 9 } The assemble code of the 
above code. - Tues, Dec 28 2004 5:17 pm
8 messages, 6 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/24fe35bd10111bf7


decimal to hexadecimal - 9 new
------------------------------
Hi everybody, can anyone tell me how to convert decimal number into 
hexadecimal of the folloxing format. If I give deciaml value of num=100, I 
need the output in the hexa decimal form as 0x64. I can able to get teh hex 
value 64 which of type char. But actually I want the ouput in the format of 0x
64. - Tues, Dec 28 2004 2:16 am
9 messages, 7 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/fbe2ff0108e35248


linklist - 5 new
----------------
1) Is there a way, to delete say "n"th node in a link list without actually 
traversing? 2) Is there a way to find out the number of nodes in the list 
without traversing? - Tues, Dec 28 2004 4:06 am
5 messages, 4 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/7f40ece18106c1bd


Primers for Handel-C - 9 new
----------------------------
Hi all, I need some good primer books on Handel-C. Plz. send-in the titles. 
Thanx in advance. - Tues, Dec 28 2004 4:07 am
9 messages, 6 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/ec7b8743f6828856


strncat copies junk values .... - 2 new
---------------------------------------
For me it prints the correct value. abcdefghi I am using HPUX c89 compiler. 
Why we need to initialize memory? - Tues, Dec 28 2004 4:18 am
2 messages, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/c3f41c30127b5549


declaring arrays with variable indeces - 7 new
----------------------------------------------
Hello, Is it possible to declare an array with variable indeces? i.e. int x = 
4; int myArray[x]; for (j = 0;j < 5;j++) { myArray[j] = j; } x = 5; for (j = 0;
j < 6;j++) { myArray[j] = j; } If it is possible I may have to use pointers, 
but I'm not sure how, and searching this group didn't come up with any answers.
 If anyone - Tues, Dec 28 2004 4:46 am
7 messages, 7 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/bf65dae25d8487ba


Pointers in c - 1 new
---------------------
...They don't give me the answer I would like to hear :-D - Tues, Dec 28 2004 
1:46 pm
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/fa61be9ea4fe3db1


struc problems - 1 new
----------------------
Lawrence Kirby <[EMAIL PROTECTED]> wrote in ...Indeed. - Tues, Dec 28 
2004 1:48 pm
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/87de91f99681ba36


Name help needed - 4 new
------------------------
We have strchr, that seeks a character in a character string In the x86 
architecture, there are processor specific search operations wired in the 
hardware that can efficiently look for a short, or an int. I would like to add
to lcc-win32's library two functions like this strshort(short *data, size_t 
len,short i); - Tues, Dec 28 2004 3:02 pm
4 messages, 4 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/d42b2ff2b7fd234b


Got time? - 15 new
------------------
I have taken a class for C and a class for C++, yet when I read through some 
code, I am seriously lacking. I have tried to read countless tutorial from 
numerous different sites and I even read my books, but there is something 
missing. I need some guidance. The tutorials aren't enough. I could use 
someone who could help me by letting me - Tues, Dec 28 2004 7:55 am
15 messages, 8 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/a77c1d53b6055c04


compiler bug or misuse of a cast? - 4 new
-----------------------------------------
Thanks to you, and to Jack, for replying. The replies were helpful, but don't 
get to the crux of my question -- which is my fault for framing the question 
as a gcc question and supplying a convoluted example. So I'd like to try again.
 int test(void) { int a = 17; a += 17; return a; ...If this function returned 
anything other than 34, the compiler would be - Tues, Dec 28 2004 10:08 am
4 messages, 4 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/2f38d4d20f0d7c55


How about this solution - 2 new
-------------------------------
Hi, I am also new with C.I am studying the C in course. I performed this 
solution just as Practice to me. I found this Problem among messages from this
page on Dec.27. The Problem says: Declare an array a[10], insert the first 
element of the array into the position specified by a following integer and 
print the contents. - Tues, Dec 28 2004 10:27 am
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/76186e4e56f045fd


gcc: error: case label does not reduce to an integer constant - 12 new
----------------------------------------------------------------------
Hi again, This is my problem: when i try to compile the code that contains the
function below, i get this: -- gcc:21: error: case label does not reduce to an
integer constant gcc:24: error: case label does not reduce to an integer 
constant -- Now, I (think that I) understand the error, but cryptMsg[i] surely
- Tues, Dec 28 2004 11:22 am
12 messages, 7 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/fb0c6578b250322b


Tips to Reverse engineering .DRV and .DLL !! - 1 new
----------------------------------------------------
You'll need: * disassembler like IDA; * strong knowledge of assembler; * very 
good knowledge of source language (typically C or C+ASM in case of .DRV); * 
strong knowledge of compiler patterns, e.g. how exactly source language 
structures translated by compiler into assembler; * patience. ( [link] / 
Reverse engineering services) - Tues, Dec 28 2004 12:31 pm
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/e91f32eda3d34018


This C program prints 1 - why? - 2 new
--------------------------------------
Correct. You may also use (char *)&a[1] - (char *)&[0] - Tues, Dec 28 2004 2:
01 pm
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/b36fabe7ede599ca


Problem doing an e-mail program in C - 5 new
--------------------------------------------
hi there peeps... like I say in the topic, I need to do an e-mail program in C
language, and has to be made until the 3th of january..the problem is I'm 
having some problems with it. I was wondering if someone had a program like 
this..it has to send e-mails, read e-mails from a .txt file and show them in 
the screen with - Tues, Dec 28 2004 5:06 pm
5 messages, 5 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/a07c053a6829c214


Language efficiency of C versus FORTRAN et al - 2 new
-----------------------------------------------------
In article <[EMAIL PROTECTED]>, ...For 
details of various processors, go to [link], [link], [link] etc. etc. You will
find all the information about processors that you want, with as much detail 
as you want. A Google search will at least find a freely available copy of the
- Wed, Dec 29 2004 12:15 am
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/d2a96d38c42413


Given an array a[N] with value 1...N, find a repeted value - 1 new
------------------------------------------------------------------
Groovy hepcat [EMAIL PROTECTED] was jivin' on 25 Dec 2004 08:29:55 -0800 
in comp.lang.c. Given an array a[N] with value 1...N, find a repeted value's a
cool scene! Dig it! ... Your instructor misspelled "repeated". The 
specification isn't even clear. And he apparently failed to teach you how to 
do your own - Wed, Dec 29 2004 12:31 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/df88efab84cf30ee


is NULL-checking redundant in accessor-functions? - 3 new
---------------------------------------------------------
Just tracing amongst a landscape ahead of the supper is too disciplinary for 
Marty to try it. Until Waleed suspects the Hills cheerfully, Hakeem won't jump
any bottom sunshines. He'll be securing in front of circular Chuck until his 
personality kisss in general. Don't try to claim a owner! All - Tues, Dec 28 
2004 11:37 pm
3 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/e5cdaa79d02d5ded


Pointers are writing a messaging proxy in C - 2 new
---------------------------------------------------
I want to begin a project to write a proxy for instant messaging protocols in 
C and make it posix compliant. I originally wanted to write the proxy for one 
protocol, but not im thinking if i was to write one i want to make it modular 
to handle a few. The platform of development will be FreeBSD, but that's 
really neither here nor there. My question - Wed, Dec 29 2004 4:00 am
2 messages, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/c26982b324cdfc1b


printf - 4 new
--------------
Hi, Where can I find the source for printf ? John - Wed, Dec 29 2004 7:05 am
4 messages, 4 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/e860a642872579b



==============================================================================

You received this message because you are subscribed to the Google
Groups "comp.lang.c" group.

To post to this group, send email to [EMAIL PROTECTED] or
visit http://groups-beta.google.com/group/comp.lang.c

To unsubscribe from this group, send email to
[EMAIL PROTECTED]

To change the way you get mail from this group, visit:
http://groups-beta.google.com/group/comp.lang.c/subscribe

To report abuse, send email explaining the problem to [EMAIL PROTECTED]

==============================================================================
Google Groups: http://groups-beta.google.com 

Reply via email to