Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~2K People Reached
Favorite Forums

13 Posted Topics

Member Avatar for dusktreader

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 …

Member Avatar for dusktreader
0
446
Member Avatar for nerdinator

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 …

Member Avatar for thelamb
0
102
Member Avatar for nerdinator

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 …

0
63
Member Avatar for nerdinator

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 …

Member Avatar for Ancient Dragon
0
200
Member Avatar for wwsoft

[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] …

Member Avatar for wwsoft
0
115
Member Avatar for nerdinator

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 …

Member Avatar for nerdinator
0
78
Member Avatar for nerdinator

I use mfc. Is it possible to serialize member variables in the view class?

0
59
Member Avatar for nerdinator

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 …

Member Avatar for nerdinator
0
103
Member Avatar for sonisuhas

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.

Member Avatar for Narue
0
145
Member Avatar for nerdinator

How to make a time based regular function?Like something that plays a sound every 1 second?

Member Avatar for Salem
0
126
Member Avatar for nerdinator

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?

Member Avatar for nerdinator
0
340
Member Avatar for nerdinator

I want to make drum software.I need to use standard midi for this.Someone please tell me how I can.

Member Avatar for Ancient Dragon
0
101
Member Avatar for laelzio.mosca

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 …

Member Avatar for nerdinator
0
210

The End.