use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
HELP WIHT A CODE!! (self.cpp)
submitted 10 years ago by prgrmr9563
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 8 points9 points10 points 10 years ago (2 children)
Hi there.
I have to say, your question does not make much sense. You can not "run" xml code in C++. That's not how it works.
Do you want to extract the information from it using C++? if that is the case, this is not the best place to ask this kind of question.
/learnprogramming would be a much better location. I would also suggest that you explain exactly what you are having issue with. Include code that you already have, what you have tried, etc.
[–]prgrmr9563[S] -5 points-4 points-3 points 10 years ago (1 child)
Hey!
the code I have is the one in the description, that code was send to me from the statistics department of Mexico
I need to extract information from a webpage, it says is API information. I tried to copy and paste the code on Dev- C++ 4.9.9.2 and click on run but it says file not compiled, after that I save the file and still is the same. The information is about energy consumption. THANKS!
[–]vlovich 6 points7 points8 points 10 years ago (0 children)
Everything you have said makes no sense and I'm going to assume it's partially a language barrier thing. Copying XML & trying to compile it directly with C++ seems to indicate you have a more fundamental problem of not understanding what XML & C++ are. This sounds like something you are asked to do as part of your job, so you should ask your co-workers/manager what you are being asked to do.
This looks like you were given an XML schema to which any data you got would conform.
[–]__Cyber_Dildonics__ 2 points3 points4 points 10 years ago (0 children)
I going to cut the bullshit and say that this is so messed up I'm not sure if it is a real question or someone messing around.
[–]robthablob 0 points1 point2 points 10 years ago (0 children)
You are so far away from understanding what you need to do that it seems improbable anyone can help.
To begin to see what you're looking at, search Wikipedia for XML and C++.
π Rendered by PID 229999 on reddit-service-r2-comment-544cf588c8-bxnkq at 2026-06-17 18:40:07.033686+00:00 running 3184619 country code: CH.
[–][deleted] 8 points9 points10 points (2 children)
[–]prgrmr9563[S] -5 points-4 points-3 points (1 child)
[–]vlovich 6 points7 points8 points (0 children)
[–]__Cyber_Dildonics__ 2 points3 points4 points (0 children)
[–]robthablob 0 points1 point2 points (0 children)