ok, I manage to get to the <virtualuser> now. I just need to get to the <random>. I tired using
for(TiXmlElement* example2 = root->FirstChildElement(); example2;
example2 =...
Type: Posts; User: airesore
ok, I manage to get to the <virtualuser> now. I just need to get to the <random>. I tired using
for(TiXmlElement* example2 = root->FirstChildElement(); example2;
example2 =...
Thanks for the attempt. However, I'm not allowed to change my XML file though. If anyone could help me get from layer 3 back to layer 2 it would be nice. Because if i use break and try to go back in...
Hello, I need some help figuring out how to read the next element on the list. I first need to get out of the <Account> loop though, but i tired using break, but it doesn't work.
I kept getting an...
Long story story, i am using code blocks now...>.>
Where's the lib file in the tinyxml download zip for 2.6.2? 11031
I'm trying to link it however i can't find the lib file.
EDIT:Nvm I found...
I'm not sure, but i got it from this site. Using TinyXML with Dev-C++, C++ Libraries and Application Frameworks
The .cpp came linked already with tinyxml.
I'm still not getting this. I know it's simple, but I'm quite novice.
int main()
{
TiXmlDocument doc( "demotest.xml" );
TiXmlElement * element = new TiXmlElement( "Bold" );
...
im not expereinced with dereferencing:frown:, is it something like this?
int main()
{
TiXmlDocument doc( "demotest.xml" );
TiXmlElement * element = new TiXmlElement( "Bold" );
...
Hello, I'm trying to use TinyXML to read a XML and store some of it's values to a string array.
How would I do this?
So far this is my code: (note you can pretty much just skip to my int main()...
Umm...stupid question. I was poking around this forum and I changed the view to mobile view and now i'm stuck in mobile view cuz i can't find the change back button. Anyone know where it is? I tired...
oh, why hasn't many people taken advantage of cross platform programming? With my limited knowledge I think it cover most of what a programmer would want just on it's own.
I seen quite a few QT...
An interesting topic to discuss on, so i hope no one minds if i open a can of worms add to this discussion.
I'm sure we are all aware that lanague develop/evo/spin off over time a few examples is...
ok nvm, i figured it out. Cheers
@manasij7479 I'm not sure, but i'll assume SHTDN_REASON_MAJOR_OTHER will give some kind of message, because system(); give a message. Although i haven't tired it yet so i wouldn't know.
I'm having...
system("shutdown -s -t 10");
vs
ExitWindowsEx(EWX_POWEROFF, SHTDN_REASON_MAJOR_OTHER);
Which is better? and why?
Thanks, trying to figure out the example code now.
if( (pPipe = _popen( "dir *.c /on /p", "rt" )) == NULL )
exit( 1 );
I don't really get the line above.
I'm assuming it's...
I've been experimenting with piping to external programs in the last few days and have gain no grounds.
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char...
ok i read it and was able to save the char array as a string. Now I want this function in my other program. How do i combine this
case WM_CREATE:
hwndEdit = CreateWindow(TEXT("Edit"), NULL,...
Basicly I want to get the user to input a directory and file name in another program, then the program saves it.
I plan to modify this code to suit my needs, however i need someone to help me...
search up:
-if statements
-cin
edit: also you will need rand()
@Elkvis All the main funcation of the program is done. I don't really want to spend a few more days playing with XML.:frown:
@bernt hmm...so if i run a program with piping in C++, then the first...
Just need to get the user input which is a simple one line string from the java application to the C++ application like filename and save location.
Java application reads a xml file and creates a...
windows
Edit:I figured it out, thanks anyways
Edit2: how do i get a value from another program? I know how to make a txt file to transfer data if it use of/ifstreams, but i would like to know a...
I sort of made a messed up program where half of it is in java and the other half is in C++.
So i plan to make a third program that would run the Jar file first then after that would run the C++...
Talk to your academic advisor, i'm sure they dealt with situations like this before and would offer you different options to chose from with much more detail.
I haven't played with Arduino for a long time, but this might help. http://cboard.cprogramming.com/cplusplus-programming/141782-getting-local-time-window-using-cplusplus.html