anyone good with C++ and feeling generous? Need help finishing a basic program....would take me forever, but someone good could do it in like 5 minutes I guess?
11/6/2006 6:52:35 PM
If it's for a class, forget it. Otherwise, one of us might be able to help.
11/6/2006 7:04:12 PM
ha not an NCSU class
11/6/2006 7:11:25 PM
plus, dont really want someone to do it, more like help with hints...
11/6/2006 7:12:00 PM
post what you need help with on here. you'll have more luck with a few people pointing you in the right direction than recruiting a person to help you with every bit of it. but if it smells like an ncsu assignment, prepare to be flamed[Edited on November 6, 2006 at 9:04 PM. Reason : what class is it for]
11/6/2006 9:03:30 PM
cout << "programming is for queers";
11/6/2006 9:14:25 PM
Nvm, I will just look in my book again. Anyone suggest a better book or online tutorial then "How to Program" by Dietel and Dietel.......I hope NCSU doesnt use this book.....I dont like it very much (or C++), I have no programming background what-so-ever.[Edited on November 6, 2006 at 10:16 PM. Reason : .]
11/6/2006 10:14:46 PM
The things I am struggling with are basic things with arrays, searching the array, finding numbers divisible by 3, and finding mode.....just cant find good explainations in my book/
11/7/2006 1:07:28 PM
what kind of array help do you need? initializing, syntax, how to use? what kind of searching are you doing, there's tons of search algorithms. you can determine whether a number is divisible by three by using the modulus operator (%)
11/7/2006 1:41:50 PM
howstuffworks.com -> C programmingnot kidding, it's a good basic site with some example code.
11/7/2006 1:54:20 PM
const int foo = 9;if (foo % 3 == 0) { cout << "foo is divisible by 3";}
11/7/2006 1:57:48 PM
http://community.livejournal.com/cpp/
11/7/2006 2:00:02 PM
//divisible by 3#include <iostream>int main() {int * array = { 1,2,3,4,5,6,7,8,9,0 };do { if ( !( (*array) % 3 )) cout<<*array<<endl;} while ( *(array++) );}[Edited on November 7, 2006 at 6:28 PM. Reason : *]
11/7/2006 6:27:00 PM
thanks, I am finishing unwritten code.......so we'll see how I can fit those in
11/7/2006 7:55:08 PM
Finished everything but the search of the array, any help?
11/12/2006 12:00:58 PM
http://www.cprogramming.com/You may want to try a basic programming book like "Learn C++ in 21 Days" or something similar. Many of those books assume little to no prior experience and they usually provide example problems with answers and explanations.
11/12/2006 12:43:07 PM
books are so '90shttp://www.cplusplus.com/doc/tutorial/
11/12/2006 12:51:35 PM
thanks
11/12/2006 2:17:29 PM