Hi,
I recently installed Visual Studio 2005 and trying to bulid an apllication and the application contains a header file called as unistd.h and when I compile the code it says..Unistd.h he...
I have a code here where i can do diffrent type of function to a triangle(rotation,translation,scaling,changing colour) now i want to convert everything into 3D,where the triangle become a tet...
Hi All,
I have an application tha uses <pthread.h> file. I do not have that file on my system. Can anybody give it to me... u can paste the code (if it not too big) here or you can mail ...
Hello,
Im looking to make a client/server application where the server will be running on a linux environment.
After looking around I can only find single threaded socket examples, howev...
Hi folks,
Simple question: How can I get the full pathname of the running executable in C++? Actually, I just need the current directory that the executable is running in, if there's a wa...
Currently we are suing rc.exe to compile manifests and resources for our c++ application using vs2005. We are trying to migrate to vs2008 but even with a complete install there is no rc.exe an...
Are you up for a challenge?
Several of us C and ASM programmers had a fun learning experience a few years ago when we tried to outdo each other by writing "The World's Fastest" binary-to-hex ...
Ok I am trying to develop a solution to the 8 queens problem. What I am trying to do is represent the chessboard as an array of integers. When I build it, I don't get any errors but when it ...
Hi,
Which header the Sleep() function is declared. I am trying to use
in a C file, but it gives me undefined sybmbol errors.
( Windows, Visual C++ )
Can some one tell me where I can find a full list of the error codes returned by Winsock, when I try and send data via my socket I getr the following code : 4358532 can someone post a URL with...
I'm developing a Windows 32 bit console application in Microsoft C++, but keep receiving build errors whenever I attempt to use the "gotoxy()" function to set the cursor's position on the scre...
Hi all,
Having an __int64 value representing a millisecond time since January 1, 1970, 00:00:00 GMT, how can I convert it into a string representation of format yyyyMMddHHmmssSSS (milliseco...
How do you convert unsigned int to an unsigned char?
if i have CString a="a;b;c;d;f" and i want to split it to CString array.
how can i do it on VC++ NET ?
When my code writes two unicode strings, I checked the data in the file with HEX Editor
Readings the two strings is a problem.
ReadFile ( hFile, Name, 14, &dwRead, 0 ); // unicode lengt...
im lookin for a decompiler that converts exe (and other files) to C++, anyone know where I can find one? or a name?
--note: i've found some that decompile to assembly or C but what i need has ...
I need C++ source code for the RSA algorithm. I want it to operate on small numbers, which would demonstrate how the algorithm works.
in visual C++ there is a sleep(X) function that put a process in idle state for X millisecond, but in unix c there is also a sleep(Y) function but i think it only delay a process in term of Y ...
After rebuilding my development computer as XP Pro (instead of Win2k) using Visual C++ 6.0 with the Microsoft C++ 2005 Redistributable installed, I'm trying to recompile code that always used...
I'm having some problems with my application and maybe I just need to re-design it, but maybe there is a known approach for handling this situation. In some older programs of mine, I just had ...
I have try to write the code to move the camera around an object,but i only achieved that by using keyborad. How can i do it by using the mouse? like when u click the mouse button and at the s...
single char replace works
replace( str.begin(), str.end(), 'a', 'b' );
but
replace( str.begin(), str.end(), "abc", "bcd" );
doesnt.
how does one replace all occourances o...
How can I make , Edit , Transform True Type Fonts TTF files.
how I can made program with makeing own fonts.what is the format for ttf files?
Greetings All,
I have a binary file that I need to read into a data structure, then insert into a SQL Server database. There is no header in the file. The binary file holds 496 records at...
I have a table name which is of type RTString that I want to check if is empty or not.
I know for instance that the String is empty because ("print me[%s]", (char*) sourceTable);
returns
...