• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

FBi's running C++ questions

its all i know
 
To be fair, creating anything non-console based without using Visual Studio is a real nightmare.

I too use Dev-C++ for both my C and C++ apps - it's pretty sweet in that it's free, easy to use and lightweight.

As for clearing the screen, generally no application clears the window because the entire point of it is that you can go back and see what you did. Most programs actually just bump you down a few lines so it LOOKS like you've got a clean screen, but you're in essence just 3 lines down the page...

If your working with Unix you can you the curses library to do neat things with the command line, like ASCII animations, loading bars and crazy stuff like that. Sadly MS aren't big on the command line thing, and GCC is built for Linux so you get a big mugged over with the command line on Windows :cry:
 
To be fair, creating anything non-console based without using Visual Studio is a real nightmare.

I too use Dev-C++ for both my C and C++ apps - it's pretty sweet in that it's free, easy to use and lightweight.

As for clearing the screen, generally no application clears the window because the entire point of it is that you can go back and see what you did. Most programs actually just bump you down a few lines so it LOOKS like you've got a clean screen, but you're in essence just 3 lines down the page...

If your working with Unix you can you the curses library to do neat things with the command line, like ASCII animations, loading bars and crazy stuff like that. Sadly MS aren't big on the command line thing, and GCC is built for Linux so you get a big mugged over with the command line on Windows :cry:

It was easier with VC++6, a little bit .. i may have to look for it again.

by non-console im assuming you mean "the dos window"
 
non-console means using a GUI instead of the "dos window".

All of the VS2008 Express editions make it very simple to write GUIs.
It generates all the code for all the windows and controls (like buttons, etc.) for you.

It's nice, becuase you can then look at the code that VS generates to learn how certain things are done.

I will admit, however, that on occasion VS generates a ton of code for what could be very simple things.
 
non-console i'm meaning like some kind of GUI - you know when you see this free software floating around with grey windows, buttons and text boxes?

Yeah - the console, in windows, is "the dos window"...:(

Visual C++ supports a GUI builder and plenty of stuff for the command line - it's a free download too atm. Well, Visual C++ Express Edition is. http://www.microsoft.com/express/vc/
 
I had it installed already but it was a bit intimidating, so i went to dev
 
Okay, IRA, if you want to get over your "fear factor" of VS, try it again and post anything that you are not sure of and we will guide you along.

I am not saying that one is better than the other, but VS really makes it easier for a beginner to jump in and get results, even if they don't understand everything.

MS has done a very nice job of combining a fully functional IDE (Integrated Development Environment) with a RAD (Rapid Application Development) environment for developers.

If I were you, I would download C# express and start there. It is more intuitive than C++ for someone who is trying to learn the basics. You can always return too C++ if you want, once you know the basics.

I don't wish to sound like a MS fanboi, but you really cannot find an IDE that integrates all of the programming languages into a seamless development environment. You can easily code in whatever language you want, and they will work together because of the nature of the .Net framework.

I hold MS in contempt for some of the things they have done, but releasing their entire coding environment and all their compilers for free is not one of their bad moves.
 
Code makes me cry.
 
Code makes me cry.

How does your comment in any way add to this thread?
Unless you are crying out for coding help. In which case we will be happy to assist you.
 
It doesnt really.

I can add that it doesnt make a lick of sense to me. I bought a book about a year ago and tried reading up on it. It just doesnt click in my head.

And when your getting ready to write the program, how will you know what code to put in the line to do what you want to achieve?
 
It doesnt really.

I can add that it doesnt make a lick of sense to me. I bought a book about a year ago and tried reading up on it. It just doesnt click in my head.

And when your getting ready to write the program, how will you know what code to put in the line to do what you want to achieve?

No one is born knowing anything about computers or programming.
It is just something that catches their interest and they persue it.

Some are quicker to learn it that others, but anyone can learn it is they devote some time to it.

Some will be better than others in the long run, but that does not mean that a person cannot enjoy programming and make it useful for what they want to do.

If you want to learn. Just ask.
 
No one is born knowing anything about computers or programming.
It is just something that catches their interest and they persue it.

Some are quicker to learn it that others, but anyone can learn it is they devote some time to it.

Some will be better than others in the long run, but that does not mean that a person cannot enjoy programming and make it useful for what they want to do.

If you want to learn. Just ask.

I agree with your first statement because it is like that with anything. But that wasnt my point. Programming did catch my interest so I bought a book to learn up on how to do it and as I was reading, it never really made any sense as to why they used what they did.

I personally learn better with hands on than with reading out of a book. That is why I am good with computer repair. I probably could be too on the networking side of things, but there is also a lot of memorization shit that Id have to know. ADD doesnt help things much either.

Even if I did/do want to learn about C++, I wouldn't know what to ask let alone have you guys here on the forum begin to teach me via a forum.
 
Okay, IRA, if you want to get over your "fear factor" of VS, try it again and post anything that you are not sure of and we will guide you along.

I want to start something basic (like the code example before this) i want to use VC++08Express, what options should i choose starting up?
 
First, my apologies to IRA. Your thread is wandering from us helping you, to maybe helping anyone who wants to code.
I hope you are not disappointed in that as you may have started a thread that helps more new progarmmers than any so far :toast:

I agree with your first statement because it is like that with anything. But that wasnt my point. Programming did catch my interest so I bought a book to learn up on how to do it and as I was reading, it never really made any sense as to why they used what they did.

This would be similar to buying a book on how to drive a car. If you don't try it, you just don't get it.

I personally learn better with hands on than with reading out of a book. That is why I am good with computer repair. I probably could be too on the networking side of things, but there is also a lot of memorization shit that Id have to know. ADD doesnt help things much either.

Hands on is everything. Same with programming. You don't have to memorize everything, you just have to remember where to look stuff up.

Even if I did/do want to learn about C++, I wouldn't know what to ask let alone have you guys here on the forum begin to teach me via a forum.

You don't have to know what to ask. Just start a thread saying you would like to begin learning. We know what it was like to begin, do not feel intimidated. When I first started programming, all the coders I asked simple questions of were happy to help me. I will always pass that attitude along to anyone who wishes to learn.

If we do not share our knowledge, we have accomplished nothing.
 
First, my apologies to IRA. Your thread is wandering from us helping you, to maybe helping anyone who wants to code.
I hope you are not disappointed in that as you may have started a thread that helps more new progarmmers than any so far :toast:

i dont mind, theyre helpless like me.
 
I want to start something basic (like the code example before this) i want to use VC++08Express, what options should i choose starting up?

What kind of program are you trying to write? That makes a difference on how you start.
 
i want to an atm simulation witha login screen
 
What kind of program are you trying to write? That makes a difference on how you start.

I apologize IRA for hijacking your thread a bit, but it seems you are cool with it. Though, Ill try and keep my comments here brief.

I wanted to quote Kreij since the whole reason I tried to learn C++ was because I wanted to make my own freeware version of temp monitors. (CPU, GPU, NB, etc)

The whole thing kinda died on me.
 
i want to an atm simulation witha login screen

I am sorry IRA, I have no idea what you mean.

I wanted to quote Kreij since the whole reason I tried to learn C++ was because I wanted to make my own freeware version of temp monitors. (CPU, GPU, NB, etc)

That is a great goal, but before you can run you have to learn how to walk.
You must learn the basics to do simple stuff, before you try to tackle how to get in-depth hardware information from your components.

Each of us (including W1zz) started with the basics.

Many people who learn a little about writing game code do the same thing.
They want to go from drawing a square to making Half Life 9.0
It's not going to happen.

Relax, learn and enjoy.
Programming is fun, but it takes some real effort if you want to really be good.
 
My doing a program that simulates an Automated Teller Machine.
 
Since the controls on an ATM are all buttons, you could make your simulator look just like one using a GUI.
 
i want to star t at the basics dont want to jump any steps so id like to use console.
 
i want to star t at the basics dont want to jump any steps so id like to use console.

That is fine, IRA, but why not slowly learn both ?
Using a GUI is just another way of displaying the same information that you are sending to the console window, except with graphics to make the interface more user accessable (I really dislike the term "user-friendly").

Just a suggestion :toast:
 
you don't know what your missing with dialogs, first one I made I was about 12 or 13 years old think in VB2 or 3 made my own version of notepad that had paint functionality called it "mouseworx" heh thought I was going to be a millionaire :(

last program I made with a console was a tcpip.sys thread unlocker because Microsoft likes to lock windows at 10 threads.

consoles are point to point not very fun.

- Christine
 
Thanks Christine,

You are right. The number of controls that are availalbe now is excellent.
You can do almost anything you want with a GUI with very little effort.

Even if the funtionality of the control is lacking something you need, you can always inherit all of the functionality of the control and add to it.

I am sorry you did not become a millionaire.
 
Back
Top