need a help by developing a c++ program for me

I need a C++ code for "Who wants to be Millionaire" for completion of my assignment before this week. The requirements of the software is: The question with its rate (from 1-12) is extracted from a file.
Then I suggest you open up an IDE and start coding.
Last edited on
Slow down there, Einstein! IDE is a mighty big thing. There's always the barebones option :)
Then I suggest you open up an IDE and start coding.

Then I suggest you open up notepad and start coding.
Why do people so frequently recommend plain old text editors? An IDE is so much faster and less of a pain in the ass. Not to mention all the helpful auto-complete features.
Why do people so frequently take their own personal experiences and assume that everyone else's experiences are identical? Is it a lack of imagination? Is it a part of the autistic or psychopathic spectrum, being unable to see others as unique, individual and different people? Maybe it's a belief that whatever they use a tool for is in fact the only use - I see this one a lot from web programmers, and the "Why do people still use C" crowd.
Last edited on
Aren't you being a little dramatic? It's a simple question warranting a simple answer. The fact that you feel the need to attempt to condescend to me speaks volumes about you.
I agree with whoever said IDEs are easier. Yes, they have a ton of features that newbies likely will not even look at it, but it magnitudes easier for a a newbie to just write a quick program in there and click build and run. There is no argument here. For a person who likely doesn't know what a linker and compiler are, trying to invoke them and run from command prompt is going to be harder. I'm not saying one is better than the other, I'm just saying for a newbie, one is clearly easier to compile and run a program.
The fact that you feel the need to attempt to condescend to me speaks volumes about you.


I hope you fail...

Careful throwing those stones :)
Last edited on
closed account (zb0S216C)
If you're going to ask for solutions, it's not the best idea to use your full name as your username. Idiotic, really.

Wazzak
The requirements of the software is: The question with its rate (from 1-12) is extracted from a file.
1
2
3
std::ifstream in ("file.txt");
std::string s;
std::getline(in, s);
Assignment completed!
Aren't you being a little dramatic? It's a simple question warranting a simple answer.


A text editor is common for editing C++ because it is, in fact, text...
A text editor is common for editing C++ because it is, in fact, text...


I'm just saying... IDE's are a lot faster and simpler. Why go through the process of typing out long commands to compile when you can just hit Build & Run? Not to mention that an IDE can more easily manage a hierarchy of files and build configurations. Add to that auto-complete, code checking, and syntax highlighting? I'd say IDE's are worth using over text editors.
Why go through the process of typing out long commands to compile when you can just hit Build & Run?


make is not a lot to type. Sometimes, I do like to type it all out longhand; essentially for the fine control without having to crawl through a dozen badly designed overstuffed menus.

Not to mention that an IDE can more easily manage a hierarchy of files and build configurations.

Not as easily as a text file can.

Add to that auto-complete, code checking, and syntax highlighting?

If you like them, sure, go ahead and use them. I find such things a distraction and they reduce my ability to code.

Everyone is different.
Last edited on
I think, generally speaking, newcomers can tend to be afraid of plain text. Obviously, it's not the same for everything as people learn differently and grasp certain things easier than others.

But I think an IDE probably provides some sort of safety net. It's almost like a level of abstraction from plain text and I think that there's a good chunk of people that would prefer to hit a "build" button rather than type "make" into a terminal window.

That said, I think it's beneficial to understand both. Neither are particularly hard to grasp and both have advantages. All of my work-based environments are terminal based, and I find using ViM (with syntax enabled, mind you) more than adequate. Auto-complete is missed but it's nothing I can't do without a quick copy and paste.

End of the day, your result is going to be the same.
Topic archived. No new replies allowed.