- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
13 Posted Topics
Hi.This is my program but it runs a lot of unnecessary stuff. Please post your program.:) [CODE] #include "stdafx.h" #include <iostream> using namespace std; void DoIt(int* y,int n,int m,int Level); int _tmain(int argc, _TCHAR* argv[]) { cout<<"Number of elements:"<<endl; int n; cin>>n; cout<<"Number of sets:"<<endl; int m; cin>>m; int* SubSetPositions;//Holds …
Hi. I am trying to create this password storing desktop application. So,I'll need to save all the usernames and passwords the user wants to store in a file and encrypt it,so no one can read from it. I can write an encryption class,but I'm afraid it will become very basic …
I am planning to save files using xml writing as an alternative to MFC serialization. I want my application to use xml file writing and reading. I am using ofstream and ifstream for this. [B]Lets say my application files are have a format .xyz[/B] So,the main problems I am facing …
I have created a few applications in MFC. But I want to start saving the contents of them to files(just like word,guitar pro or paint). I tried serialization provided by MFC but I didn't like it that much because I couldn't check anything that was saved at all. So,I wrote …
[QUOTE=wwsoft;1133866]hello , I am creating a map format for a game I'm making and I'm hoping to use xml. Can anyone tell me how to access elements using tinyxml ? or at least how create some sort of pain text parser ? Thanks in advance ! A Novice C++ Programmer[/QUOTE] …
For reading from an xml file, [CODE] char s[6]; ifstream x("output.xml"); x.getline(s,34); [/CODE] char s[6]; I don't want to specify the maximum number of characters in 's'.So,I tried to use string s instead,but getline only takes character arrays. When I used char*,it said,The variable 's' is being used without being …
I use mfc. Is it possible to serialize member variables in the view class?
I need help with running two function at the same time . MultiThreading? [CODE]void Function1(int n) { while(n<10) { n++; } } [/CODE] [CODE]void Function2(int n) { while(n<20) { n++; } }[/CODE] If these are the 2 functions,can someone tell me how I can start the 2 together [B][U]from int …
If you are referring to the function that returns a random number... Good question.Computers can't generate random numbers the way our mind does,random itself is kind of strange,not that well defined. I think it could be done by using the time function.
How to make a time based regular function?Like something that plays a sound every 1 second?
How do I fill a part of the view (in mfc vc++)with a color.Like say,I just drew a circle,how do I fill it with some color?
I want to make drum software.I need to use standard midi for this.Someone please tell me how I can.
Tic tac toe is a small game compared to a game like chess. It is good to write a recursive function that will try out all the moves possible and choose the best one. This will simplify the code and make the program very efficient. If you find that hard,you …
The End.
nerdinator