My head is about to blow off- Please help!

Started by
19 comments, last by Digigamer15 21 years, 4 months ago
alright I recently purchased Microsoft Visual C++.net and whenever I complile and run a source code it will do 2 things. 1. it will tell me there are errors, which I understand. I once I have fixed all the errors I comile and run it again. It will tell me I have zero errors. I click run and it comes up with a new window that is completely blank. No matter what the source code is it does that same thing every time and its pissing me off. I buy this $100 software and it is not producing shit. DevC++ is working better then Visuall C++.net and its FREE! Anyways here is a screen shot of the blank window and all http://www.geocities.com/ffsqualldbz/visual.html Any help at all is greatly apprciated. Thanks in advance. Programming is confussing!
-----------------------------AIM: Trebor DoDHompage: Thinking Digitally: My Web Blog
Advertisement
First of all, chill out. The fault is on your end, and not in VC. After all, it works just fine for thousands of developers everyday, myself included.

You sound like a newbie. Therefore it''s reasonable that you have the "newbie hubris", the belief that you can do anything and that if anything doesn''t work, it''s the fault of the creator. Yes it''s a generalization. Yes it''s true.

Unfortunately, your bandwidth got sucked up so your site is unavailable. However, I''ll try to help figure out the problem as soon as it comes back up.

Yes, programming is confussing (sic), but by taking the attitude you have, you''re setting yourself up for depression and disaster.

Once again, chill out.

Peace,
ZE.

//email me.//zealouselixir software.//msdn.//n00biez.//
miscellaneous links

[twitter]warrenm[/twitter]

Why don''t you post your code, so we can determine if it is something in your code that is causing problems?
------Shop for the Lowest Price!Then, Check a Reseller's Rating Before You Purchase!
Your window looks fine.

Of course you havn''t told us what should be in the window, so I''ll assume a blank white window is what you want.
The window looks fine, but there''s a source code window with a "main function" in the background.

I suspect that you''ve used the wizard to create a basic Win32 windowed app, when really you want to be working in the console.

Are you learning C++? Things like outputting a number, a string, hello world prompt, etc.?

If you want to do the kinds of things that are in C++ handbooks, you have to create a Console project in Visual C++, not a Win32 windowed project (New Project - Win32 Project - Application Settings - Choose console, not Win32, and make it an empty project so that you can do whatever you like ).

Programming for Win32 is quite a bit different from what the textbooks tell you, so just start off with the console, and you''ll learn a lot there that will help you with Win32 later.
It's only funny 'till someone gets hurt.And then it's just hilarious.Unless it's you.
Does Microsoft VC++ only cost $100, i was looking and found fora rounf $400. Is that the normal price or am i going to have to look really hard to find it for $100?

My funnies:
"My mom was a ventriloquist and she always was throwing her voice. For ten years I thought the dog was telling me to kill my father."
and:
"The longest word in the english language is the one that follows the phrase, ''''And now a word from our sponsor''''."
BoC HomepageLuck is a Horse to ride like any other...Luckily im not a gambler, I dont know how to ride.
Not sure about the exact prices but there is a "Student" price.
"Un brin de haine et pas mal d''ennuisConduisent à des actes qui gâchent toute un vieCes personnes qui sont rongées de regretsCarrément aigries d''avoir vécus trop longtemps dans le secret..."-AKH-
MadKeithV- thank you, I will take to your advice and try using console app instead of win32. I was told I was supposed to use a win32 app by my books and tutorials so thats why I choose it.


ZealousElixir- I know I sound like a newbie and the answer is that it is because I am a newbie. I do not act like you said though. At the time of posting this I was just very frusterated. And btw the programming is confussing this is my sig. I did not say that in my post, though it's true.


EDIT: Ack! MadKeithV, I just checked my visual C++.net to select console instead of win32 and there isn't a console! There is like 12 different ones but no console. Here are the ones it gives me:

ATL Project
ATL Server Project
ATL Server Web Service
Makefile Project
Managed C++ Application
Managed C++ Class Library
Managed C++ Empty Project
Managed C++ Web Service
MFC ActiveX
MFC Application
MFC DLL
Win32 Project


I've been using the win32 project and just getting a blank window every time which one should I be using for begging C++ things like Hello World. Please help

[edited by - digigamer15 on December 20, 2002 11:59:40 PM]
-----------------------------AIM: Trebor DoDHompage: Thinking Digitally: My Web Blog
You don''t act like I said? The fact that you got frustrated and claimed that VC couldn''t produce shit indicates to me that you do act like I said. But that''s okay. This experience will help you outgrow it.

Anyway, like others have said, you want the "Win32 Console Application" project type.

Also, a great way to avoid your bandwidth getting stomped is to resize your screenshots to something sane but readable like 800x600 and saving them in a lossy but compressable format like JPEG (as opposed to BMP).

Others: VC.NET Standard Edition is roughly 90-100 bucks. Professional and Enterprise Editions (I''m not even sure if you can get VC.NET Professional independent of VS.NET) will run you considerably higher because of added tools and better optimization features.

Peace,
ZE.

//email me.//zealouselixir software.//msdn.//n00biez.//
miscellaneous links

[twitter]warrenm[/twitter]

ok I made the image smaller on the website.
www.geocities.com/ffsqualldbz/visual




Programming is confussing!
-----------------------------AIM: Trebor DoDHompage: Thinking Digitally: My Web Blog

This topic is closed to new replies.

Advertisement