Forum: Coder's Corner Lounge
May 23rd, 2008, 11:44 AM
|
|
Replies: 23
Views: 805
Re: Free will or Predestination?
Fate.
Lectric Pharaoh explained it well with the dice. Jimbo's life is a bunch of chemical reactions is exactly how I've thought of it ever since I began 'thinking about this.
Whatever 'choices' we...
|
Forum: Existing Project Development
Oct 29th, 2007, 10:23 AM
|
|
Replies: 1
Views: 317
Cheap TrackIr?
I remember a post in these forums at one time describing someone's efforts to code an app that would use a webcam to track the movement a person's forehead, using a dot stuck to their head. I can't...
|
Forum: C++
May 7th, 2007, 10:03 PM
|
|
Replies: 10
Views: 232
|
Forum: C++
Mar 9th, 2007, 10:31 PM
|
|
Replies: 5
Views: 185
|
Forum: C++
Mar 9th, 2007, 10:00 PM
|
|
Replies: 5
Views: 185
|
Forum: C++
Mar 9th, 2007, 5:44 PM
|
|
Replies: 5
Views: 185
Trouble with Passing Pointers to a Function.
I've started working with the SDL library a couple days ago. I am writing code to take a bitmap file and display it in a 640x480 window.
The image is called "bg.bmp" (for background)
To draw things...
|
Forum: C++
Feb 24th, 2007, 9:23 PM
|
|
Replies: 6
Views: 246
|
Forum: C++
Feb 24th, 2007, 4:33 PM
|
|
Replies: 6
Views: 246
I forgot to mention that I had tried...
I forgot to mention that I had tried StrToInt.clear(), then StrToInt.str("") after it was read. It did not change the result :confused: .
I am not very experienced in c++ and many guides on the STL...
|
Forum: C++
Feb 24th, 2007, 2:37 PM
|
|
Replies: 6
Views: 246
How to reset a stringstream object?
I am trying to write code that will take a string of 4 numbers separated by 3 spaces and put them into two integer arrays representing the x and y values of two coordinates. ie:
INPUT:
0 0 4...
|
Forum: C++
Nov 13th, 2006, 8:09 PM
|
|
Replies: 3
Views: 129
|
Forum: C++
Apr 4th, 2006, 8:23 PM
|
|
Replies: 10
Views: 328
I did search the forums actually, and I only...
I did search the forums actually, and I only looked briefly but there wasn't anything...Anyway, I had
figured out to compile a Win32 console app, but Im really just confused by the different terms...
|
Forum: C++
Apr 4th, 2006, 2:39 PM
|
|
Replies: 10
Views: 328
Visual C++
I have been learning c++ with Dev-cpp for some time and I recently attempted using Visual C++ (Express Edition). Visual C++ seems far more complicated. In Dev-cpp all I had to do to compile a source...
|
Forum: C++
Mar 16th, 2006, 8:42 PM
|
|
Replies: 13
Views: 406
|
Forum: C++
Mar 16th, 2006, 8:26 PM
|
|
Replies: 13
Views: 406
|
Forum: C++
Mar 16th, 2006, 8:12 PM
|
|
Replies: 13
Views: 406
C++ strange arithmetic?
Why is it that when I add two integers values(5 and 2),divide them by two and assign the result to a float value,
that the float value refuses to have decimals?
ex:
#include <iostream>
using...
|
Forum: C++
Mar 14th, 2006, 7:35 PM
|
|
Replies: 5
Views: 269
|
Forum: C++
Mar 14th, 2006, 7:13 PM
|
|
Replies: 5
Views: 269
Permutation
Im back with another char problem. :mad:
I wrote a program that takes a string that the user inputs in a console, and finds all the permutations for it. The thinking is if I move one letter from...
|
Forum: C++
Mar 12th, 2006, 8:43 PM
|
|
Replies: 5
Views: 202
|
Forum: C++
Mar 12th, 2006, 7:17 PM
|
|
Replies: 5
Views: 202
Pointers to objects, dynamic memory...
I am reading the book C++ programming for the absolute beginer and have made my way to the end of the chapter on advanced data types.
The following is code for a simple tic tac toe game with two...
|
Forum: Coder's Corner Lounge
Mar 3rd, 2006, 9:17 PM
|
|
Replies: 1,035
Views: 17,152
|
Forum: C++
Mar 2nd, 2006, 6:42 PM
|
|
Replies: 3
Views: 203
Thanks, I guess I could have figured it out by...
Thanks, I guess I could have figured it out by trying code like that, but I wanted to go to bed by the time I came to that problem :o .
'fred[2]' was indeed a valid index of 'bob[]', but it still...
|
Forum: C++
Mar 1st, 2006, 9:10 PM
|
|
Replies: 3
Views: 203
Getting values of (non-dynamic) arrays...
Is a statement like:a = bob[fred[2]];
valide in c++?(Bob and Fred are two different arrays.)
I know that something like a = bob[bob[2]]; is valid but a program of mine crashes when I combine two...
|