Showcase your knowledge about Apple's newest OS. Write a how-to or share a tip or trick about Snow Leopard and earn unlimited points!

 

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

 
Time Tested C++ Solutions: 51 - 75 of 6086
 
Homework: Given a 7 digit phone number input, determine the word possibilities.  Input will not use 0 or 1 since they have no letters associated so the phone number input cannot contain eit...
I would like to know how delete operator will work on with double pointer...
Hi, Is there any way to read in a text file as UTF8 format. Or store it in a UTF8 buffer?  Thanks. Perry. P.S. This is extremely urgent so I'm awarding it 500 points.
Hi experts, I'm lookiing for a function that allow me to insert delays in Microseconds. I tried Sleep but it's not possible. i didn't test yet the clock() function to do that. thanks in ad...
How does the following code work: cout << ((value & bits[i]) ? "1" : "0"); I wanted to instead of printing "1" or "0" i wanted to add it to a string.
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...
I am doing FCFS, SJF preemptive, SJF non-preemptive, Priority FCFS, RR scheduling algorithms using c++. Assume that I have 3 jobs stream such as  job stream: (A,0,0,10,2,10,3), (B,0,0,10,2,5,2...
I am trying to learn how to use CPP maps while writing a program that parses commandline arguments. I need an associative array style container so I am trying a map.  The following is the d...
how can we convert a character to a hexadecimal value.And also how can we use charcters apart from latin charcters.for eg char c ='\ubf25' is it the right way to use unicode characters.if it...
Hi Experts, I have the following class and sub-classes: class Basket { public: private:    // Sub Class    class Fruit    {       public:        // Constructor        Fruit(ve...
Hi, i am trying to read in a string using cin but it seems that cin will only read till a whitespace is detected and stop reading the rest of the string. e.g. string a =""; string b=""...
Hey experts, The itoa function is provided only in Microsoft Visual C++, it is not provided with the g++ compiler in Linux; therefore, if I want to use  itoa to convert from an integer to a...
I'm compiling my C++ program under Ubuntu 6.10 using KDevelop.  Unfortunately, it needs to run on an embedded device with no compiler running Debian.  I get the error "version `GLIBC_2.4' not ...
How do I convert a float into a string with a precision of 2? Example: float x = 1.235; string s = ? // s contains "1.24" or "1.23", rounding doesn't matter
I'm attempting to debug a program in MS Visual Studio but it keeps ignoring my breakpoints and gives the following.  Any idea what I'm doing wrong or how I should fix? Project is compiled f...
I have tried to create a lock on a file x (used by several users) with the use of an ekstra file, that when exists marks that the file x is edited by someone else. The following code works...
I have a prototype USB device that I was told is designed to be a HID compatible device.  (This device is still in pre-production, I received it from the hardware designer).  I was given no so...
This a pretty vague question, what I need is some direction as to where I need to start looking for a solution to this problem. On a small number of computers, when my program starts an err...
I need something parallel to windows Sleep() in Linux.
A dice is being thrown many times and the occurrences of each digit are recorded. My output should produce 5 since digit5 appeared 99 times. #include<iostream> using namespace std; int ...
Hi Experts, I would like to get the MAC address of the local Linux machine using C++. How can I do? Thanks in advance! .VietTrung.
hi i would like to read a line with whitespaces in it in C++ e.g. Enter the brands : honda toyota siemens omoron mcdonalds kfc if i would use getline to read the line with '\n' as delim...
Hello experts, in my C++ program (console app)  I need to convert a LPWSTR to CHAR*. ---      //*********************************           wchar_t *pServer = L"\\\\mycomputer";          // server to run on ...
Can someone direct me where functions that retrieve processor information (name, speed, type, usage percentage, etc) or computer information (operating system, hard drive space, etc)? Name all...
Thanks Snoegler. Reply: I was hoping someone could provide some insight as to how I can solve this, not write the code for me. This is my code, but the final result is a half diamond, not...