![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| Software Programming Software programming talk, ask questions about computer software programming or help others |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| I am going through the sams book, teach yourself visual C++ in 21 days, I am on day 6 and I have run into problems, I am getting an error where it says some variable doesn't excist which it does!!! and the main problem, I can no longer compile, it starts compiling and then freezez, so then I can't close it because it cannot close while compiling and so I have to close it from the task manager, but since my task manager is acting up this makes it hard... if anyone has the book or wants to look at my snip of code please reply. | |||
| Advertisements |
| | #2 | ||
| In article <Efa_a.708572$3C2.16620651@news3.calgary.shaw.ca>, "Girgath" <geoffrycd@shaw.ca> wrote: > I am going through the sams book, teach yourself visual C++ in 21 days, I am > on day 6 and I have run into problems, I am getting an error where it says > some variable doesn't excist which it does!!! and the main problem, I can no > longer compile, it starts compiling and then freezez, so then I can't close > it because it cannot close while compiling and so I have to close it from > the task manager, but since my task manager is acting up this makes it > hard... if anyone has the book or wants to look at my snip of code please > reply. I'm not familiar with the book, but I'd guess that your problem is not VC++ specific. That is, you'd probably have the same problem in any C++. From the sketchy details you give here, I further guess that the problem is one of scope and that your variable, while declared SOMEwhere, is not available at the point at which the compiler complains. A code snippet would help, along with an indication of the exact error msg and the point at which it is thrown. If the code is long, email it to me to save bandwidth. I'll trim it to the relevant parts and post a reply here, in case others are interested. -- Please take off your shoes before arriving at my in-box. I will not, no matter how "good" the deal, patronise any business which sends unsolicited commercial e-mail or that advertises in discussion newsgroups. | |||
| | #3 | ||
| No excuse tho for the compiler freezing (while compiling). Ive had the IDE freeze on me untold numbers of times while scrolling (mouse event overrun or something...) All I can say is Shoddy is as Shoddy does. (And I mean you Bill G) Miss Elaine Eos wrote: > In article <Efa_a.708572$3C2.16620651@news3.calgary.shaw.ca>, > "Girgath" <geoffrycd@shaw.ca> wrote: > > >>I am going through the sams book, teach yourself visual C++ in 21 days, I am >>on day 6 and I have run into problems, I am getting an error where it says >>some variable doesn't excist which it does!!! and the main problem, I can no >>longer compile, it starts compiling and then freezez, so then I can't close >>it because it cannot close while compiling and so I have to close it from >>the task manager, but since my task manager is acting up this makes it >>hard... if anyone has the book or wants to look at my snip of code please >>reply. > > > I'm not familiar with the book, but I'd guess that your problem is not > VC++ specific. That is, you'd probably have the same problem in any C++. > > From the sketchy details you give here, I further guess that the problem > is one of scope and that your variable, while declared SOMEwhere, is not > available at the point at which the compiler complains. > > A code snippet would help, along with an indication of the exact error > msg and the point at which it is thrown. > > If the code is long, email it to me to save bandwidth. I'll trim it to > the relevant parts and post a reply here, in case others are interested. > | |||
| | #4 | ||
| "Eternal Vigilance" <wotan@oneeye.com> wrote in message news:3F3B321D.8060204@oneeye.com... > No excuse tho for the compiler freezing (while compiling). > > Ive had the IDE freeze on me untold numbers of times while > scrolling (mouse event overrun or something...) > > All I can say is Shoddy is as Shoddy does. (And I mean you Bill G) I don't think I've ever seen my copy of VisualC++ 6.00 Professional freeze or crash. Maybe you have bad ram or some other HW issue? Tony | |||
| | #5 | ||
| In article <1e95b91b3e0c0737d0501fe24152fdd5@news.teranews.co m>, Tony Di Croce <iaretony@hotmail.com> wrote: >> Ive had the IDE freeze on me untold numbers of times while >> scrolling (mouse event overrun or something...) >I don't think I've ever seen my copy of VisualC++ 6.00 Professional freeze >or crash. Maybe you have bad ram or some other HW issue? Leave it open overnight on a Win98 box, and a largish project (400K-500K lines of code). The entire system will be dead in the morning. No such problems with Win2000 and the same project, same HW. [Yes, this is in my personal experience] My recommendation: Win2000/XP are *SO* much stabler to develop on. Switch to them if at all possible. Nathan Mates -- <*> Nathan Mates - personal webpage http://www.visi.com/~nathan/ # Programmer at Pandemic Studios -- http://www.pandemicstudios.com/ # NOT speaking for Pandemic Studios. "Care not what the neighbors # think. What are the facts, and to how many decimal places?" -R.A. Heinlein | |||
| | #6 | ||
| "Eternal Vigilance" <wotan@oneeye.com> wrote in message > > No excuse tho for the compiler freezing (while compiling). > > Ive had the IDE freeze on me untold numbers of times while > scrolling (mouse event overrun or something...) > > All I can say is Shoddy is as Shoddy does. (And I mean you Bill G) > > To justify charging 80 quid for a copy, MS put lots of unnecessary features into VC++. You can change the font, you can play with the colour scheme, you can dock toolbars and move windows around. All of this stuff makes it harder to use. There are also evil "time saving" compilation features. Fot instance, if you get it automatically generate a skeleton app for you you will see a file called stdafx.h mysteriously included. Try adding a file without stdafx in it, and suddenly you will get the "precompiled headers not found" error message. The way to treat MSVC++ is to be terribly conservative. Not easy when your software requires resources. Try not to do anything fancy so it doesn't do something not properly tested by the folks at MS. | |||
| | #7 | ||
| Hauke Duden wrote: > And the IDE just plain rocks. It is stable, You've *got* to be kidding. In my experience the VC IDE locks up if you so much as breathe at it. -- Rainer Deyke - rainerd@eldwood.com - http://eldwood.com | |||
| | #8 | ||
| In article <ADQ_a.144250$o%2.61730@sccrnsc02>, Rainer Deyke <rainerd@eldwood.com> wrote: >Hauke Duden wrote: >> And the IDE just plain rocks. It is stable, >You've *got* to be kidding. In my experience the VC IDE locks up if you so >much as breathe at it. He was talking about VC6, which in my experience is solid on 2000/XP. VS.NET is a disgrace of a UI, unstable (especially if you have multiple instances open), and a complete mess. Give me the VS.NET compiler in VC6's interface (which is NOT cloned in VS.NET), and I'd buy it for home. If I didn't have to use VS.NET at work, I wouldn't touch it. Nathan Mates -- <*> Nathan Mates - personal webpage http://www.visi.com/~nathan/ # Programmer at Pandemic Studios -- http://www.pandemicstudios.com/ # NOT speaking for Pandemic Studios. "Care not what the neighbors # think. What are the facts, and to how many decimal places?" -R.A. Heinlein | |||
| | #9 | ||
| Nathan Mates wrote: > In article <ADQ_a.144250$o%2.61730@sccrnsc02>, > Rainer Deyke <rainerd@eldwood.com> wrote: >> You've *got* to be kidding. In my experience the VC IDE locks up if >> you so much as breathe at it. > > He was talking about VC6, So was I. -- Rainer Deyke - rainerd@eldwood.com - http://eldwood.com | |||
| | #10 | ||
| > > And the IDE just plain rocks. It is stable, > > You've *got* to be kidding. In my experience the VC IDE locks up if you so > much as breathe at it. Well, I can only speak for myself, and I haven't even had ONE lockup in all the years that I am using it. At least none that were related to the IDE - of course you will get a lock up if you try to debug past a DirectDrawSurface Lock call, for example, but that is an issue with the way DirectX works and has nothing to do with the stability of the IDE. I did have crashes (only a few, though) but never any IDE-lockups. Hauke | |||
| Featured Websites | ||||
|
![]() |
| Tags: help |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| Featured Websites | ||||
|