Search the web
Sign In
New User? Sign Up
c-prog · C/C++ Programmer's Mailing List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 68448 - 68477 of 71513   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
68448
... Well, main() is a function returning an int, which is not the same thing as an int. The function pointer (the memory address where the main() function code...
David Hamill
dc_hamill
Offline Send Email
Nov 1, 2008
9:35 am
68449
Suggestion : use a lexing and parsing tool like visual parse. Hard code parser can be problematic. Mickey M. Construction Partner Inc. ...
Mickey Mathieson
user14312
Offline Send Email
Nov 1, 2008
12:35 pm
68450
I tried playing with bison--I don't understand a bit of it. Thanks, Tyler Littlefield email: tyler@... web: tysdomain-com Visit for quality software...
Tyler Littlefield
tyler@...
Send Email
Nov 1, 2008
12:36 pm
68451
Thanks everyone for your post on my previous question I sure learnt from it especially from Paul Herring's post. Thanks. Now I'm trying to write a programme to...
Olufowobi Lawal
wolexzo2
Offline Send Email
Nov 1, 2008
1:05 pm
68452
Hi All,   I have a question in File management with Structures (arrayed) using C, am writing a program and had stucked at a point i.e How to append data at...
e2esunil mudulakar
e2esunil
Offline Send Email
Nov 1, 2008
1:06 pm
68453
i have never thought about this before... main is a function name and as we know that a function name cant used as identifier for variables or constants.(as...
shivani gupta
fab_shivani
Offline Send Email
Nov 1, 2008
1:06 pm
68454
... This was mentioned recently on the list (see for instance message #68446): int main(void) <http://en.wikipedia.org/wiki/Main_function#C_and_C.2B.2B> ... ...
Ignacio
ignafiuba
Offline Send Email
Nov 1, 2008
2:38 pm
68455
... There's a great introduction to lex and yacc (on which bison is based) here: http://epaperpress.com/lexandyacc/index.html I would recommend giving it...
John Matthews
johnmatthews...
Offline Send Email
Nov 1, 2008
5:10 pm
68456
Problem solved, Thanks everyone,thanks Ignacio. Bingo! It now works! Your explanation on the 'for' made me understand it better. ...
Olufowobi Lawal
wolexzo2
Offline Send Email
Nov 1, 2008
6:03 pm
68457
Hello, Thanks for the pointer. I rewrote the code, and here's what I came up with. It still reads the bottom line twice, but the loop problem is solved, so I...
Tyler Littlefield
tyler@...
Send Email
Nov 1, 2008
6:28 pm
68458
urm. looks like a good site, but their menu seems to be broken. If you click on lex,yacc,calculator, things don't work (the contents doesn't change). I found a...
Tyler Littlefield
tyler@...
Send Email
Nov 1, 2008
6:33 pm
68459
... This book has some good explanations: Modern Compiler Implementation in C Andrew W. Appel http://www.cs.princeton.edu/~appel/modern/c/index.html It's a...
David Hamill
dc_hamill
Offline Send Email
Nov 1, 2008
11:45 pm
68460
... doesn't change). Sorry- I've only downloaded the PDF, and used it a few times to get me started (it hasn't sunk in yet)....
John Matthews
johnmatthews...
Offline Send Email
Nov 2, 2008
9:09 am
68461
      Hello!I'm a beginner to C,and I have many questions which puzzles me.       Here,I seek for your help.I want to know how many kinds of variables...
Shadow Killer
likefu8952
Offline Send Email
Nov 2, 2008
12:18 pm
68462
... Are you taking a class or studying from a text? I recommend getting one of the many books recommended by this list (see the LInks section on the Yahoo...
Brett McCoy
smartandkewl
Online Now Send Email
Nov 2, 2008
12:22 pm
68463
can anyone please tell me where can i get a free ebook of ebook of unix system programming using c++...
una_020
Offline Send Email
Nov 2, 2008
1:03 pm
68464
... You can find lots of programming guides on Linux and FreeBSD programming topics online -- a Google search should yield lots of information. Some are better...
Brett McCoy
smartandkewl
Online Now Send Email
Nov 2, 2008
1:10 pm
68465
given an array of 2n+1 elemnts n of the elemnts having duplicates how do u find the number wihout having duplicate..??...
una_020
Offline Send Email
Nov 2, 2008
3:36 pm
68466
1.how to find size of structure without using sizeof operator? 2.variable name i.e. identifier is given how to find it's size without using sizeof?...
una_020
Offline Send Email
Nov 2, 2008
3:36 pm
68467
Use sizeof. That's what it's there for! Bearing in mind that structs often incorporate padding, it's not easy to find their size. I suppose you could...
David Hamill
dc_hamill
Offline Send Email
Nov 2, 2008
4:46 pm
68468
... Make an array of structures and find the difference in addresses of 2 consecutive array elements. But as David said, you would use sizeof in a real...
John Matthews
johnmatthews...
Offline Send Email
Nov 2, 2008
4:54 pm
68469
... OK, that would include not only intra-structure padding, but also inter-structure padding, which my method probably wouldn't show up (unless the padding...
David Hamill
dc_hamill
Offline Send Email
Nov 2, 2008
5:04 pm
68470
... in ... this wudnt work coz according to array arithmetic the difference between the addresses of adjacent elemenst wud give 1. give some other...
una_020
Offline Send Email
Nov 2, 2008
6:33 pm
68471
... can u give plz me code to implement this.....
una_020
Offline Send Email
Nov 2, 2008
6:34 pm
68472
... cud u plz elaborate on padding concept?...
una_020
Offline Send Email
Nov 2, 2008
6:34 pm
68473
can someone give me explanation of how compiling of c code takes place in turbo c compilers?...
una_020
Offline Send Email
Nov 2, 2008
6:34 pm
68474
... You're not going to get much help on Turbo C here, it's an extremely out of date compiler and is not used for any kind of production work these days. We'll...
Brett McCoy
smartandkewl
Online Now Send Email
Nov 2, 2008
6:43 pm
68475
... You use casts eg. #include <stdio.h> typedef struct { char a; int i; } SomeStruct; int main(void) { SomeStruct a[2]; printf("size = %d\n", (unsigned)&a[1]...
John Matthews
johnmatthews...
Offline Send Email
Nov 2, 2008
10:05 pm
68476
... Tell Me what is ur question ---- sunny singla...
sunny
s_u_n_n_y_si...
Offline Send Email
Nov 2, 2008
11:59 pm
68477
... You're welcome. Nice to know I managed to explain it clearly. ... Ingenious trick. I would have used: #include <string.h> // ... strLength =...
Ignacio
ignafiuba
Offline Send Email
Nov 3, 2008
12:06 am
Messages 68448 - 68477 of 71513   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help