This links has a lot of c++ documentation tools. http://www.stack.nl/~dimitri/doxygen/links.html I recommend Doxigen.
Pedro Ruiz
Posts
-
generate c++ doc ? -
ActiveSync error.When I build a program using EVC+ 4.0 and try to download it to my iPAQ PocketPC, I get the following message: The Microsoft ActiveSync reported the following error: Unable to load device side components. Please check server configuration settings. Using Tools/Configure Platform Manager to check the settings, I found that using ActiveSync as Transport and as StartUp Server has no settings. The ActiveSync is working well. I have a good conection and I can syncronize with my desktop. I've tried all that is 'reasonable': update ActiveSync to the lastest version, install the latest EVC++ SP, Hard Reset the iPAQ,.. but the problem still persists. Any help? Tanks.
-
COnverting char to int and retaining valueYou can mofify the code as follows: int Convert(char a, char b){ int intTemp=0; char strBuffer[3]; strBuffer[0] = a; strBuffer[1] = b; strBuffer[2] = '\0'; sscanf(strBuffer,"%2x",&intTemp); return intTemp; } This returns the HEX'ab' int value. The HEX or Decimal or Octal or whatever is just a representation of an integer number. What is exactly your problem?
-
cannot convert parameter 1 from 'unsigned int' to 'const char *'Ok. The code in the thread is: tprintf(_T("COM%d\n"), ports.ElementAt(i)); then, port.ElementAt(i) is a number. You have to modify your code in the following way (or similar): char txt[256]; sprintf(txt,"COM%d",ports.ElementAt(i)); m_port.AddString(txt); Regards
-
cannot convert parameter 1 from 'unsigned int' to 'const char *'It seems that ports.ElementAt if of type unsigned int (number) and must be of type const char * (string). Could you provide the ports structure/class declaration/initialization?
-
How to get most significant digit ?Try this code: d=pow(10,(int)floor(log10(f))); f=input, d=output.
-
Mixing C++ and C code - HELPWell, it's not the same extern "C" than just extern. In C++ some compilers add extra information to the function names (type of parameters, type of return,..). To avoid this problem, use the extern "C" declaration in all the 'C' functions.
-
Mixing C++ and C code - HELPtry: extern "C" int magiccalc(void);