A book on the Standard C++ Library won't help you at all at this stage. You need a book that teaches you how to program in C++. Why do you want...
Oh and format it properly as well. This will also make it a lot easier to debug. You hardly ever see experts writing code that looks as awful as...
arr[4]==14 && arr[0]==2 && arr[1]==3 && arr[2]==4 && arr[4]==5 will never evaluate TRUE. This code is very difficult to read, I'm not surprised...
Scan right to left checking for spaces and counting the length of the word you're currently looking at. Then use strncpy to copy a fixed number of...
3. Looks like all values will be positive, so create an int array Comb initialised to -1 in every element. Then you need 2 nested for loops for i...
What errors did you get? I compiled it in Visual Studio 2008 and got no errors, just one warning about an unused variable temp. Tried running it...
Well you've pretty much been given it in part 4. Have you tried something along the lines of (untested) : while (abs(x1 – x0) > precision) {...
You probably won't be able to do it exactly as you've drawn it but this depends how you're doing the output. Is it straight to console or are you...
And another void test22() { int fudge=20; char *foo=" I am teh 1337 CHEAT"; while (fudge--,*foo++) putchar((foo[fudge--]-32)?42:10); }
TMTOWTDI. void test21() { int i=0x3039; do for (int j=0; j<(i%012); j+=printf("*")); while (i/=printf("\n")*012); }
Try reading the whole thread, you'll get some clues as to why you can't find the questions. You're new here, so I won't yell at you, but please...
SOMETHING MISSING doesn't look like any C error message I've ever seen. Post the latest version of your code (use code tags) and the error...
Well, you've posted your assignment, but you haven't said where you're stuck. Do you understand what you need to do? Have you worked out how...
This is very easy. Your subject line contains the key. A nested for loop is simply one loop inside another, e.g.: for (int i=0; i<10; i++) {...
Isn't that what I said?
Redirect the output to a file, then open the file after the system() command and read it. Alternatively find out how to do this by using OS calls...
Why would you want to be so complicated? If you don't know how to determine if a string is a palindrome then your skills are *waaaaaay* short to...
This is a really easy task and if you cannot do it yourself then you should ask why you are on a programming course in the first place. Here's a...
http://lmgtfy.com/?q=linked+list+c%2B%2B
Duplicate of http://www.go4expert.com/showthread.php?p=68265#post68265 You said in that post you'd already solved it. Are you heading backwards...
Separate names with a comma.