Click here to Skip to main content
16,009,057 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: streambuf Pin
Mike Dimmick4-May-04 23:20
Mike Dimmick4-May-04 23:20 
QuestionMonitor event in another windows app? Pin
Member 10749994-May-04 22:18
Member 10749994-May-04 22:18 
AnswerRe: Monitor event in another windows app? Pin
Member 10749994-May-04 23:44
Member 10749994-May-04 23:44 
GeneralRe: Monitor event in another windows app? Pin
jmkhael5-May-04 0:03
jmkhael5-May-04 0:03 
GeneralRe: Monitor event in another windows app? Pin
Member 10749995-May-04 4:34
Member 10749995-May-04 4:34 
GeneralRe: Monitor event in another windows app? Pin
Member 10749995-May-04 5:07
Member 10749995-May-04 5:07 
GeneralRe: Monitor event in another windows app? Pin
jmkhael5-May-04 5:12
jmkhael5-May-04 5:12 
GeneralConfiguration Files Pin
Poljack4-May-04 21:40
Poljack4-May-04 21:40 
hello there. i am assign into creating a standard configuration file and routines to implement this. what i did was create class associated with every application and the set the value in the file with the same format.
for example:
class app {
public:
int var1;
int var2;
app{
var1 = 0;
var2 = 1;
}
};
class CONFIG{
app a;
};
class CConfig{
CConfig(char * path);
public:
CONFIG config;
};
main()
{
CConfig * con;
con = new CConfig("configuration.cfg");
printf("%d",con->config.a.var1);
}
Configuration File;
[start]
config.a.var1 = 20;
config.a.var2 = 200;
[end]
my problem is how to associate every line of the configuration file to the elements of the class.
or my question would be how can i transform a string into a object. i already know how to convert object into string but i 'm still hesitant on looping every object and compare it to every line of the file.
Generalerror in getprotobyname Pin
Juan Antonio Bermejo4-May-04 21:36
Juan Antonio Bermejo4-May-04 21:36 
GeneralRe: error in getprotobyname Pin
Mike Dimmick4-May-04 23:27
Mike Dimmick4-May-04 23:27 
GeneralRe: error in getprotobyname Pin
Juan Antonio Bermejo4-May-04 23:48
Juan Antonio Bermejo4-May-04 23:48 
GeneralRe: error in getprotobyname Pin
Juan Antonio Bermejo4-May-04 23:52
Juan Antonio Bermejo4-May-04 23:52 
GeneralRe: error in getprotobyname Pin
Mike Dimmick5-May-04 12:24
Mike Dimmick5-May-04 12:24 
Generalmultilanguage DLL Pin
Raphael Kindt4-May-04 21:27
Raphael Kindt4-May-04 21:27 
GeneralRe: multilanguage DLL Pin
Dimitris Vasiliadis24-May-04 12:02
Dimitris Vasiliadis24-May-04 12:02 
GeneralRe: multilanguage DLL Pin
Anonymous25-May-04 7:22
Anonymous25-May-04 7:22 
GeneralRe: multilanguage DLL Pin
Anouarzha1-Dec-09 23:30
Anouarzha1-Dec-09 23:30 
QuestionWindows 2K or Windows XP ? Pin
joconno44-May-04 21:08
joconno44-May-04 21:08 
AnswerRe: Windows 2K or Windows XP ? Pin
Henrik Stuart4-May-04 21:22
Henrik Stuart4-May-04 21:22 
QuestionMultiThreading Synchronization prob? Pin
mohit98144-May-04 20:39
mohit98144-May-04 20:39 
AnswerRe: MultiThreading Synchronization prob? Pin
Madmaximus5-May-04 4:53
Madmaximus5-May-04 4:53 
Generalopeninng a word file in own Active X control Pin
Abhi Lahare4-May-04 20:21
Abhi Lahare4-May-04 20:21 
Questionhow to create a horizontal bar which shows percentages in three different colors Pin
swarnamanoo4-May-04 20:04
swarnamanoo4-May-04 20:04 
GeneralTab order of controls Pin
GDavy4-May-04 19:31
GDavy4-May-04 19:31 
GeneralRe: Tab order of controls Pin
Joe Woodbury4-May-04 19:46
professionalJoe Woodbury4-May-04 19:46 

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.