New Reply

Programming Resources

 
Share Thread Thread Tools
Apr10-10, 12:14 PM   #52
 

Programming Resources


Quote by grady View Post
this one is very very good, and lots of fun to read
Jun27-10, 05:51 AM   #53
 
Simple vb.net tutorial

http://vb.net-informations.com

C# Tutorial

http://csharp.net-informations.com

Chan.
Aug16-10, 09:30 PM   #54
 
Foundations of Computer Science, C edition by Al Aho and Jeff Ullman:

http://infolab.stanford.edu/~ullman/focs.html

A superb book that's theory oriented. It's probably suited for programmers who are a little more experienced, but I'm a beginner, and this book served me quite well. It's probably one of the best books in its class. Best of all, it's free!
Aug17-10, 12:52 AM   #55
 
Recognitions:
Homework Helper Homework Help
Figured this deserves to be mentioned:
http://stackoverflow.com
Probably the most active programming Q&A site on the internet as I post this. Questions at any level about any programming language, library, algorithm, standard, etc. are welcome.
Aug18-10, 12:32 AM   #56
 
Thanks!
Nov15-10, 01:58 AM   #57
 
Does anybody have a good resource for learning the about what the preprocessor directives in C++ do? I mean as a novice they tell you to use iostream, iomanip, math.h, etc, but never tell you how to fully utilize them.
Dec14-11, 11:46 AM   #58
 
http://www.topcoder.com/
http://scpd.stanford.edu/knuth/
http://www.cs.utexas.edu/users/EWD/
http://train.usaco.org/usacogate
http://citeseer.ist.psu.edu/
http://www.jot.fm/issues
http://online-judge.uva.es/problemset/

Technology will come & go. Complexity itself, algorithms, programming languages will stay with us. There is no substitute for practice. These are my favourite programming sites:

Stick with what is important. The rest will be simple.

submit infographics
Jul31-12, 06:08 AM   #59
 
I forgot the link but "The C++STL-T&R.pdf" is a great detail ebook about algorithm in C++.It explain about vector,list,deque,map,multimap and many more
Jan13-13, 12:56 PM   #60
 
Is there any website that has or is a database of the current known computational complexity of mathematical operations?
Mar10-13, 09:23 PM   #61
 
hi,

I need help making a c++ program for school.

The program deals with the game connect 4(http://en.wikipedia.org/wiki/Connect_Four). The game consists of a grid : 3 rows x 3 columns (or 9 cells) :
To identify each cell, we index them : Cell 1 is at the bottom-left
while cell 9 is at the top-right of the grid. Use only arrays of one
dimension.
There are two players (indexed by 1 and 2) who take turn to
drop one token (identified by the user index) in either column 1,
2 or 3, with the objective to align 3 of his/her tokens in a row,
in a column or in a diagonal. Both players are humans and the program will request the players to input the column where they wish to drop the token.

Implement your program with one input to get the column index where the player will drop the token. Your program must check that the selected column is not full; as long as the player keeps selecting a column that is full, the program must ask the same player for another input. After getting a valid column index, have your program update the state of the grid, display its content and determine if the game is over or not. If the game is not over, then it is the turn of the other player. And so on.
Here are (some of ) the tasks your flowchart needs to implement (you may add others) :
a) how does the program determine that the game is over (either all the 9 cells are filled and
there is no winner or one of the player aligns 3 tokens in a row, a column or a diagonal) ?
b) The players take turn to drop their tokens. How does your program determine who is the
next player to play and how does it identify the tokens (from player 1 or from player 2) in the grid ?
c) If a column is full (ie. 3 tokens are already in the that column), no player can drop another
token in that column. How does your program identify the column(s) where the next player can still
drop his/her token ?

I do know how to generate a random number between 1,2, and 3:

#include <cstdlib>
#include <iostream>
#include <time.h>
using namespace std;
int main(int argc, char *argv[])
{
srand ( time(NULL) );
int code = rand()%3 +1; // code will be 1, 2 or 3
cout << code<<endl;
system("PAUSE");
return EXIT_SUCCESS;
}

Thank you very much :)
New Reply
Thread Tools


Similar Threads for: Programming Resources
Thread Forum Replies
IDL resources Computing & Technology 1
any resources to find programming project ideas? or suggestions welcome! Academic Guidance 20
Op Amp resources Electrical Engineering 6
C programming resources Engineering, Comp Sci, & Technology Homework 5
phase diagrams, ternary phase diagram Materials & Chemical Engineering 0