Click here to Skip to main content
14,218,892 members

C / C++ / MFC

 
AnswerRe: Custome title bar Pin
Victor Nijegorodov29-Jun-18 1:31
memberVictor Nijegorodov29-Jun-18 1:31 
AnswerRe: Custome title bar Pin
«_Superman_»1-Jul-18 18:16
professional«_Superman_»1-Jul-18 18:16 
QuestionC++ and Artificial Intelligence Pin
Miles UE28-Jun-18 11:55
memberMiles UE28-Jun-18 11:55 
AnswerRe: C++ and Artificial Intelligence Pin
Manish K. Agarwal28-Jun-18 21:56
memberManish K. Agarwal28-Jun-18 21:56 
GeneralRe: C++ and Artificial Intelligence Pin
_Flaviu28-Jun-18 22:06
member_Flaviu28-Jun-18 22:06 
AnswerRe: C++ and Artificial Intelligence Pin
Daniel Pfeffer2-Jul-18 23:21
professionalDaniel Pfeffer2-Jul-18 23:21 
AnswerRe: C++ and Artificial Intelligence Pin
Maximilien3-Jul-18 8:40
memberMaximilien3-Jul-18 8:40 
AnswerRe: C++ and Artificial Intelligence Pin
Stefan_Lang16-Jul-18 5:47
memberStefan_Lang16-Jul-18 5:47 
There are a few rule-based programming languages that were developed with artificial intelligence in mind, specifically expert systems, starting with Lisp and Prolog. But, other than that, any general purpose language is suitable.

C++ is a specifically good choice for applications that involve heavy computing, and that is certainly an ostentatious property of most ML algorithms.

There's one particular problem you should watch out for however: memory management. Unlike many newer languages, C++ requires you to manage your memory yourself, and this is a constant source of problems, specifically in complex programs that require a lot of memory - and this definitely includes ML. You should therefore learn about the use of smart pointers and always use those, rather than raw pointers. The sooner you get used to using them, the better: it will save you a ton of headaches in the long run!

As an introduction, check the descriptions and articles on C++ sites (e. g. Dynamic memory management - cppreference.com[^]) , or you could find some articles right here, e. g. C++11 Smart Pointers[^]
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

Questionevent handler Pin
Member 1249901728-Jun-18 8:21
memberMember 1249901728-Jun-18 8:21 
AnswerRe: event handler Pin
Victor Nijegorodov28-Jun-18 8:59
memberVictor Nijegorodov28-Jun-18 8:59 
AnswerRe: event handler Pin
«_Superman_»1-Jul-18 18:20
professional«_Superman_»1-Jul-18 18:20 
Question#import <somedll.dll> no_namespace Pin
Sakthiu28-Jun-18 5:03
memberSakthiu28-Jun-18 5:03 
AnswerRe: #import <somedll.dll> no_namespace Pin
Joe Woodbury28-Jun-18 5:46
professionalJoe Woodbury28-Jun-18 5:46 
AnswerRe: #import <somedll.dll> no_namespace Pin
Victor Nijegorodov28-Jun-18 8:46
memberVictor Nijegorodov28-Jun-18 8:46 
AnswerRe: #import <somedll.dll> no_namespace Pin
«_Superman_»1-Jul-18 18:25
professional«_Superman_»1-Jul-18 18:25 
QuestionC++ Run Time Error "Stack around the variable 'Student' was corrupted." Pin
Umad Ahmad27-Jun-18 1:45
memberUmad Ahmad27-Jun-18 1:45 
AnswerRe: C++ Run Time Error "Stack around the variable 'Student' was corrupted." Pin
Richard MacCutchan27-Jun-18 2:36
protectorRichard MacCutchan27-Jun-18 2:36 
QuestionConvert C++ code to python Pin
Megha Bhamare27-Jun-18 1:26
memberMegha Bhamare27-Jun-18 1:26 
AnswerRe: Convert C++ code to python Pin
Richard MacCutchan27-Jun-18 2:30
protectorRichard MacCutchan27-Jun-18 2:30 
QuestionHow to call a 'C' program function from VB code ? Pin
Sakthiu26-Jun-18 3:31
memberSakthiu26-Jun-18 3:31 
AnswerRe: How to call a 'C' program function from VB code ? Pin
Victor Nijegorodov26-Jun-18 4:04
memberVictor Nijegorodov26-Jun-18 4:04 
GeneralRe: How to call a 'C' program function from VB code ? Pin
Sakthiu26-Jun-18 4:08
memberSakthiu26-Jun-18 4:08 
QuestionRe: How to call a 'C' program function from VB code ? Pin
David Crow26-Jun-18 4:38
memberDavid Crow26-Jun-18 4:38 
AnswerRe: How to call a 'C' program function from VB code ? Pin
Sakthiu26-Jun-18 4:44
memberSakthiu26-Jun-18 4:44 
AnswerRe: How to call a 'C' program function from VB code ? Pin
David Crow26-Jun-18 4:49
memberDavid Crow26-Jun-18 4:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.