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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

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 49101 - 49130 of 71513   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
49101
... <snip> Hi Victor, yes, that is shorter, no question. However, depending on the length of the loop (300 lines?) it can become a nightmare to identify the ...
Nico Heinze
nico_heinze
Offline Send Email
Nov 1, 2005
8:04 am
49102
Cheers. How does it determine if a restart is needed? Cheers, Chris Norman <!-- chris.norman4@... --> ... From: Tamás To: c-prog@yahoogroups.com ...
Chris Norman
chris.norman4@...
Send Email
Nov 1, 2005
8:55 am
49103
There is a goto statement, I'm going to look it up now. Cheers, Chris Norman <!-- chris.norman4@... --> ... From: "Nico Heinze" <grollnar@...> To:...
Chris Norman
chris.norman4@...
Send Email
Nov 1, 2005
8:59 am
49104
Cheers, I was just going to look up the "goto" statement. Thanks, Chris Norman <!-- chris.norman4@... --> ... From: shahin namini To:...
Chris Norman
chris.norman4@...
Send Email
Nov 1, 2005
8:59 am
49105
My Computing teacher said "don't use goto". Why? What is the problem with it? Chris Norman <!-- chris.norman4@... --> ... From: Tamás To:...
Chris Norman
chris.norman4@...
Send Email
Nov 1, 2005
9:04 am
49106
... Hi Chris, there are mainly three reasons. 1) the theoretical reason: the "goto" statement is the perfect way to break every Structured Design. Structured...
Nico Heinze
nico_heinze
Offline Send Email
Nov 1, 2005
10:49 am
49107
Cheers for that. I will take your advice. Take care, Chris Norman <!-- chris.norman4@... --> ... From: "Nico Heinze" <grollnar@...> To:...
Chris Norman
chris.norman4@...
Send Email
Nov 1, 2005
10:54 am
49108
... problem with it? ... The problem with using goto's is that they can quickly break down the whole concept of structure and easy to follow logic, in a...
dm_451
Offline Send Email
Nov 1, 2005
11:17 am
49109
Your idea Ray, of going from right to left and handling the subtractions as you meet them, working across the numbers representing roman numerals, works out...
dm_451
Offline Send Email
Nov 1, 2005
11:26 am
49110
for All i need some help... i will to build a c++ Code to Compress a txt file using huffman code.. but when i read the charactres from file there is jump above...
MuTasem Ayyash
mutasem_ayyash
Online Now Send Email
Nov 1, 2005
11:59 am
49111
... It's the condition in the if statement. It can either be a function or any expression, it's up to you. <snipped code> -- Tamas Marki...
Tamás
tamas_m
Offline Send Email
Nov 1, 2005
12:05 pm
49112
LOL. I see. Chris Norman <!-- chris.norman4@... --> ... From: "dm_451" <dm_451@...> To: <c-prog@yahoogroups.com> Sent: Tuesday, November 01,...
Chris Norman
chris.norman4@...
Send Email
Nov 1, 2005
12:05 pm
49113
... Thanks, Ray __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com...
Ray Devore
rbdevore2007
Offline Send Email
Nov 1, 2005
12:15 pm
49114
... In the version of Fortran I started with (I think Fortran 68, I know I'm showing my age), you had to use goto. Constructs like if only allowed one...
Ray Devore
rbdevore2007
Offline Send Email
Nov 1, 2005
12:23 pm
49115
... I think Chris was asking a more specific question, under what condition does the OP think he needs to do a restart? I can think of how to do it, I just...
Ray Devore
rbdevore2007
Offline Send Email
Nov 1, 2005
12:32 pm
49116
... How are you currently reading in the characters? Show us your code. Ray __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 ...
Ray Devore
rbdevore2007
Offline Send Email
Nov 1, 2005
12:33 pm
49117
#include<iostream.h> #include<stdio.h> #include<stdlib.h> #include<conio.h> #include<string.h> #include<fstream.h> typedef char string[30]; void main () { int...
MuTasem Ayyash
mutasem_ayyash
Online Now Send Email
Nov 1, 2005
1:03 pm
49118
... FYI: Chris == OP :-) -- Tamas Marki ... FYI: Chris == OP :-) -- Tamas Marki...
Tamás
tamas_m
Offline Send Email
Nov 1, 2005
1:11 pm
49119
... Yes. It is quite amazing how my skills in structuring my programs became better after ridding myself of the goto, for the most part. I rarely use it now,...
nayrb01001110
Offline Send Email
Nov 1, 2005
1:26 pm
49120
... Did you mean ++i ? One of my book tells: ++i will increment i before process it while i++ will process i before increment it. Correct me if I'm wrong,...
Anggie Bratadinata
mas_ab2003
Offline Send Email
Nov 1, 2005
1:56 pm
49121
... before ... Hi Anggie, In the case mentioned (which is rather unique), the variable 'i' needs to be assigned the value of -1. When it loops around next, it ...
dm_451
Offline Send Email
Nov 1, 2005
2:28 pm
49122
... Are the following statements equal then? - for(int i = 0; i < 3; i++) - for(int i = -1; i < 3; ++i) Thanks Dave. -- Anggie Bratadinata ... Jl. Raya Langsep...
Anggie Bratadinata
mas_ab2003
Offline Send Email
Nov 1, 2005
2:45 pm
49123
Hi all, I need some help with some database setup. I want to read into my c program one data file that has the following format. 5 3 X1 X2 X3 0.1 0.5 0.4 0.23...
Andres Gonzalez
andres_gonza...
Offline Send Email
Nov 1, 2005
2:47 pm
49124
From: Anggie Bratadinata ... He did, but only because the original code used the prefix version. ... Not wrong per se, but the code concerned didn't rely on...
Paul Herring
shabble
Offline Send Email
Nov 1, 2005
2:53 pm
49125
... Hi Paul, So the following statements are equal - for(int i = 0; i < 3; i++) - for(int i = -1; i < 3; ++i) are they? -- Anggie Bratadinata ... Jl. Raya...
Anggie Bratadinata
mas_ab2003
Offline Send Email
Nov 1, 2005
3:02 pm
49126
... THIS, IMO is one of the biggest programming problems extant. copy/paste the initializer, then forget that it's there and 2 years later someone modifies the...
Victor A. Wagner Jr.
vawjr1943
Offline Send Email
Nov 1, 2005
3:04 pm
49127
... it _can_ (and in the past...before structured languages) lead to "spaghetti code". This is a phrase which refers to when "flow charts" or paths of control...
Victor A. Wagner Jr.
vawjr1943
Offline Send Email
Nov 1, 2005
3:08 pm
49128
... I, for one am convinced that I am wrong, and goto _do_ has its place in the language. Thanks for the lesson, Victor! -- Tamas Marki...
Tamás
tamas_m
Offline Send Email
Nov 1, 2005
3:12 pm
49129
From: Andres Gonzalez <Andres.Gonzalez@...> ... You will have to dynamically allocate memory [ie. using malloc or calloc] for a matrix, then you can just use...
Sharath A.V
avsharath
Offline Send Email
Nov 1, 2005
3:14 pm
49130
... Nico overstated the hazards. When Dijkstra wrote his famous "Goto Considered Harmful" paper (I read it when it was published) the block structured...
Victor A. Wagner Jr.
vawjr1943
Offline Send Email
Nov 1, 2005
3:15 pm
Messages 49101 - 49130 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