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...
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;
/*...
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};
...
Hi... i need help with simple strings.......
you guys should know it....
given a string..... like....
string ss = "blah blah blah ...";
Q: how do i replace ALL instance of a substr with another string? Like if i want to replace all the letter "a" to another letter or phrase.... how do i do...
Hi guys... i need to write cross compiler code....
is there a FLAG that can differentiate vc6 vc7 (vs.net)?
example:.... i wish to be able to write code that does this.....
#ifdef VC7_FLAG
printf("THIS IS COMPILED WITH VS.NET");
#else
printf("THIS IS COMPILED WITH VC6");
#endif
so...
Does anyone know of any C++ maillist, mailserv,
servlist, that i can subscribe to? I would like to send/recv C++ programming tech support using email.
thanks
Hi guys... i need to program in the Mac a program to determine IF a specific software is installed on the mac. How do i do that?
Example, let say someone installed an application called Microsoft Word 6.0 (just for example) on the mac, how do i write a program that list to me if that program is...
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.