i will start studying programming with C++ prog. language .. which programs should I use ?? please I need some help

Dani AI

Generated

Original poster noted use of Windows 8.1 and Manjaro/Ubuntu; correctly prompted for the OS and gave a broad list of options. The most useful next step is to pick one comfortable environment and learn a simple edit-compile-run-debug cycle before trying lots of different tools. Prioritize an editor or IDE that shows compilation errors inline, offers simple run/debug support, and is easy to reinstall on both Windows and Linux.

A minimal starter workflow that works everywhere:

  • create a single source file named main.cpp
  • compile it with a compiler that supports a modern C++ standard (C++11 or later)
  • enable warnings and debug info so errors are easier to trace
  • run the program and step through it with a debugger when needed

Example (replace compiler with the tool chosen for the platform):

compiler -std=c++17 -Wall -Wextra -g -O0 main.cpp -o main
./main

Next steps to grow competence: use version control (git) from the beginning, keep projects small (separate src/ and include/), learn to read the first compiler error (it is usually the root cause), and learn a cross-platform build workflow so projects move between Windows and Linux easily. Online playgrounds are useful for quick experiments before installing anything locally.

Quick troubleshooting checklist: read the very first error message, enable extra warnings, confirm file extension is .cpp, check include and library paths, and isolate the problem into a tiny test case. As observed, many tool choices exist; the fastest path to progress is one consistent setup plus short, focused practice projects.

Recommended Answers

All 3 Replies

What operating system are you using?

am using windows 8.1 and linux manjaro sometimes ubuntu

You have a wide range of options:

On Windows you could install the free version of Visual C++ Express (or buy a licence for one of the full versions of VS) and use the Visual Studio IDE and compiler. Or you could use a free IDE like Code::Blocks with Mingw (windows port of the gcc/g++ compilers). Or if you want to compile from the command line, without an IDE you could install Cygwin (a Unix-like terminal environment for Windows with ports of common Unix/Linux tools including gcc/g++, make, cmake etc)

On Linux you could install gcc/g++ with some additional command-line build tools (gnu make, cmake, autotools etc). And if you want to use an IDE for C/C++ there are many available for install too - Code::Blocks, CodeLite, KDevelop, Geany, Anjuta, Eclipse etc..

The choice is yours! And my list above is not exhaustive by any means. There are tons of other free compilers out there that I have not mentioned like llvm/clang! Or Eclipse (Java IDE), which can be used as a C/C++ IDE via a plugin.

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.