Well i use Dev-c++ 4.9.9.2 for programming..i m using it from last two years...recently i learned java and saw that all java programs are run through command prompt. I tried tha same in c++. i saved my program in dev-cpp/bin .but i am not able to do this..what is the exact procedure please tell me.. and How to pass command line argument. Is there any limitation on the type of arguments passed to main. like i saw somewhere int main(int argc,string args[])
rajatC -1 Junior Poster
Recommended Answers
Jump to Postthanks for the links...they are really useful...
but my problem is that i dont know what are commands to compile and run the cpp program..ok see
steps are
1.save file in bin
2.run command prompt
3. type incd c:\dev-cpp\bin
now i m in the same directory where the …
Jump to PostAfter creating the command prompt window you have to add the dev-cpp\bin to your PATH environment then execute make.exe
c:\Dev-C++:>make -f makefile.win <Enter>
The makefile.win should have been generated by the Dev-C++ IDE. If not, then you will either have to learn how to create it manually (its a big …
Jump to PostThanks for your response to a three-year-old thread :)
For anyone else who stumples upon this thread, I don't recomment Dev-C++ any more because its a dead IDE and uses an old compiler. Get Code::Blocks.
All 9 Replies
vmanes 1,165 Posting Virtuoso
rajatC -1 Junior Poster
bugmenot 25 Posting Whiz in Training

iamthwee
rajatC -1 Junior Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
AlexOverLord 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
joaquince 0 Newbie Poster
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.