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 70685 - 70714 of 71513   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
70685
Hey all Just a query on file IO. Im writing code that takes data from a text file that updates the positions of my 3d models on a frame per frame basis(.bvh)....
glogic20
Offline Send Email
Jun 1, 2009
4:22 pm
70686
Hello, If performance is criticle, just leave the file open; open before the loop, read in data, close the file. Don't open and close for every read. Thanks, ...
Tyler Littlefield
tyler@...
Send Email
Jun 1, 2009
4:38 pm
70687
... If you're reading the same file each time, it is grossly innefficient to constantly close and re-open. When you close a file, the operating system may...
peternilsson42
Offline Send Email
Jun 2, 2009
1:16 am
70688
The program ask the user to enter 5 numbers +ve and negative ... and the program will put the positive numbers in a queue named pos and negative numbers in...
meeda91
Offline Send Email
Jun 3, 2009
12:37 am
70689
... Was that meant to be // instead of /? ... Given the lack of struct on the return type, I presume you're using a C++ compiler. You should not be using a C++...
peternilsson42
Offline Send Email
Jun 3, 2009
1:12 am
70690
why reference data type is defined in C++? what does this reference data type do? [Non-text portions of this message have been removed]...
mina salehi
mina_sa2020
Offline Send Email
Jun 3, 2009
7:56 pm
70691
hello, Reference isn't a "data type." It's just a way of passing something to a function without having to use a pointer, it's as fast as a pointer, but...
Tyler Littlefield
tyler@...
Send Email
Jun 3, 2009
7:59 pm
70692
... A reference is a pointer, but the syntax is simpler, easier to use, and less confusing. -- John Gaughan http://www.jtgprogramming.org/...
John Gaughan
john23874
Offline Send Email
Jun 3, 2009
11:42 pm
70693
plz describe your question by example...
Ahmed Shabana
ahmedshabana...
Offline Send Email
Jun 4, 2009
3:29 am
70694
... <http://lmgtfy.com/?q=why+reference+data+type+is+defined+in+C%2B%2B%3F> Second hit (after the repeated question on Yahoo Answers) ...
peternilsson42
Offline Send Email
Jun 4, 2009
3:31 am
70695
the OP is asking about references. does there need to be an example to ask how they work? Thanks, Tyler Littlefield Web: tysdomain.com email:...
Tyler Littlefield
tyler@...
Send Email
Jun 4, 2009
3:32 am
70696
... Hmmm. Maybe nothing really was allocated for q->array during the initialization of the queue, that's why accessing q->qarray[q->rear] in your function...
bart_pengyou
Offline Send Email
Jun 4, 2009
5:26 am
70697
Hi everybody , I have a problem in compiling a chunk of code written for VC++ 6.0 . I am using a ADO Recordset, which, according to the MSDN documentation,...
spudgun0
Offline Send Email
Jun 4, 2009
1:53 pm
70698
... I'm going to assume you are NOT using VC++ 6. Ancient compiler. It could be something VC++ 6-specific but later versions are pretty good about migrating...
Thomas Hruska
shininglightpro
Offline Send Email
Jun 4, 2009
2:10 pm
70699
... BTW, what happened to ODBC? You were using that a while back for some advanced stuff. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW*...
Thomas Hruska
shininglightpro
Offline Send Email
Jun 4, 2009
2:14 pm
70700
In two different ways i wrote a method. one makes use of recursion and the other a infinite loop. Though I personally prefer the infinite loop, but i got to...
Olufowobi Lawal
wolexzo2
Offline Send Email
Jun 4, 2009
2:24 pm
70701
... I don't think your case is a good candidate for recursion - I would say it is more logical to use a loop. 'Keep asking for input until input is valid'...
John Matthews
johnmatthews...
Offline Send Email
Jun 4, 2009
2:37 pm
70702
... There are quite valid places for goto, however while you're learning you won't come across any of them. ... Bad, and certainly not efficient compared to...
Paul Herring
shabble
Offline Send Email
Jun 4, 2009
2:38 pm
70703
Hi Thomas , I dropped ODBC since I run into thousands of problems and the documentation wasn't helpful ,since it put me on the wrong path .... Seems the same...
spudgun0
Offline Send Email
Jun 4, 2009
2:51 pm
70704
You know If you Send the Address of the Varible that is Accepting the information that would minimize memory usage. NOTE: You will have to write directly to...
benjamin_cail_scott
benjamin_cai...
Offline Send Email
Jun 4, 2009
6:40 pm
70705
... You should start with the correct design (which for this problem isn't recursion) before attempting to optimize it....
John Matthews
johnmatthews...
Offline Send Email
Jun 4, 2009
7:03 pm
70706
why would you send one variable or the pointer? if your sending an int already, there shouldn't be a problem. Thanks, Tyler Littlefield Web: tysdomain.com ...
Tyler Littlefield
tyler@...
Send Email
Jun 4, 2009
7:16 pm
70707
#include <iostream> #include "Marble.h"   int main() {                         Marble m1; ...
Robert Ryan
bobzcplpl
Offline Send Email
Jun 4, 2009
7:51 pm
70708
// default constructor Marble::Marble(Color c){ color = c; }   // default constructor Marble::Marble(Size s)  { size = s; } ... From: Robert Ryan...
Robert Ryan
bobzcplpl
Offline Send Email
Jun 4, 2009
8:40 pm
70709
I got it to run after fixing a bunch of stuff   #include "Marble.h"   // default constructor Marble::Marble(){             color =...
Robert Ryan
bobzcplpl
Offline Send Email
Jun 4, 2009
9:18 pm
70710
On Thu, Jun 4, 2009 at 7:39 PM, benjamin_cail_scott ... No it wouldn't. You still have the overhead of the function call stored on 'the stack' each iteration. ...
Paul Herring
shabble
Offline Send Email
Jun 5, 2009
11:27 am
70711
Thanks all for answering. but Paul you wrote You should only use recursion where you have total control of the input, and (by extension) where you can control...
Olufowobi Lawal
wolexzo2
Offline Send Email
Jun 5, 2009
12:32 pm
70712
... I agree. Unfortunately, virtually everything is user-input driven on some level of understanding. "User input -> Data scrubbing for bad input -> Assumed...
Thomas Hruska
shininglightpro
Offline Send Email
Jun 5, 2009
1:05 pm
70713
Hi, I have an application which has been developed using Borland C++ builder (BCB) IDE and uses the Visual Component library(VCL) for windows API and graphics....
Sri
sampark_sukesh
Offline Send Email
Jun 5, 2009
1:43 pm
70714
Hi, Does noybody know how to create tcl interface for c++ iterators? I tried looking at swig but could not find much. Any help/pointers? Thanks and Regards, ...
Saurabh Jain
hundredrabh
Offline Send Email
Jun 7, 2009
7:01 am
Messages 70685 - 70714 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