954,535 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Help!

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

lol_hacker101
Junior Poster
150 posts since Sep 2006
Reputation Points: 14
Solved Threads: 0
 

Are you creating a .cpp file?

iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 

Please post your code as well.

iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 

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

Nichito
Posting Virtuoso
1,602 posts since Mar 2007
Reputation Points: 424
Solved Threads: 57
 
John A
Vampirical Lurker
Team Colleague
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339
 

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

Nichito
Posting Virtuoso
1,602 posts since Mar 2007
Reputation Points: 424
Solved Threads: 57
 

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".

linux
Posting Shark
933 posts since Aug 2006
Reputation Points: 118
Solved Threads: 30
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You