how to create a program using C++ pls tech me :P ;)

Dani AI

Generated

A short, practical starter for someone asking “how do I create a program in C++?”: pick a toolchain, create a tiny program, compile and run it, then learn language fundamentals and modern idioms. was right to point at tutorials, and ’s IDE advice made sense for 2010—today a good Windows choice is Visual Studio Community or, for cross-platform work, Visual Studio Code paired with GCC/Clang. (visualstudio.microsoft.com)

Prove your toolchain works by writing the smallest program and compiling it from the command line. Example:

#include <iostream>

int main() {
    std::cout << "Hello, world\n";
    return 0;
}

Compile with g++ -std=c++17 hello.cpp -o hello (Linux/macOS) or with MSVC cl /EHsc hello.cpp (Windows). The “install, write, compile” loop is the fastest way to learn the developer workflow. (learncpp.com)

Use a reliable reference and learn modern C++ (not just pre-2011 styles). Keep a current reference like cppreference.com handy and aim to learn features from recent standards (C++17/20/23); the ISO/C++ site documents the current standard status. (cppreference.com)

Practice and tooling: inspect generated code with Compiler Explorer (Godbolt), use sanitizers (ASan/UBSan) and linters (clang-tidy) to find bugs, use git for version control, and build tiny projects (I/O, containers, RAII, smart pointers, simple templates). When asking for help, post a minimal reproducible example and what you tried. (godbolt.org)

(References above point to up-to-date tutorials, reference sites, and tools so a beginner can move from “how do I make a program?” to writing safe, modern C++.)

Recommended Answers

All 7 Replies

T_T

split from here

commented: Smooth +18

Whenever in doubt, use the urban-dictionary. It came in handy for me a couple of times. I never joined the l33t hoaxers either :)

I'm surprised the guy even had the ability to sign up.

commented: Yeah, they can't use Google, except for finding forums :P +6

how to create a program using C++ pls tech me :P ;)

Read a tutorial.

how to create a program using C++ pls tech me :P ;)

First download and IDE, I prefer, Microsoft visual C++ express edition 2008. Its the bottom left, with
the yellow colored box.

Second learn how to create a project, google it up.

Third, youtube , "hello world program in visual studio C++ 2008".

Follow those steps then your quest to C++ perfection will start.

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.