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...
Message search is now enhanced, find messages faster. Take it for a spin.

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 61772 - 61801 of 71513   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
61772
Hi everybody, I have a text file which contains a sequence of characters terminated by newline. I need to extract a sequence of character from the file until i...
pushkar raj
pushkar_sjs2001
Offline Send Email
Apr 1, 2007
12:38 pm
61773
Hey all Im working on a simple 2d asteroids game at the moment. I have most of it working but there is one part that aint working the way id like. Basically...
glogic_1
Offline Send Email
Apr 1, 2007
2:11 pm
61774
... This would be MUCH simpler if done in c++, but here is a solution in c. int main() { FILE *fp1, *fp2; char ch; bool IgnoreRestOfLine = false; // clrscr(); ...
Mickey Mathieson
user14312
Offline Send Email
Apr 1, 2007
2:47 pm
61775
... one small tweak - probably best not to set the flag every time - so the following logic could be added. if (ch!='_' && !IgnoreRestOfLine) fputc(ch, fp2); ...
Mickey Mathieson
user14312
Offline Send Email
Apr 1, 2007
2:59 pm
61776
Nevermind figured out what i was doing wrong myself have it working now thanks anyway g ... most ... pointing ... dead ... it ... if ... understanding...
glogic_1
Offline Send Email
Apr 1, 2007
8:32 pm
61777
... [Snipped.] ... Because it has classic newbie mistakes. I seriously suggest you read the comp.lang.c FAQ... http://c-faq.com/ Particularly section 12. ... ...
peternilsson42
Offline Send Email
Apr 1, 2007
11:40 pm
61778
the code i have developed is for sum of digits is this main() { int b,c,d; printf("the number is 12345\n"); b=12345%10; c1234%10; d=c+b; printf("value is...
kanwarpreet singh
puupy_puc
Offline Send Email
Apr 1, 2007
11:42 pm
61779
Thank you! You are right. That's what I did - it works fine now....
sanofsans
Offline Send Email
Apr 1, 2007
11:42 pm
61780
... #include <stdlib.h> int rand(void); See the comp.lang.c FAQ for caveats and other hints. http://c-faq.com/ ... You're probably seeding every time, which...
peternilsson42
Offline Send Email
Apr 1, 2007
11:42 pm
61781
S A I don't really understand, what are u going to do after finding the underscore, are u going to ignore the rest of the line and start fetching a new line? I...
dina Abdel Rahman
dina_abdel_r...
Offline Send Email
Apr 1, 2007
11:43 pm
61782
Thank you so much for your timely help..... I would like you to comment on my approach. what's wrong in my code. Logic seems to very simple but where did I go...
pushkar raj
pushkar_sjs2001
Offline Send Email
Apr 1, 2007
11:44 pm
61783
... If you can't change the code, then you can use /force:resolved or /force:unresolved directives for Linker. This will work only in case you are using VC++...
Sumit Chawla
sumit_k_chawla
Online Now Send Email
Apr 2, 2007
5:52 am
61784
... What is preventing you from taking input from user? -- Regards Sumit Chawla ("eNetra : Hail the Invention") "Computers are useless. They can only give you...
Sumit Chawla
sumit_k_chawla
Online Now Send Email
Apr 2, 2007
5:55 am
61785
if you are going to use the graphics ...then you have to provide the path of EGAVGA.BGI file and you can just copy the file to the folder which contains exe...
jeswinder singh
brightjas
Offline Send Email
Apr 2, 2007
8:02 am
61786
... What makes you think that Visual C++ 6 has egavga.bgi (Borland Graphics Interface)? -- Tamas Marki...
Tamas Marki
tamas_m
Offline Send Email
Apr 2, 2007
8:10 am
61787
hey all anyone any good at programming with vector graphics? im trying to create an explosion with particles from a given position that fade out the further...
glogic_1
Offline Send Email
Apr 2, 2007
9:59 am
61788
Hi Group ! Though I know how 'Google', but still anyone who had come across a good link / tutorial which teaches the concepts of ASN-BER with exaples. Please...
Knowledge Seeker
knowledgeseeker78@...
Send Email
Apr 2, 2007
11:37 am
61789
Hi everybody, I have two text files. One of them contains a sequence of character terminated by newline. File 1 for eg.....gnlase#5678940 gnlase#3421667 ...
pushkar raj
pushkar_sjs2001
Offline Send Email
Apr 2, 2007
11:49 am
61790
... One approach (it's really bad, I just want to show the principle) goes like this: 1) open file 1 for reading. 2) open file 3 for writing. 3) while not eof(...
Nico Heinze
nico_heinze
Offline Send Email
Apr 2, 2007
12:19 pm
61791
... First - you did go wrong anywhere. Your logic was ok until you got the - character at that point the logic just stopped. So the logic was incomplete. The...
Mickey Mathieson
user14312
Offline Send Email
Apr 2, 2007
1:15 pm
61792
The purpose of the code is to return array of strings variable to main I am giving input 3 strings in function call() these strings are stored in a variable...
satya dev
higuyitsme24
Offline Send Email
Apr 2, 2007
1:19 pm
61793
Sorry to bother you again so soon ... I'm dealing with a problem in using the mktime () call, passing it dates ranging along the whole year, so possibly...
spudgun0
Offline Send Email
Apr 2, 2007
1:20 pm
61794
... BER is an encoding of ASN.1. I ran a Google search for "asn ber" and it came up with this link: http://www.columbia.edu/~ariel/ssleay/layman.html That's...
Thomas Hruska
shininglightpro
Offline Send Email
Apr 2, 2007
3:16 pm
61795
... Are we talking 2D or 3D? -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* VerifyMyPC 2.4 Change tracking and management tool. Reduce tech....
Thomas Hruska
shininglightpro
Offline Send Email
Apr 2, 2007
3:17 pm
61796
hi its in 2d.. this is what i have at the moment and it will do the job i suppose. Basically when a collsion occurs startexplosion is called to initialize the ...
GLOGIC 20
glogic_1
Offline Send Email
Apr 2, 2007
3:28 pm
61797
... This would be _significantly_ easier and faster if you used C++. Doing what you want is either going to be performance-unfriendly (as Nico's suggestion...
Thomas Hruska
shininglightpro
Offline Send Email
Apr 2, 2007
3:46 pm
61798
... <snip> Typical mistake. You have declared "name" as a char[][] which is correct (a 2D array of characters). However, you have the function "call()" return...
Nico Heinze
nico_heinze
Offline Send Email
Apr 2, 2007
4:06 pm
61799
... One way to improve it is to decrease the velocity exponentially. Think about it: Explosive debris is thrown from the ship at some velocity but that...
Thomas Hruska
shininglightpro
Offline Send Email
Apr 2, 2007
4:16 pm
61800
... Thanks Thomas Good idea about decreasing the velocity exponentially! will work on that next cheers. also the green colour is just in there while im woking...
GLOGIC 20
glogic_1
Offline Send Email
Apr 2, 2007
5:01 pm
61801
... Well, you don't actually work directly with the GPU. You use DirectX or OpenGL, which handles all the ugly details. Stretching an image is pretty easy...
Thomas Hruska
shininglightpro
Offline Send Email
Apr 2, 2007
5:30 pm
Messages 61772 - 61801 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