943,989 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 1207
  • C++ RSS
Apr 27th, 2007
-1

Help!

Expand Post »
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
Reputation Points: 14
Solved Threads: 0
Junior Poster
lol_hacker101 is offline Offline
150 posts
since Sep 2006
Apr 27th, 2007
0

Re: Help!

Are you creating a .cpp file?
Featured Poster
Reputation Points: 1536
Solved Threads: 431
Posting Expert
iamthwee is offline Offline
5,865 posts
since Aug 2005
Apr 27th, 2007
0

Re: Help!

Please post your code as well.
Featured Poster
Reputation Points: 1536
Solved Threads: 431
Posting Expert
iamthwee is offline Offline
5,865 posts
since Aug 2005
Apr 27th, 2007
1

Re: Help!

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
Featured Poster
Reputation Points: 424
Solved Threads: 57
Posting Virtuoso
Nichito is offline Offline
1,594 posts
since Mar 2007
Team Colleague
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
John A is offline Offline
5,055 posts
since Apr 2006
Apr 27th, 2007
0

Re: Help!

thnx 4 the link... actually it's pretty interesting...
Featured Poster
Reputation Points: 424
Solved Threads: 57
Posting Virtuoso
Nichito is offline Offline
1,594 posts
since Mar 2007
Apr 28th, 2007
0

Re: Help!

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".
Reputation Points: 118
Solved Threads: 30
Posting Shark
linux is offline Offline
931 posts
since Aug 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: How to know the coding behind .exe file
Next Thread in C++ Forum Timeline: select sort using array of pointers---getting wrong values.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC