What do you think about Windows 7? Write a review or a how-to about Microsoft's newest product and earn unlimited points!

 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Top C++ Solutions: 126 - 150 of 377
 
Hello. Given the code below, why am I getting the error 'cannot convert parameter 2 from 'unsigned int' to 'unsigned int &'? Thanks, Uni
Hello, In the previous question I had the following code, which won't work because the 0 passed in is a literal value. What I'm not following is why this won't work, because doesn't the com...
I'm trying to forward some ports through UPnP in Microsoft Visual C++ Express and everything is working fine until I try to add the map to the mapping collection, then the returned error is "T...
Hello, I have the following code, although the line in the main method does not work, I must split it up as: CA mc; mc=5; Is there a way I can achieve it in a single line as I am bel...
I am trying to convert my pascal program over to c++ but I cannot figure out a way to handle large numbers. Source code is located below. In pascal I used int64. The answer should be 140160263...
Sorry for the long thread title, but what I basically want to do is make a program for os X in C++ (cause that's the language I know best). So I designed an interface with a text box in it. (Y...
Hi ALL iam tying to repeat the following operation char *perr; perr =  strtok( cStruct.msg_lst[0], "," );  while (perr != NULL)   {     printf ("%s\n",perr);     perr = strtok...
I followed instructions from http://www.experts-exchange.com/Programming/Editors_IDEs/C_CPP_CS/Visual_CPP/Q_23646856.html which works with the example. But when I copied the solutions into my ...
How is this code working properly: #define OFFSET(TYPE,MEMBER) ((size_t) &((TYPE*)0) -> MEMBER) typedef struct list { int a_int; float b_float; char c_char; double d_double; }...
i am to create mortgage calculator where user inputs loan, interest rate, and term then then loops back if user wants to input more data, ultimately displaying monthly payments.  I can't seem ...
I guess I've asked a question related to this here. I am implementing a polynomial class and trying to implement it as a copy on write. I am particularly confused with the following situation....
I have been working on this for some time infact I went backwords to try and make my code better then before, which it is now, but now I cannot seem to put my symbol table back in for some rea...
Hi, int y = 2009, m = 10, d = 31; string s, s1 = "/"; I want to find a simple mathod to get a string something like s = y + s1 + m + s1 + d; Thank you.
I got the following error: simulator.cpp:56: error: âuâ was not declared in this scope simulator.cpp:56: error: âxâ was not declared in this scope can someone please tell me why? I don'...
Define a class called Odometer that will be used to track fuel and mileage for an automotive vehicle.  The class should have member variables to track the miles driven and the fuel efficiency ...
I am in the middle of upgrading a C project into a C++ project.  Visual Studio.NET is the compiler. I have had trouble using "extern const double".  I understand that C++ handles extern dif...
Hi, ok, this is a real easy question: I'm working on linux and have got a shared library written in cpp (e.g. mylib.so). I'm writing a program (e.g. myProg.cpp). Can I use classes/functi...
Hello, Consider the two snippets below, the first one works as expected and returns the number of elements within the array, however if we passed this same array into the function in snippe...
hello , im new to MSVC++ and vb6  i would like to make a dll file that has a function when this function called it will download file from http , then when other function called called it w...
i used evilrix way to convert a DWORD to a byte array but now there is one little problem. I try convert 0x3E1A175 from DWORD to a byte array, then i try to reverse the address like this: 75A...
Two processor system with a shared memory bank in between.  To write/read data to/from the shared memory bank I use vendor functions macros IOWR_XXDIRECT(BASE,OFFSET,DATA); IORD_XXDIRECT(...
Hi Experts, I have used the HTML View Control in my MFC project to view HTML page. But it has problem is that User can drag/drop any folder from any folder to the dialog to open as window ex...
This code works in C#.  It prints a pdf file to a printer using whatever program is associated with PDF files.  Example Adobe or PDF999.  It does not need to know the pdf software name and loc...
Hi. I want to compare a Clocktype variable with a double variable. This is how I plan to do it......... 1. get the clocktype variable 2. convert it into seconds using TIME_PrintClockInSeco...
I am trying to work on C++ here. I had a string value of both "-2000.00" and "20nn". I need to convert this 2 string into double. By right, "20ab" should not be converted as it is a not valid ...