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

Today's most active topics:

* call to malloc with size 0 - 20 new
  
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/ac4d191d274907c6

* char vs int - 11 new
  
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/513350d660d42aa4

* a[3] <===> *(a + 3) ??? - 10 new
  
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/12202735902b4eac

* qsort - 9 new
  
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/2329e52e47f51f82

* Got stuck with wchar_t *argv[] - 7 new
  
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/37c26b68834147a8

 
Active Topics
=============

Can I write spyware, spambots and worms in C ? ? ? - 3 new
----------------------------------
... Why do you want to annoy yourself? ... -   Thurs,  Nov 18 2004 1:01 am
3 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/c94dc27dfb2c6709

query on #ifndef _FILENAME_C - 3 new
----------------------------------
There are #ifndef _FILENAME_H used in header files and I very well understand 
their usage. But I dont know what's the exact use when ... Thanks Ahmed. ...
-   Thurs,  Nov 18 2004 1:04 am
3 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/fca3725374540c93

C socket programming UDP - all new
----------------------------------
Hi again, Thanks to everyone for their comments and help. I will also try the
sockets, so comp.unix.programmer group. Thanks again, Ted ...... -   Thurs,
 Nov 18 2004 1:21 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/fb082ab5f282b26c

Got stuck with wchar_t *argv[] - 7 new
----------------------------------
Hi there, i really got stuck on working with this. The user should be able to
set his usr_delay as argument and later on i want to do some math with this (
adding usr_delay to the time i get from the NetRemoteTOD function) so i need 
to convert the userinput to int. int wmain(int argc, wchar_t *argv[]) { 
LPTIME_OF_DAY_INFO pBuf = NULL; NET_API_STATUS nStatus; LPTSTR 
pszServerName = NULL; int usr_delay; pszServerName = argv[1]; 
usr_delay = *argv[2] // definitely won't work!! It's just an example for what 
i want to do.... -   Thurs,  Nov 18 2004 1:40 am
7 messages, 5 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/37c26b68834147a8

unanswered questions - 6 new
----------------------------------
... Someone who might know the answer might have missed my question then or 
might have been too busy; new people start to appear in the newsgroup who 
might be able to answer; I might have been fuzzy and may want to clarify my 
question this time. I think these are all valid reasons. ... How to tell? 
Sometimes I see questions and answers in csc that I would qualify for clc (I 
don't mean obvious mis-addressings). Could it be that more difficult 
questions are asked in csc? In that case I'd rather like to be told to ask 
there rather than to... -   Thurs,  Nov 18 2004 2:07 am
6 messages, 4 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/7d3a6e6860d3c3b5

Quiting a program using pure C - 2 new
----------------------------------
... C99 guarantees all of (a)-(c): "6.3.1.2 Boolean type ... (Which is 
germane to the bool concept and you would expect or hope it to hold also in C
99.) Still, assert takes a scalar argument also in C99 even though AFAICS it
could just as well have been redefined from C89 to take a bool. Daniel 
Vallstrom ... -   Thurs,  Nov 18 2004 2:10 am
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/64c944589e3ebd58

How to read data ? - 3 new
----------------------------------
... I have written a simple program check this. I am also using that there 
will be a FULL STOP at the end of the text file. SEE the COMMENTs in the
program. below !!! ... FILE *fp; char buf[6]; // of size size 6 
because File has integers ... char fch; if ((fp = fopen("c:\\dummy.
txt","r+b")) == NULL) { ... while ((fch = fgetc(fp))!= EOF) { ... 
arr = (int *) malloc(nofcomma + 2); //allocate so much of memory. rewind(fp)
; // set the pointer aagain to the beginning while ((fch = fgetc(fp))!= 
EOF) {... -   Thurs,  Nov 18 2004 2:22 am
3 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/a69e10059208d734

Definition of NULL - 6 new
----------------------------------
... The representation of void* and char* is the same. N869 ...... -   Thurs,
  Nov 18 2004 2:48 am
6 messages, 5 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/6c604861d0d193ac

call to malloc with size 0 - 20 new
----------------------------------
Neo wrote: ... No. It's a mistake that people make when they neglect to 
include stdlib.h, and the compiler consequently warns them that malloc is 
returning type int and needs to be cast. Add ... ... -   Thurs,  Nov 18 
2004 3:06 am
20 messages, 14 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/ac4d191d274907c6

qsort - 9 new
----------------------------------
... int compare(const void* a, const void* b); int main(void) { ... int 
compare(const void* a, const void* b) { const int aa = *(int*)a; const
int bb = *(int*)b; return bb > aa ? -1 : aa > bb; ...... -   Thurs,  
Nov 18 2004 3:15 am
9 messages, 6 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/2329e52e47f51f82

Question about setjmp on Itanium HPUX. - 6 new
----------------------------------
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... 
Thanks for that reply and all the others. I think the executive summary is 
that we are fine as long as we align on 16 byte boundaries. So we must be 
doing something silly. The guy who looked at this in more detail says he 
changed our allocation code to align to 16 bytes but I wonder if he made a 
mistake. ... -   Thurs,  Nov 18 2004 3:19 am
6 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/d2ba06fe57d25c4e

assembly to C / C++ / VC++ conversion tool !!! - all new
----------------------------------
On 17 Nov 2004 22:31:47 -0800, in comp.lang.c , [EMAIL PROTECTED] ... This
isn't topical here, since we only discuss C. Also, there are a hundred 
different assembly languages, as many as there are chip types, so there's no 
single answer. You need to ask in a group specialising in your hardware and 
OS platform. Be warned, there may be no answer. ... -   Thurs,  Nov 18 2004 
3:16 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/18cfc37930ddf4a6

Learning C - 4 new
----------------------------------
On 17 Nov 2004 17:34:28 -0800, in comp.lang.c , [EMAIL PROTECTED] (Wes) wrote:
 ... '\a' is the Alert escape sequence. How your OS interprets it is platform-
specific - you need to ask in a group specialising in your OS. Maybe it 
flashes the window border, or briefly inverts the title bar or something.... <
OT> On my PC (Win2K) it beeps the pc speaker ie the one inside the case. 
Perhaps your PC doesn't have a case speaker. External speakers attached to 
your sound card are not the same thing at all. </OT>... -   Thurs,  Nov 18 
2004 3:21 am
4 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/7c3b9722743bd9e

what does that have to do with C? - all new
----------------------------------
C is a computer language, not a torture tool. The guy who wrote you is crazy. 
He does not know what he's talking about. He's shizophrinic and this is off 
topic for comp.lang.c or any other usenet. Keep this kind of crap off the 
internet. ... -   Thurs,  Nov 18 2004 3:25 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/7a4a7abf9daae805

Projects - 3 new
----------------------------------
... It is incorrect. Your version of strcmp evaluates the bytes as type char. 
The bytes are supposed to be evaluated as type unsigned char. If the value of 
the first byte of the s string is -1 and the value of the first byte of the t 
string is -2, then your version will always return a value of -1, though the 
return value should be dependent on the representation of negative integer 
values. N869 ... int str_cmp(const char *s1, const char *s2) { const 
unsigned char* p1 = (unsigned char*)s1; const unsigned char* p2 = (
unsigned... -   Thurs,  Nov 18 2004 3:31 am
3 messages, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/ccd237f7b9a34c9a

>>> TERRORIST AND EVIL ANGLO-SAXON RACE AND RELIGION <<< FACTS YOU WONT HEAR -
all new
----------------------------------
... You are so full of shit. Everybody knows the terrorists are the Saudis and
Jordanians and the Syrians. Look at Iraq. The terrorists there are middle 
easterners who are not from Iraq. US armed forces and the Iraqi army will 
restore peace there. Muslim is not a religion. its an excuse to strike out at 
other religions. The African-Americana here are better off now than thier 
counterparts in Africa. Africa is dying. The Middle East, unless it gets help,
will die too. We need Africa and the Middle East, and democracy must prevail...
. -   Thurs,  Nov 18 2004 3:36 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/695b63ba9e4b458f

nonzero != 1, right? - all new
----------------------------------
... if x2 is of type int and -INT_MAX > x2, then (-x2) is undefined. ... No. .
.. -   Thurs,  Nov 18 2004 3:47 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/26814eeabc379360

C = only language that easily deals with shared mem. access ? - 2 new
----------------------------------
Mark McIntyre  wrote... ... Thks. ... -   Thurs,  Nov 18 2004 4:13 am
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/3eef7c0d54d7ae47

Compiler warning level - 3 new
----------------------------------
... Or maybe that some of them are and some aint : 0x1 is signed or unsigned
depending on context 0x80000000 is unsigned on architectures with 32 bit ints.
and so is 0xffffffff. Chqrlie. ... -   Thurs,  Nov 18 2004 5:27 am
3 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/d7360ceb0613160

const members - 3 new
----------------------------------
... I'm not sure I understand why you say "over-complicated"; think of new_
mystruct() as an allocator and constructor (C++: mystruct *msp = new mystruct;
). I'll continue in reply to Lawrence Kirby. ... -   Thurs,  Nov 18 2004 5:
39 am
3 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/193c2f433670ba08

derangement: coding review request - 4 new
----------------------------------
 ... FAMSIZ (range), we need to toss out some values for rand. My opinion as 
to how many we toss out has differed with others by one. This difference can 
be reconciled by comparing with strict inequality, but I see you have a >=. (I
can keep typing til the boy finishes his bottle.) RAND_MAX is usually 0 x 7
fff = 32767 and FAMSIZ is usually going to be 52. That would make high = 
32767 - 32767 % 52 = 32767 - 7 = 32760 . For kicks and giggles, let's 
doublecheck. 32760 % 52 = 0 . I just don't see how it is you don't have... -
  Thurs,  Nov 18 2004 5:37 am
4 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/63c5271ccb9149a

a[3] <===> *(a + 3) ??? - 10 new
----------------------------------
 How close to equivalent are the expressions a[3] and *(a + 3) ? 
Can they be used entirely interchangeably, or are there situations in which 
one will be OK and the other one not? Thanks! Karl ... -   Thurs,  Nov 18
2004 5:59 am
10 messages, 9 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/12202735902b4eac

seems OT; relevance demonstrated - all new
----------------------------------
... Hey guys, have you seen my glasses ? I need them to read clc... PS: 
Allegro, non troppo ... -   Thurs,  Nov 18 2004 6:05 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/909d9b0c9ff87435

functions and main - all new
----------------------------------
 ... etymology of foobar entsteht aus 'furchtbar.' So laeuft det nich. MPJ .
.. -   Thurs,  Nov 18 2004 6:09 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/2ee0766a9fdd1423

has anyone followed sedgewick's "algorithms in c parts 1-4"? - all new
----------------------------------
In article <[EMAIL PROTECTED]>, bazad ... but the 
type of code that's missing is packaging / setup code, essential but periferal
to the workings of the algorithm. even if missing lines of code and the act of
filling in the gaps, second guessing, is a good way to teach/learn (which i'm 
not sure about), the area that the missing parts cover are in an unsuiteable 
book. they would be more appropriate in a 'how to programme in c' book than an
algorithm book. the hand waved / missing parts of code has... -   Thurs,  
Nov 18 2004 6:52 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/33d33976ce524504

Getting time in milliseconds - all new
----------------------------------
... You are so obnoxiously off topic here ! Chqrlie ... -   Thurs,  Nov 
18 2004 7:02 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/565dd04823f976b2

char vs int - 11 new
----------------------------------
... ... That's good advice for code that is meant to be executed. It's bad 
advice for code that is meant to merely illustrate a point, because the error 
checking code distracts the reader from the real purpose of the code. ... 
It's not any safer than the original, but it is less readable and has higher 
maintenance overhead (the magical constant 4 appears in two places instead of 
one). Even in more complex examples, it is open to debate whether this is the
right thing to do: silently generating the *wrong* result is seldom a... -   
Thurs,  Nov 18 2004 7:07 am
11 messages, 7 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/513350d660d42aa4

How does C cope if architecture doesn't address bytes? - all new
----------------------------------
... Hmmm... I was rather imagining an implementation handling malloc alignment
in the implementation, rather than in either part of it. If compiler and 
library are so strictly separate that there is no communication between them, 
you do lose a lot of these optimisation tricks, that much is true. ... 
Certainly; but it's also quite legal to apply optimisations when you know you 
can, and leave them out when you can't determine their validity. ... I'm not 
sure. The Standard says ... It is possible to read this as saying that... -  
Thurs,  Nov 18 2004 7:25 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/30200c2a3cb93e0a

Learning C from old books ?? - 2 new
----------------------------------
HI all again,I just thought I give you a list of the books I have for you to 
say yay or nay to as far as good learning tools. I don`t know if it`s 
relevent,but I have a little machine code and assembler experence from the old
c64 days,I never really used basic,and have no real experence of other 
languages,I don`t like being kept to far removed from the machine,thats what i
liked about the old MC/assem all those bit/byte opps. I have looked at things
like Pure basic,as as a start in PC programming,but I like somthing about C,I 
hate the idea of... -   Thurs,  Nov 18 2004 7:31 am
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/187ec3296ad0ead9

Memory allocation by malloc - 2 new
----------------------------------
... What I seem to be doing is only partly under my control; the eye of 
the beholder has much to do with it. My intent was to refute your implication
that all malloc()/etc. implementations (1) used free lists, (2) conducted 
searches through them, and (3) combined adjacent free areas. The "obscure
exceptions" include Solaris (which provides about half a dozen different 
implementations with different data structures and different trade- offs), the
Hoard thread-optimized memory allocator, and (I'm led to believe) at least 
some of the... -   Thurs,  Nov 18 2004 7:41 am
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/ccf7007aa81f1932

Directory/File recursive listing using standard/portable C? - all new
----------------------------------
... ... getting narrower and narrower. I've witnessed the phasing out of 
mainframes at two sites, but I've never seen a site adopting them as the right
solution for its problems. I've a strong feeling that the new mainframes sold
replace old mainframes rather than increasing the number of mainframes in 
current use. Hence the "legacy" thing. ... The users are happy that their 
legacy applications continue to work. Few people develop *new* applications 
for that platform. ... I don't think so. Compare the number of... -   Thurs,
  Nov 18 2004 7:37 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/6bb13eb49896e55a

The C language on Mars - 2 new
----------------------------------
 ... surprised me because I thought to put a fair amount of effort into it. 
But as I look at this message, my > > comments don't seem to have antecedents 
on the pronouns. (?) MPJ ... -   Thurs,  Nov 18 2004 7:59 am
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/40888ed3d75514c8

char array initialization: Is 'char a[] = ("a")' valid ANSI C? - all new
----------------------------------
 ... Thanks for the correction. How about "not with expressions that contain 
a string literal and evaluate to an array of char or a pointer to char"? ... 
There might not be a failure of compliance, but that doesn't mean there's no 
compiler bug. QoI issues can be bugs, too. ... It appears to be. The 
initializer for an aggregate can be a brace- enclosed list of values (an 
initializer-list). That's the outer braces. The list of values applies to 
the members of the aggregate, so what we need inside the outer braces are... -
  Thurs,  Nov 18 2004 8:19 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/2f5945f014c2cbd0

C/C++ code beautifier - 3 new
----------------------------------
 ... Recently shown here to be false. ... Replacement constitutes competition.
 ... If this is taken in any strict sense, it is false. If it is taken 
loosely, it is inconsequential. ... A meaningless statistic. Zero for four. .
.. -   Thurs,  Nov 18 2004 8:35 am
3 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/acd7f8376b921f9

getting variable type in C - 2 new
----------------------------------
... Such algorithms are highly unlikely to get implemented as macros. ... 
When was the last time you've made such a change to a macro? If it's not 
something very straightforward, you probably don't want to implement it as a 
macro. Otherwise, debugging and maintenance become a nightmare. Multiple 
temps are nice when you want to write macros with true function call 
semantics, to avoid multiple evaluation of the macro parameters. However, I 
can happily live with multiple evaluations and never include side effects in 
the expressions passed as... -   Thurs,  Nov 18 2004 10:35 am
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/3c5bebf4c0625e0b

COMP3 Packed Decimals - all new
----------------------------------
... Hello, This is a very complete answer to the OP, I just have some C 
style related remarks. ... I would pass BufSize as the second parameter to 
emphasize that it refers to Packed rather than Text. ... Although this 
expression is correct, it is advisable to put extra parens around *Text - '0' 
to avoid misinterpretation by the casual reader and extra warnings by the 
caution compiler fitted with defensive settings. Chqrlie. ... -   Thurs,  
Nov 18 2004 11:37 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/7cc0d788ae29187

register variable - 7 new
----------------------------------
 I have a few doubts regarding the register variable. Though the C standard 
says that it is illegal to access the address of a register variable, the GCC 
compiler gave only warning. At run-time also, there was no error (probably, 
the register variable is converted into an 'auto' variable by the compiler). 
Suppose the register variable is not converted into 'auto' variable, then at 
run-time, will it give error? So far I've not come across a situation where 
the variable declared as 'register' is actually put... -   Thurs,  Nov 18 
2004 10:16 am
7 messages, 7 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/c8ebfc97ce3d1f0d

need for doubly linked list - 5 new
----------------------------------
 Whether browsing forward or backward can be done using a singly linked list. 
Is there any specific case where a doubly linked list is needed? For people 
who say that singly linked list allows traversal only in one direction, I 
would say that using appropriate loops/recursion, traversal in opposite 
direction is also possible. Then why the need for doubly linked list? -- 
dssuresh6 ... ... -   Thurs,  Nov 18 2004 10:11 am
5 messages, 5 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/aa64735d8b671881

getc and ungetc - 3 new
----------------------------------
 Would getc and ungetc be the best and most simple what to parse 
expressions for a parser? Bill ... -   Thurs,  Nov 18 2004 12:21 pm
3 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/d9a46731ea9ea57c

fast array copy - 6 new
----------------------------------
Hello, I'm writing a function that updates an array. That is, given an array,
 change each element. The trick is this: I can't change any elements until 
I've processed the entire array. For example, the manner in which I update 
element 1 depends on several other (randomly numbered) elements in the array. 
So, I can't change an element until I've figured out how every element changes.
 To do this, I am simply creating a duplicate array and writing the new 
values in that array. When I'm done, I copy the new array over the... -   
Thurs,  Nov 18 2004 12:43 pm
6 messages, 6 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/e6036b4e733b6e1a

Tool for buffer overflow - 2 new
----------------------------------
Which is the best tool for discover buffer overflow, both for static array and
array allocated with malloc, during debugging? What about Rational Purify? 
Someone can give a good advice? Best regards ... -   Thurs,  Nov 18 2004
1:10 pm
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/173d4b631690ed39

how to do this? - 5 new
----------------------------------
Hi, I am working on a program which can do numerical evaluations for 
integrations. The program I have is like this, double foo(p1, p2) double p1, 
p2; { double kk,step; int ii; step_sz=(p2-p1)/100.; kk=0.; for (ii=0;ii<100;ii+
+) kk+=sin(p1+ii*step_sz)*step_sz; return (kk); ... This program used the 
basic Newton method. My question is here in my program foo, I can only 
calculate the integrations for a sine function. If I want to do an 
integration for a cosine function, I need to rewrite another function foo1 
with cosine being inserted in. I am sure... -   Thurs,  Nov 18 2004 2:01 pm
5 messages, 4 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/8d010b8ce5211f65

i need help with this card game! - 4 new
----------------------------------
Hi there , I am facing problem i need to represent an array of cards, to add 
Knuth’s shuffle routine to it. Thanks in advance if someone could help. ... 
int main() { int cards[52]; int i; int suit; int number; 
for (i = 0; i < 52; i++){ suit=i/13; // prev i had suit=cards[i]/
13; number=(i%13)+2; // and number=(cards[i]%13)+2; printf("Card 
for %d is ", i); // but that dosent do the trick switch (suit) ... 
if (number < 11) ... ... -   Thurs,  Nov 18 2004 3:18 pm
4 messages, 4 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/f99746be0e7010af

How to best parse a CSV data file and do a lookup in C? - 6 new
----------------------------------
Here is an example of the type of data from a file I will have: Apple,4322,
3435,4653,6543,4652 Banana,6934,5423,6753,6531 Carrot,3454,4534,3434,1111,9120,
5453 Cheese,4411,5522,6622,6641 The first position is the info (the product) 
I want to retreive for the corresponding code. Assuming that the codes are 
unique for each product and all code data is on one line. So - I know the 
code is '9120' and I want to read the file line by line and build an array for
each line seperating on the commas. Is there simple way to do this using a...
-   Thurs,  Nov 18 2004 4:22 pm
6 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/86a3ddf0724d9630

Hash Tables & Linked Lists - all new
----------------------------------
On Wed, 17 Nov 2004 14:13:00 +0000, Ioannis Hadjichambis  wrote in comp.lang.c:
 ... http://www.google.com This is not a "give me source code" group. If 
you write code in standard C and have problems getting it to compile or 
execute correctly, then post your problem code here and ask for help. ... -   
Thurs,  Nov 18 2004 6:57 pm
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/ec1885bd2daf7c1a

RPC program building - all new
----------------------------------
On Wed, 17 Nov 2004 18:26:41 +0100, Giulio  wrote in comp.lang.c: ... [
snip] Sorry, but you are asking in the wrong place. The C language itself 
has absolutely zero support for RPC, or any other sort of networking or even 
communication between separate programs, other than reading and writing files.
All such programming of this type requires the use of non-standard (from the C
point of view) implementation-specific extensions provided by you particular 
compiler/operating system... -   Thurs,  Nov 18 2004 7:04 pm
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/ab8f7b03ca23987c

How to replace: #if VAR1 == 100 ... #elif VAR2 = 1 ... #endif, With #ifdef VAR
1 ... ? ... #endif - 2 new
----------------------------------
Hello, Is there anyway to do it other than using : ... ... ... ... 
Thank you, Christopher Lusardi ... -   Thurs,  Nov 18 2004 9:11 pm
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/a793e41c9376b104

how to pass a two-dimension array to a function in C++?? - 2 new
----------------------------------
I need pass a double-type two-dimension array to a function, I can not figure 
out,please help. ... -   Thurs,  Nov 18 2004 9:15 pm
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/8434fdcf1e1a9064

Typedef with GCC/G++ - 4 new
----------------------------------
Given the following example code typedef ... struct fubar { ... int 
main(void) { ... GCC on Windows will compile this fine, but G++ throws an 
error saying 3: error: conflicting types for 'typedef struct fubar*fubar' 
2: error: previous declaration as 'struct fubar' 6: error: conflicting types
for 'struct fubar' 3: error: previous declaration as 'typedef struct fubar*
fubar' Now I know I can avoid this error by simply renaming the struct to 
something else, but I'd prefer to understand why this is interpreted... -   
Thurs,  Nov 18 2004 9:46 pm
4 messages, 4 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/57cceab6ca5afdf0

Initializing array of structure!! - 2 new
----------------------------------
All, I need to initialize an array of structures but I don't know how may 
elements are there. I tried to malloc the array but I am not sure how to 
initialize them. Snippet: struct myarray{ ... int main(int args, char * argv[]
){ ... This comes out with segmentation fault. How do I do this? - Shekar ...
-   Thurs,  Nov 18 2004 10:25 pm
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/730fd5676f6a6ba

Micro-C -- Help monitoring a switch on 8051 - all new
----------------------------------
Hello, I have to write a program for an 8051 micro-controller using micro-C 
to monitor Switch 1 and if the switch in pushed the message "switch 1 pushed" 
should be displayed in the LCD. Also the microcontroller should display in the
LCD the value of the voltage applied to the input of the ADC. The above 
procedure should only execute once the user has entered "1234" using a keypad 
that is attached to the 8051 microprocessor. I think I can figure out the 
keypad entry function that will wait until the user has entered "1234" before..
. -   Fri,  Nov 19 2004 12:01 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/b1bc31cea3a6482d

Tool for buffer overflow prevention - all new
----------------------------------
Which is the best tool for buffer overflow to use during debug? What about 
Rational Purify? Best Regards ... -   Fri,  Nov 19 2004 12:18 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/da2a6fd70c107112

 

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

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

comp.lang.c

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

Change your subscription type & other preferences:
* click http://groups-beta.google.com/group/comp.lang.c/subscribe

Report abuse:
* send email explaining the problem to [EMAIL PROTECTED]

Unsubscribe:
* click http://groups-beta.google.com/group/comp.lang.c/subscribe


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

Reply via email to