Guys, is there an already good product version comparsion function i can use? Or do i need to write one? if so, how should i do it?
I would like to determine if a product version is <, >, ==, >=, <= to another version...
Like how would i write a function that compares and determine if ver1 >=...
Hi, can anyone direct me to where i can find a good c++ API that allows me to control the actions of another application running on my pc?
like i want to automate the actions of an application and sending messages, simulate button clicks, menu management, that sort of stuff.
is there such an...
i'm afraid i am stuck with char* and strings only.
and i need to covert them to string.
my char* contains a string of binary data. perhaps utf8
or just any arbituary binary data.
so there is no way i can call any functions which assumes \0 is the end of the string which it is NOT.
okay, this is driving me nuts...
how do i convert a multibyte binary char* string into an std string?
i have two function that returns an...
char* function();
unsigned char* function();
how do i assign them to an std::string ???
it doesnt seem to copy it since the char* may contain...
guys, i need to fit a very long number into a variable, how do i do that?
let say about 12 digits unsigned. so how?
i cant seem to be able to fit it into
long num;
or
unsigned long num; or int or anything.
seems like max number i can put in any integer is
2147483647
i need to put a much...
okay i wrote a simple XML program.... everything COMPILES and its fine. when i ran it... it CRASHES....
#include <stdlib.h>
#include <string.h>
#include <libxml/tree.h>
#include <libxml/xmlmemory.h>
#include <libxml/parser.h>
int main(int argc, char **argv)
{
xmlDocPtr doc = NULL;
/*...
cpjust.....
well... if you copy/paste this code in windows...
it will work.. but not in linux....
template <class _Ty, class _Diff, class _Pointer, class _Reference>
class MyClass : public std::_Ranit<_Ty, _Diff, _Pointer, _Reference>
{
};
int main()
{
return 0;
}
guys,,.... i am trying to port a windows code to linux.
i nailed it down to ONE last error i cant seem to fix,
because of this...nothing works.
the windows version had poart of the code that does this...
class ClassName : public std::_Ranit<_Ty, _D>
.....
but it does not compile in...
Hi... i wrote a very simple peice of code in windows..
it compiles and works perfectly... but when i port the code to linux... virtually no code change... it does NOT compile.... it gives me the error....
enum.cpp:14: error: `AA::MyEnum' is not an aggregate type
enum.cpp: In function `int...
hi i am porting a project from vc6 to vc7.
it compiles perfectly in vc6... (both debug/release)
and when i port to vc7 and compile...
it worked on debug....
but in release... i am getting unresolved external systrems for xlen/xran... can anyone help me get it to compile in vc7?
useapi error...
Guys..... i am writing a program...and inside i am doing some heavy COM related stuff (use for parsing XML) in C++.
Seems like COM is giving me lots of Handle leaks...
i am not sure how to deal with this.
I would first like to write a simple program (without COM)
just a very simple program...
hi guys... i am writing a VERY simple C++ program....
something like print HELLO WORLD to a FILE.
very easy.... good....
but how do i make the program RUN without brining up a DOS window......
you see.... when i run the program, it executes with a flash of the dos window and finishes. i dont...
guys.... i have taken over a project from my coworder and i need to do some coding on whatever was left there......
i came upon this peice of code and heck i didnt understand what the guy was thinking or trying to do here....
anyone can help me here?
WIN32_FIND_DATA st = {0};
...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.