hey all...

i began to learn C++ about a year ago, and i have progressed to the point where i create text-based games(long ones) with various commands. however, i do not know how to begin a source file. whether my instructor missed it or did not go over it, i do not know. all i DO know is, whatever i try to use, it will display it all as syntax or parse errors.

i use Bloodshed Dev-C++, i would appreciate any help at all pertaining to this problem.

lol_hacker101

Salem commented: Yes, your thread titles are crap. -1

Recommended Answers

All 6 Replies

Member Avatar for iamthwee

Are you creating a .cpp file?

Member Avatar for iamthwee

Please post your code as well.

by the way... isn't it a rule to avoid posting your thread with names such as "Help" or things like that? Instead you should post threads with a title that sort of describes your problem

commented: Absolutely! +6

thnx 4 the link... actually it's pretty interesting...

You need to, in Dev-C++, make a new project file, and then make a new source file (File -> New -> Source File) and name it "main.cpp".

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.