Why do you need the program? Are you on a course?
This isn't a difficult program to write, more tedious than difficult. Where are you stuck?
Well done virxen, seems I need to try harder ;-)
Search engines aren't difficult to use. If you go to Google and type in "c++ bitwise not" then it'll fetch back a list of useful websites you can...
Same way it's done in any size system. One's complement just flips the bits, two's complement flips the bits then adds one. 1's comp of 0001 is...
There's no point in us helping you with it. Let's say we get you through the interview and you get the job. What then? The company will expect...
At the command line, you can use tee, which takes a filename as an argument and writes whatever is piped into it to that file and to the screen,...
If you want a fixed depth then do it with nested for loops which is by far the simplest solution, e.g. for (int i=0; i<5; i++) { for (int j=0;...
The second only prints EQUAL because the compiler has merged those duplicate strings and set the POINTERS in s1 and s2 to the same address....
Looks like you're being ignored here as well:...
First line allocates an array of 10 chars on the heap and assigns the memory location to ptr. Second line stores 9 in ptr[0]. Third line depends...
It's a feature of the OS. So if you don't tell us what OS you're using then we have no way of being able to help you. What's an EXC file anyway?
Easy. Where are you stuck?
It's not free. At http://www.viva64.com/en/pvs-studio/ it says "You may use it for 30 days and purchase it as this term expires." So this is...
This is not an advertising forum.
Not sure, have you tried passing the arguments via the run command? As in: dbx myapp run -D dbname inputfile
Seems unnecessarily complicated to use two languages for the project. C and C++ link together fairly easily (use extern "C" around the C...
Re: help me guys You're asking for a lot there. If you know the theory, then don't worry about it, just start writing code and use them as and...
http://notepad-plus-plus.org/release/5.8.5 download this one --> npp.5.8.5.src.7z (source code)
For example here's some code from a project of mine, but this isn't going to be a lot of use to you if you're not using the Windows API: void...
Separate names with a comma.