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

Today's most active topics:

* scanf in a for loop - 11 new
  
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/aebc3f924a267595

* C examples...? - 9 new
 
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/a30816d8902d8852

* Is there any GENRIC MACROS in c for INTEGERS,CHARACTERS ? - 6 new
 
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/cafd52e524781b8e

* 2 dimensional strcpy err - 6 new
 
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/426dd4ab4b5d92ee

* is NULL-checking redundant in accessor-functions? - 4 new
 
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/ebab70360231d48a


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

Find the intersection of two rectangles - 1 new
-----------------------------------------------
...Unless the rectangles are axis-aligned, you're pretty much in the general 
case of Convex Polygon Intersection (--> Google). If your rectangles are given
in 2D as Top,Left,Bottom,Right coordinates, as typical for GUI programming, 
then it's simply: intersect.Left = max(a.Left, b.Left); intersect.Top = max(a.
Top, b.Top); - Sat, Dec 25 2004 9:11 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/99df99b55008f836


scanf in a for loop - 11 new
----------------------------
Yes, the scanf should cause the for loop to pause and allow you to enter your 
integer. The syntax error that I see is that scanf("i%", &grade); should be 
scanf("%i", &grade); - Sat, Dec 25 2004 12:28 am
11 messages, 6 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/aebc3f924a267595


reading a structure containing pointers using softice !! - 3 new
----------------------------------------------------------------
hi, In simple words 'How to view / Read the various elements values in a 
structure at a particular point of my DRV ?' The Story is ->>>> i am using 
softice for tracking/hunting a bug . I am able to locate and get the address 
of the structure from the stack. eg:- Consider, lpvDevice located at 0x06CF:FB
42. - Sat, Dec 25 2004 5:29 am
3 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/fcae62de0eef6c06


Is there any GENRIC MACROS in c for INTEGERS,CHARACTERS ? - 6 new
-----------------------------------------------------------------
...But in my own defense, I wasn't sure why I was wrong. Here's what I found..
1. I did transliterate the macro correctly from a 1995 version of the code.. ..
...and I agree it is broken. In a 1998 (and current) version we have.. .....
which will accept EOF correctly (the first one didn't) but can cause all kinds
of havoc if other values are not in the range of - Sat, Dec 25 2004 8:58 am
6 messages, 4 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/cafd52e524781b8e


2 dimensional strcpy err - 6 new
--------------------------------
char chain[10][300]; strcpy(chain[i+20], chain[i]); error C2664: 'strcpy' : 
cannot convert parameter 1 from 'char' to 'char *' Conversion from integral 
type to pointer type requires reinterpret_cast, C-style cast or function-style
cast how to amend that? - Sat, Dec 25 2004 11:03 pm
6 messages, 6 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/426dd4ab4b5d92ee


C examples...? - 9 new
----------------------
Hi everyone I learn best by example so I'd like to find C source code to study,
 especially stuff showing how to use the standard library. The trouble is, 
although I can find tons of non-standard code, I can't find any strictly ISO C
code. Does anyone know a link to some interesting programs in standard C? - 
Sat, Dec 25 2004 3:31 pm
9 messages, 8 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/a30816d8902d8852


Given an array a[N] with value 1...N, find a repeted value - 3 new
------------------------------------------------------------------
Anyone has the solution to the question "Given an array a[N] with value 1...N,
find a repeted value" in C code? Thanks a lot - Sat, Dec 25 2004 8:29 am
3 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/df88efab84cf30ee


is NULL-checking redundant in accessor-functions? - 4 new
---------------------------------------------------------
Hello! Consider the following simple accessor function: typedef struct { int i;
 char name[32]; } MY_TYPE; const char * getName(const MY_TYPE *p) { return p->
name; } I always assumed, that checking the passed pointer `p' against NULL is
- Sat, Dec 25 2004 8:15 pm
4 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/ebab70360231d48a


Tips to Reverse engineering .DRV and .DLL !! [OT] - 1 new
---------------------------------------------------------
In article <[EMAIL PROTECTED]>, ...OT and for
its sweeping character incorrect. At least in the Netherlands, even if the 
EULA were a written statement, and you had signed it, you would probably be 
allowed to reverse engineer a .drv file that came with a Win**s machine e.g. 
to run it - Sat, Dec 25 2004 7:52 pm
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/e91f32eda3d34018


Call function address stored in type of size_t? - 3 new
-------------------------------------------------------
On Wed, 22 Dec 2004 15:43:49 +1300, in comp.lang.c , Adam Warner ...I don't 
think you can. The language doesn't really support these concepts. ...for sure
:-) ...Which are an Abhomination. Abhor them.... - Sat, Dec 25 2004 11:17 pm
3 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/6d2c8e898569aa31


initializing data at compile time: Example 1 - 1 new
----------------------------------------------------
...In article <[EMAIL PROTECTED]> ...Characters in "The 
Lord of the Rings" (though neither Gildor nor this conversation appear in the 
movie version -- alas, all trimmed for time). This is the source of one famous
quote: Frodo: [tells Gildor that they were supposed to meet Gandalf, - Sat, 
Dec 25 2004 11:14 pm
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/4db0af250f645590


Text editor data structures - 2 new
-----------------------------------
I am thinking about writing a text editor in C for unix sometime soon. I am 
just doing this to learn more about C. I want to write something like ed.c, a 
simple line editor. What types of data structures would be appropriate? I am 
thinking about using a linked list, but I am also wondering whether a tree 
would be useful. Please give me your - Sat, Dec 25 2004 5:11 pm
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/eef825317a6e56d0


Using Assembly Procedures with C - 3 new
----------------------------------------
I'm still very much a beginner when it comes to programming assembly for the x
86. I've read through one book, so I understand the very basics, but that's 
about as far as my knowledge in Assembly goes. Now, I've been writing a bit of
assembly code that I'd like to be able to call as a C function. My book 
doesn't describe how to do this. Could someone please - Sun, Dec 26 2004 6:13 
am
3 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/45a78ca8c8af94a6



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

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