Advertisement

Experts have come up with some helpful tips for getting a solution to your problem fast.

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested C++ Solutions: 101 - 125 of 7050
 
Good-day I have C++ source code which I would like to compile in Visual Studio 2003; however there isn't a project workspace included in the source code. How do I build source code packa...
I have Borland C++ Builder 6 but unfortently it is not compatiable with Vista. I would like to know what compilers are compatible with Vista. I do not have a lot of $$ for a compiler, therefor...
Hi Experts, I need to protect some data in a multi-threading/multi-processing enviorment.  What syncronization mechanism should I use.  What is the difference in using Semaphore vs mutexes.  
is there any way to change .exe file to cpp or c file?
This is weird: A description of the problem: The code here (most likely full of errors / oversights) doesnt seem to operate in the proper timeline.  The std::cout line near the bottom appe...
I am reading some code off programming books and I am not sure about the details of what are the differences between: enum MyEnum {EnumValue1, EnumValue2, EnumValue3}; MyEnum myEnumeration...
hi, I am using visual studio 6.0(with service pack 5) I need the functionalities of the psapi.h/psap.lib for my program but on search they are not on my computer . where can i download thes...
Hi I have a CSV (Comma Separated Value) file that I need to read in and put data into structures.  I am going to be using MFC to have a gui to select a file and read it.  I'm more interested i...
I thought I knew how to use such a Start/Run command line input, but I'm having problems.  What is the proper input line for this; I've tried this: "C:\Documents and Settings\My Documents\Vi...
Hello I wanna get some filenames and write them into file. some files are not english (so I use unicode -> TCHAR). I use FindFirstFile & FindNextFile for get filenames and store them in TCHA...
Using Dev-C++ 5 Beta 3: ---- #include <iostream.h> #include <conio.h> int main() {   gotoxy(1,1); // Not important where   cout << "Hello world."; } // end main() ---- Returns ...
Hi expert, Does anyone has example how to write a thread pool application in C++ pthread? For example, a single input file get processed by x number of threads...each thread will process...
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 ...
How do I initialise an array of char pointers using dynamic allocation? I'm trying to do this assignment using just pointers and dynamic allocation. Create the array of char pointers, assign v...
The following program inserts strings into a stringstream and then extracts from the beginning of the stringstream.  I'm happy that it works this way, but don't understand why.  Speaking in fi...
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...
Hi, I've been trying to use the gslwrapper classes for a few hours now in Dev-C++, but when I compile I get the following errors: main_gslwrap.cpp:11: error: variable `gsl::matrix a' has...
Hi, i am keeping getting this error: Debug Error ! Program : myfile.EXE Module : File : i386\chkesp.c Line : 42 The value of ESP was not properly saved across a function call. This ...
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...
How do I remove an entry from an std::map knowing the entry's key?
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...
Hi experts: I use Turbo C++ 3.0 in Win 2K.I use command-line compile "tcc.exe" to compile my source code.But it can't be compiled completely.Error messages show that I don't set the path of I...
i am trying to write this program using if/else statment but i am getting an error at the end. Could someone help me writting this program using C++?? Here is the problem: Write a program ...
I am trying to write a maze program using stack in c++ I idea is that a user can call from a file a list of 1's and 0's that will be used as the maze. The maze is to work (in 4 directions...
I found the project that I was supposed to do it from last year, since I didn't go over this, I like to know what to study and need to know about..   can anyone give me any reference or infor...