Run C in command prompt - Windows

0 votes
What may be the cause?

I know that everyone nowadays uses an IDE, but I find it easier to write my code in notepad++, compile it with a command prompt command, and execute it from there as well.

That is, at least, true for Java and Python.

I've attempted to figure out how to accomplish it in C++ but haven't come up with anything useful.

Is there a compiler (similar to Java's JDK) that I can install and use the C++ equivalents of javac and java to run and build my code from CMD?

Please do not submit responses and comments touting how much superior IDEs are - I know they are.

I'm simply used to doing things the old-fashioned way:D
Jul 22, 2022 in C++ by Nicholas
• 7,760 points
658 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In C++

0 votes
0 answers

not able to run graphics in DEV C++

Unable to run the graphics from following ...READ MORE

Jul 15, 2022 in C++ by Nicholas
• 7,760 points
398 views
0 votes
1 answer

Declare abstract class in c++

An abstract class is one that is intended to be used as a base class .  At least one pure virtual function exists in an abstract class.  A pure virtual function is declared in the class declaration by using a pure specifier (= 0) in the declaration of a virtual member function. Here is an example of an abstract class: class AB { public: virtual void f() ...READ MORE

answered May 31, 2022 in C++ by Damon
• 4,960 points
544 views
0 votes
1 answer

What data structure is inside std::map in C++?

An associative container is std::map. The standard's ...READ MORE

answered May 31, 2022 in C++ by Damon
• 4,960 points
821 views
0 votes
1 answer

Easiest way to convert int to string in C++

C++ adds std::stoi (and variants for each numeric type) and std::to string, which are the C equivalents of atoi and itoa but expressed in terms of std::string #include <string> std::string s = std::to_string(42); Is therefore ...READ MORE

answered Jun 1, 2022 in C++ by Damon
• 4,960 points
1,346 views
0 votes
1 answer

How to use std::sort to sort an array in C++

We receive std::begin and std::end in C++0x/11, which are overloaded for arrays: #include <algorithm> int main(){ int v[2000]; ...READ MORE

answered Jun 1, 2022 in C++ by Damon
• 4,960 points
1,110 views
0 votes
1 answer

Using getline() in C++

If you use getline() after cin >> anything, you must first flush the newline character from the buffer.  You can achieve this by using the cin.ignore() It would be something like this: string messageVar; cout ...READ MORE

answered Jun 1, 2022 in C++ by Damon
• 4,960 points
864 views
0 votes
0 answers

Programming slim C++ programs (like uTorrent) for Windows

What methods do you recommend for writing ...READ MORE

May 13, 2022 in Others by Kichu
• 19,050 points
384 views
0 votes
1 answer

How to pass in command line arguments when using ideone?

It appears that you won't be able ...READ MORE

answered Jun 21, 2022 in C++ by Damon
• 4,960 points
961 views
0 votes
1 answer

outputting ascii table in C++

This line doesn't do the right thing: ch ...READ MORE

answered Jun 13, 2022 in C++ by Damon
• 4,960 points
1,015 views
0 votes
1 answer

Has Windows an integrated built-in C/C++ compiler package?

Microsoft does not offer a compiler or ...READ MORE

answered Jun 14, 2022 in C++ by Damon
• 4,960 points
1,393 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP