Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

Pedro Ruiz

@Pedro Ruiz
About
Posts
8
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • generate c++ doc ?
    P Pedro Ruiz

    This links has a lot of c++ documentation tools. http://www.stack.nl/~dimitri/doxygen/links.html I recommend Doxigen.

    C / C++ / MFC c++ java question

  • ActiveSync error.
    P Pedro Ruiz

    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.

    Mobile help announcement c++ sharepoint sysadmin

  • COnverting char to int and retaining value
    P Pedro Ruiz

    You 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?

    C / C++ / MFC data-structures help

  • cannot convert parameter 1 from 'unsigned int' to 'const char *'
    P Pedro Ruiz

    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

    C / C++ / MFC help question

  • cannot convert parameter 1 from 'unsigned int' to 'const char *'
    P Pedro Ruiz

    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?

    C / C++ / MFC help question

  • How to get most significant digit ?
    P Pedro Ruiz

    Try this code: d=pow(10,(int)floor(log10(f))); f=input, d=output.

    C / C++ / MFC tutorial question

  • Mixing C++ and C code - HELP
    P Pedro Ruiz

    Well, 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.

    C / C++ / MFC learning c++ graphics docker help

  • Mixing C++ and C code - HELP
    P Pedro Ruiz

    try: extern "C" int magiccalc(void);

    C / C++ / MFC learning c++ graphics docker help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups