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 to share photos of your group with the world? 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 41233 - 41262 of 71513   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
41233
... Because the registry offers one thing the file system doesn't: Atomic operations. Only one process is allowed to read from/write to one key at a time....
Thomas J. Hruska
shininglightpro
Offline Send Email
Dec 1, 2004
9:09 am
41234
Dear list members, I working in a project that uses a very big struct whose size is approx 4.0 MB. If I declare a struct variable within the main (actually,...
Paulo de Oliveira Eneas
paulooliveir...
Offline Send Email
Dec 1, 2004
10:19 am
41235
Hi , i got through ur question .for calling a function alot of time su can use this recursion wheather it depends .by this functin u can reduce ur lines of...
dipu nandi
dipunandi
Offline Send Email
Dec 1, 2004
11:06 am
41236
can any body tell me wat is the major differences between implicity & explicity function . Yahoo! India Matrimony: Find your life partneronline....
dipu nandi
dipunandi
Offline Send Email
Dec 1, 2004
11:26 am
41237
Hi, ... I think my question was not clear. "Why virtual function cannot be friend ?" is probably the right question. Here an example : #include <iostream> ...
David Fleury
david.fleury-prestata...
Send Email
Dec 1, 2004
11:49 am
41238
... Globals should be avoided whenever possible. Did you try to allocate the space dynamically? Like: DATA* data; data = new DATA; Or such? HTH -- Tamas Marki...
Tamas Marki
tamas_m
Offline Send Email
Dec 1, 2004
12:44 pm
41239
Did you try it on Win 2000/XP? ... _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it...
Abdulmalek Hamsho
malekhamsho
Offline Send Email
Dec 1, 2004
1:59 pm
41240
... You should be using dynamically allocated memory using new/delete and I can't imagine why you need such a big structure - either you have lots of large...
Thomas J. Hruska
shininglightpro
Offline Send Email
Dec 1, 2004
2:09 pm
41241
... can use this recursion wheather it depends .by this functin u can reduce ur lines of codes .again the memory spaces .I am MCA STUDENT OF 1ST yr i am trying...
Thomas J. Hruska
shininglightpro
Offline Send Email
Dec 1, 2004
2:19 pm
41242
Which one you don't know how to do? Getting a file name from command line, prompting user for file name, or comparing the file name? To access the command...
Shyan Lam
sflam108
Offline Send Email
Dec 1, 2004
3:38 pm
41243
aavvee <aavvee2002@...> wrote: Hi, In my program, I created a file. Then I get a file name from inline command. And I want to compare if this file name...
Michael White
michael_white2
Offline Send Email
Dec 1, 2004
3:48 pm
41244
hi, Shyan: Thanks for your info. I already created file MyFile.txt in directory D:\Working\ And I got the file name "MyFile.txt" from command line with gets() ...
aavvee
aavvee2002
Offline Send Email
Dec 1, 2004
4:55 pm
41245
What's the OS and compiler? For VC++, you can use _findfirst() / _findnext() / _findclose(). For Windows in general, you can use the FindFirstFile() /...
Shyan Lam
sflam108
Offline Send Email
Dec 1, 2004
6:08 pm
41246
I work on UNIX, and use cc or gcc command. Is there similar function in C library? Thanks ... __________________________________ Do you Yahoo!? The all-new My...
aavvee
aavvee2002
Offline Send Email
Dec 1, 2004
6:18 pm
41247
... Well, I'm not surprised. Very few systems are going to have a stack big enough to hold a 4 MB structure. Some will be able to "grow" the stack at need....
Barry Gold
bgoldnyxnet
Offline Send Email
Dec 1, 2004
7:13 pm
41248
... Oops, forgot, if you're in C then struct DATA doesn't declare "DATA" as a type, only as a struct tag. So the above malloc should read: pData =...
Barry Gold
bgoldnyxnet
Offline Send Email
Dec 1, 2004
7:17 pm
41249
Not sure about that. May be others could help. BTW, if you're using UNIX, why is there a drive letter in your directory? Shyan...
Shyan Lam
sflam108
Offline Send Email
Dec 1, 2004
8:09 pm
41250
I am trying to write a txt file on the Hard disk. I use this program: FILE * pFile; pFile = fopen ("myfile.txt" , "w"); fprintf (pFile, " %s This goes in one...
Adjuto Vasconcelos
adjuto_vasco...
Offline Send Email
Dec 2, 2004
2:22 am
41251
... \n not \r ... Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"...
Victor A. Wagner Jr.
vawjr1943
Offline Send Email
Dec 2, 2004
2:46 am
41252
... You should check for a null pointer return. ... This is an invalid line. You specify a %s, but you supply no corresponding argument. But in answer to your...
peternilsson42
Offline Send Email
Dec 2, 2004
2:49 am
41253
So, I know that the compiler totally ignores comments, but just to be sure, do all of the following get translated into machine language? - compiler directives...
codealot_sir
Offline Send Email
Dec 2, 2004
2:49 am
41254
... In C, you can avoid the type size problem by... pData = malloc(sizeof *pData); -- Peter...
peternilsson42
Offline Send Email
Dec 2, 2004
2:52 am
41255
... In standard C, no. In POSIX, yes, through <dirent.h>. -- Peter...
peternilsson42
Offline Send Email
Dec 2, 2004
2:55 am
41256
... Making the program more robust is better than swapping platforms. Even if the OP can get the program to work under XP, why place an unnecessary limit on...
peternilsson42
Offline Send Email
Dec 2, 2004
2:58 am
41257
... I'm not clear on your terminology. Can you give examples of the two types? [Also, add what _you_ think the differences are, even if you think you're...
peternilsson42
Offline Send Email
Dec 2, 2004
3:00 am
41258
... no, lots of things will affect what gets executed. ... Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: ...
Victor A. Wagner Jr.
vawjr1943
Offline Send Email
Dec 2, 2004
3:00 am
41259
... The C90 language only guarantees that one object of 32767 bytes can be allocated. Of course, this is impractical for real applications, but the same...
peternilsson42
Offline Send Email
Dec 2, 2004
3:06 am
41260
... A compiler doesn't have to. Some systems allow meta comments to affect code. ... There are generally no hard and fast answers to that. It depends on the...
peternilsson42
Offline Send Email
Dec 2, 2004
3:15 am
41261
you mean implicit conversion operator? On Thu, 02 Dec 2004 02:59:37 -0000, peternilsson42...
Ananth
ananth_dude
Offline Send Email
Dec 2, 2004
6:52 am
41262
... It depends on line ending translations, but a better choice all around would be to use "\n" instead of "\r". -- Craig Morrison ...
Craig Morrison
headstockusa
Offline Send Email
Dec 2, 2004
1:32 pm
Messages 41233 - 41262 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