Google Groups Home
Help | Sign in
comp . lang . c
This is a Usenet group - learn more
Find or start a Google Group about lang.
Related Groups
The object-oriented C++ language.
High activity, Usenet
The C programming language. (Moderated)
Low activity, Usenet
Q&A for people programming under Unix.
Medium activity, Usenet
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 133887  Older »
Description: Discussion about C.
 

target exec, gdb, gfortran 
  I thought I would ask a question that is decidedly non-political, although I will admit that a frenchman made my fourth. As well as infinite cheeseburgers, and, of course, jenny. When I believe to be issuing commands to dos that will step me through gdb, I receive counter-communication that talks of target exec.... more »
By Ron Ford  - 2:16am - 3 new of 3 messages    

struct with const string 
  Hello, Looking for a solution to take something like: const TCHAR StrArrayZ[]=_T("Item1\0Item2\0 Item3\0"); and convert it to something like: ...struct { union { const TCHAR StrArrayZ[1]; struct { const TCHAR I1[]=_T("Item1"); const TCHAR I2[]=_T("Item2"); const TCHAR I3[]=_T("Item3");... more »
By David  - 12:14am - 3 new of 3 messages    

What am I doing wrong? 
  I think I know what the problem is. I'm passing an array to strdup() which is not what it wants and is producing a bus error. But, even knowing the cause of the problem I'm having difficulties thinking of a suitable solution. I'm basically reading a CSV file and then tokenising it to get the relevant values in a useable form. So I need to read the file one line... more »
By Cromulent  - Jul 5 - 9 new of 9 messages    

frand 
  When porting a program to MS-Windows I got a redefinition error on "frand" (already defined in stdlib.h). Is it legal if I use "frand" in a source file if stlib.h is not included there?
By void main  - Jul 5 - 3 new of 3 messages    

Problem 77: Greedy Gift Givers 
  Problem is documented at [link] Why doesn't this work? /* ID: albert.4 LANG: C TASK: gift1 */ ...main() { struct friend { int money, ngifts; /* no. gifts */ char name[MAXNAMELEN]; }; int NP; /* no. people */... more »
By Bert  - Jul 5 - 8 new of 8 messages    

is a pointer memset to zero necessarily eqal to NULL? 
  Hi all Is this assertion guaranteed? { void *vptr; memset( & vptr, 0, sizeof vptr); assert( NULL == vptr ); ...What about these ones? { sometype *ptr; memset( & ptr, 0, sizeof ptr); assert( (sometype*)NULL == ptr ); assert( NULL == (void*)ptr ); ...Thanks, viza
By viza  - Jul 5 - 9 new of 9 messages    

Understanding char **argv 
  Hello all, Forgive the somewhat simple question I am sure this will be, but I am having some problem understanding what: char **argv looks like. For instance, i know through trial and error that if I do this: ...int main(int argc, char *argv[]) { int l; for( l=0; l<argc; l++ ) {... more »
By kevin.eugene08@googlemail .com  - Jul 5 - 13 new of 13 messages    

Sandbox server 
  How would one program a sandbox? Let's say the server and all clients have the same architecture, and environment (for example 32bit x86-Linux environment). The server shall offer sandbox services to clients. A remote client can get a sandbox (an empty directory space) on the server, upload his precompiled executable program,... more »
By Adem24  - Jul 5 - 2 new of 2 messages    

Stats for comp.lang.c (last 7 days) 
  ============================== ============================== ================ Analysis of posts to comp.lang.c ============================== ============================== ================ (stats compiled with a script by Garry Knight) Total posts considered: 1,144 over 7 days... more »
By CLC stats  - Jul 5 - 1 new of 1 message    

information hiding vs. inlining 
  Do compilers inline functions even if the programmer could not do it manually because the needed information is hidden at the language level? I am talking about stuff like incomplete types and static variables e.g. .. get_attribute(object); .. Where object is an incomplete type in this unit and get_attribute basically... more »
By copx  - Jul 5 - 5 new of 5 messages    

1 - 10 of 133887   « Newer | Older »

XML      
Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google