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...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

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 69282 - 69311 of 71513   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
69282
sorry but i'm shy with my code...  ________________________________ From: Thomas Hruska <thruska@...> To: c-prog@yahoogroups.com Sent: Saturday,...
conrad lanceta
atecnal1838_con
Offline Send Email
Feb 1, 2009
8:55 am
69283
... I can understand that, BUT the question looks like homework to the group (this is a fairly common homework assignment). So, if you want help, you'll have...
Thomas Hruska
shininglightpro
Offline Send Email
Feb 1, 2009
9:17 am
69284
... #include <stdio.h> #include <stdlib.h> int main(void) { const char bin[] = "1001011101"; printf("%s: %ld\n", bin, strtol(bin, 0, 2)); return 0; } -- Peter...
peternilsson42
Offline Send Email
Feb 2, 2009
1:57 am
69285
hi, i hav a problem that how can i assign infinite value to a variable and compare it with other variables in turbo c....
think4amit
Offline Send Email
Feb 2, 2009
7:15 am
69286
... Why do you want to compare to an infinite value? Are the values you want to compare with ints or floats/doubles? ... You're also going to get others...
Paul Herring
shabble
Offline Send Email
Feb 2, 2009
7:17 am
69287
Hi All, I have a executable file at a particular location in the filesystem. From root directory i run this exe. This exe will load a shared object from ...
Praveen S
topraveenss
Offline Send Email
Feb 2, 2009
8:19 am
69288
... From ... can it ... Don't know- perhaps this is why application config files are usually in the user's home directory? Can you do that instead, or perhaps ...
John Matthews
johnmatthews...
Offline Send Email
Feb 2, 2009
12:38 pm
69289
... An infinite value? That doesn't make sense. Infinity isn't a number. Computers can only work with finite values and discrete structures. Why do yu need to...
Brett McCoy
smartandkewl
Online Now Send Email
Feb 2, 2009
12:39 pm
69290
... Yes, typically, a default config will be kept under /etc or /usr/share and user specific ones will be kept in the user's home directory. Most shells...
Brett McCoy
smartandkewl
Online Now Send Email
Feb 2, 2009
12:51 pm
69291
... Are we talking about IEEE floating point? If so, it provides a mechanism of specifying infinity. However, you aren't supposed to compare floating point...
Thomas Hruska
shininglightpro
Offline Send Email
Feb 2, 2009
1:18 pm
69292
... Most shells will set an environment variable indicating where the current user's home directory is. However, you should probably look at how other...
Thomas Hruska
shininglightpro
Offline Send Email
Feb 2, 2009
1:23 pm
69293
... But doesn't 'which' just do what the shell does when asked to execute a file ie. go through the directories in PATH looking for the specified file? In...
John Matthews
johnmatthews...
Offline Send Email
Feb 2, 2009
1:27 pm
69294
... Yes, that is what I was saying, you can defeat the executable path search, which makes the 'which' command not entirely reliable. Of course, on Unix...
Brett McCoy
smartandkewl
Online Now Send Email
Feb 2, 2009
2:01 pm
69295
... ..but to be pedantic, you said "different location that is earlier in the PATH than the real executable". If it is in the PATH, then which would work....
John Matthews
johnmatthews...
Offline Send Email
Feb 2, 2009
2:14 pm
69296
... Forget that - I've made an incorrect assumption. Assert! :-)...
John Matthews
johnmatthews...
Offline Send Email
Feb 2, 2009
2:17 pm
69297
... I think the main point we are making to the OP is that the location of the actual binary shouldn't be relied upon as the location for the config files....
Brett McCoy
smartandkewl
Online Now Send Email
Feb 2, 2009
2:19 pm
69298
... If I understand you correctly, you run the program from the root directory thusly: /somedirectory/someother directory/myprogram If that is correct, then...
Rick
thefirstrepa...
Offline Send Email
Feb 2, 2009
3:21 pm
69299
Hi........Friends i just started Balaguruswami C book.but i want to read book which have examples from basic levels with explaination so anyone can suggest me...
priyanka patel
patelpriyanka21
Offline Send Email
Feb 3, 2009
1:32 am
69300
... I am fairly certain that both Linux and Windows provide OS-specific hooks into gathering this information via the OS itself, which is generally the most...
John Gaughan
john23874
Offline Send Email
Feb 3, 2009
2:42 am
69301
Hi,The problem is i have to code the shared library and every exe will use the functionality provided by this shared library. I need to load the config file...
Praveen S
topraveenss
Offline Send Email
Feb 3, 2009
2:54 am
69302
... And how is this different from the many Linux applications that are built with GTK+ or Qt -- they all use shared libraries in this same manner (and in...
Brett McCoy
smartandkewl
Online Now Send Email
Feb 3, 2009
3:11 am
69303
Hi. I guess GTK has a config file which is common across all the applications. Infact the library which i am wanting to write will be loaded by a GTK ...
Praveen S
topraveenss
Offline Send Email
Feb 3, 2009
3:27 am
69304
hi priyanka, You can side-by-side use Let US C by kanetkar for simple and understandable theor+simple programs. Also search on net for small examples. On Mon,...
Akter Suriya
akter2suriya
Offline Send Email
Feb 3, 2009
1:11 pm
69305
You can read 'Let us C' by Yashwant Kanetkar for basics. ... have examples from basic levels with explaination so anyone can suggest me some good examples book...
prasad_mrityu
Offline Send Email
Feb 3, 2009
1:11 pm
69306
Hi Priyanak! hope you and everybody there will be good and enjoying a good health.We you can use "Let us C" Yashwant kanitkar ... and you can also use herbert ...
nomi
nomi13ok
Offline Send Email
Feb 3, 2009
1:11 pm
69307
Oh okay, for C books reading some books like Let us C and K & R C language and practical C for the introduction to the world of C. Prince Annan Koomson ... ...
Prince Annan Koomson
pk_annan
Offline Send Email
Feb 3, 2009
1:11 pm
69308
you can try c by yashavant kanetkar or the best can be "c complete reference" ... From: priyanka patel <patelpriyanka21@...> Subject: [c-prog] Need...
vivek tadaskar
vivek_t13
Offline Send Email
Feb 3, 2009
1:11 pm
69309
... Good grief! Yashwant/Yashavant Kanetkar is one of the WORST authors in existence. Stop recommending him. He recommends/mentions the use of Turbo C, an...
Thomas Hruska
shininglightpro
Offline Send Email
Feb 3, 2009
2:23 pm
69310
... Good choice....
Jim Dougherty
jimdougherty
Offline Send Email
Feb 3, 2009
2:27 pm
69311
... Bad choice, bad author, second only to Herbert Schildt for misleading beginners: http://avsharath.googlepages.com/TestYourCSkillsErrata.htm -- PJH ...
Paul Herring
shabble
Offline Send Email
Feb 3, 2009
2:48 pm
Messages 69282 - 69311 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