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 38564 - 38593 of 71512   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
38564
In a message dated 7/31/2004 11:36:37 PM US Eastern Standard Time, ... You can get the kernel hacking howto at: www.kernelhacking.org/docs/kernelhacking-HOWTO ...
abram10@...
abrammagner
Offline Send Email
Aug 1, 2004
4:07 pm
38565
Hi, I had heard of a problem of calculating a factorial at the compile time in C++. Does anyone know how it can be done? Thanks Gaurav...
Gaurav Srivastva
gauravsri
Offline Send Email
Aug 2, 2004
1:18 am
38566
Hi: This can be done with templates. Templates can work with non previously defined types and constant values, in this case, only a constant value N is used. ...
Jean Honorio Carrillo
jean_honorio_c
Offline Send Email
Aug 2, 2004
1:36 am
38567
This is a kind of optimization generally done by all C / C++ programmers who want better execution speed. If you know that you are going to use value of...
Sarvex Jatasra
simplyjat
Offline Send Email
Aug 2, 2004
6:32 am
38568
use "Unix programming" by richard stevens Yahoo! India Matrimony: Find your life partneronline....
Prabu Thanikachalam
prabucseindia
Offline Send Email
Aug 2, 2004
10:46 am
38569
Hello All, I want to store the string of integers to integer data type on HP-UX. I do not have atoi function to convert. I need like that: int main() { int...
Durai
tech_durai@...
Send Email
Aug 2, 2004
12:11 pm
38570
int main(int argc, char *argv[]) { int n; if(argc != 2){ puts("Usage: myprog "); exit; } n = atoi(argv[1]); printf("%d\n",n); return 0; } ... From: Durai...
Murugesan_Jagannathan...
smjagan
Offline Send Email
Aug 2, 2004
12:19 pm
38571
From: Durai [mailto:tech_durai@...] Sent: 02 August 2004 13:11 ... Not even if you include <stdlib.h> ? ... /* Outlook doesn't compile code, so...
Paul Herring
shabble
Offline Send Email
Aug 2, 2004
12:20 pm
38572
From: Paul Herring Sent: 02 August 2004 13:19 ... In too much of a hurry to post. This should have read: if ((c>1) && (sscanf(argv[1], "%d", &i) == 1)){ ... --...
Paul Herring
shabble
Offline Send Email
Aug 2, 2004
12:23 pm
38573
hi buddy, i am no expert but i tried ur prob of convertin char string to int and dont have a very satisfyin ans but i thought u might be interested to know......
Mayank
non_resident...
Offline Send Email
Aug 2, 2004
12:44 pm
38574
Hi, You said that you have not an 'atoi()' function and you like to implement one. To do so you must consider the string "1234" as if it was four separate ...
Okman Moshe
Moshe.Okman@...
Send Email
Aug 2, 2004
12:46 pm
38575
great way to cal factorial man truely awesome.. arnt u the kinda guy who likes to travel in riksha havin a farrari at ur home.. i mean ppl should really...
Mayank
non_resident...
Offline Send Email
Aug 2, 2004
12:50 pm
38576
From: [mailto:mayank_yankeeguy_007@...] Sent: 02 August 2004 13:44 ... How about: int i=0,j=0; char x[]="15325"; while ((x[i]-'0' >=0) && (x[i]-'0' >=0))...
Paul Herring
shabble
Offline Send Email
Aug 2, 2004
12:50 pm
38577
From: Okman Moshe [mailto:Moshe.Okman@...] Sent: 02 August 2004 13:47 [...] ... You may want to go to ...
Paul Herring
shabble
Offline Send Email
Aug 2, 2004
12:54 pm
38578
well thats the reason that it doesnt work with some values i said i am not satisfied with my sol well keep tryin we may come up with somthin MAYANK ... Do you...
Mayank
non_resident...
Offline Send Email
Aug 2, 2004
12:57 pm
38579
well wait a sec... ur char string x="12345" or whatever will end with '/0' right. i hope i rem my basics so.... how abt for(i=0;x[i]!='/0';i++) y=y+x[i]; y...
Mayank
non_resident...
Offline Send Email
Aug 2, 2004
1:02 pm
38580
From: Mayank [mailto:mayank_yankeeguy_007@...] Sent: 02 August 2004 14:02 ... Almost - you need to subtract the value of the character 0 from each ...
Paul Herring
shabble
Offline Send Email
Aug 2, 2004
1:06 pm
38581
I think you are new to programming and still stuck with the basic factorial programs that are given as assignments in the college. And I bet for sure " You...
Sarvex Jatasra
simplyjat
Offline Send Email
Aug 2, 2004
1:52 pm
38582 Vawjr
vawjr1943
Offline Send Email
Aug 2, 2004
2:55 pm
38583
Glad that you've found that out yourself. Yes, you can only pass static member function to _beginthreadex (or its relatives). If you need to access the...
Shyan Lam
sflam108
Offline Send Email
Aug 2, 2004
4:37 pm
38584
*** shouldn't this be: ( Correct me if I am wrong ); y *=10; y = y+(x[i] - '0'); ... From: Mayank To: c-prog@yahoogroups.com Sent: Monday, August 02, 2004 8:02...
Carlo Fernando
cmafernando
Offline Send Email
Aug 2, 2004
4:53 pm
38585
real world people don't calculate FACTORIAL at compile time grow up yourself, "kid"!! ... Victor A. Wagner Jr. http://rudbek.com The five most dangerous...
Victor A. Wagner Jr.
vawjr1943
Offline Send Email
Aug 2, 2004
5:11 pm
38586
Hey Guys, What include path is stdafx.h, I have VS 6.0 and VS Toolkit, and I couldn't find "stdafx.h" header in non of there include directories. George...
George Njoku
coffeecoolers
Offline Send Email
Aug 2, 2004
7:07 pm
38587
it's supposed to be in the local directory somehow you managed to tell your system that you want to use precompiled headers and then forgot to include it or...
Victor A. Wagner Jr.
vawjr1943
Offline Send Email
Aug 2, 2004
7:18 pm
38588 Vawjr
vawjr1943
Offline Send Email
Aug 2, 2004
8:40 pm
38589
... You're not wrong, but ideally, you should check that the characters being converted are actually digits... for (y = 0, i = 0; '0' <= x[i] && x[i] <= '9';...
peternilsson42
Offline Send Email
Aug 2, 2004
11:00 pm
38590
compile time???????? am i missing something........ how do we calculate something in compile time........... ... From: Victor A. Wagner Jr. To:...
Raj Agarwal
raj77_in
Offline Send Email
Aug 3, 2004
3:12 am
38591
Well, you'd never need to calculate the factorial at compile time though it can be achieved using templates. It is just a simple problem which clears up some...
Gaurav Srivastva
gauravsri
Offline Send Email
Aug 3, 2004
3:29 am
38592
partial template specialisation, but you'll need vc7.1 to actually use it at its fullest. ... Peace and love, Tweety mitea@... -...
tweety
tweety_04_01
Online Now Send Email
Aug 3, 2004
3:31 am
38593
Hello All, Thanks to all to clarify my doubt. Regards, Durai. ... From: peternilsson42 To: c-prog@yahoogroups.com Sent: Tuesday, August 03, 2004 4:30 AM ...
Durai
tech_durai@...
Send Email
Aug 3, 2004
3:50 am
Messages 38564 - 38593 of 71512   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