Could someone give me a rough outline of whats going on with XOR, i understand truth tables, from what i can make out that has something to do with it, is it just a case of substituting bytes...
Type: Posts; User: Syme
Could someone give me a rough outline of whats going on with XOR, i understand truth tables, from what i can make out that has something to do with it, is it just a case of substituting bytes...
quack
i never installed MSDN due to space constraints, which was probably a bit reckless of me, then again knowing MS help files.....
Stoned you were right, it was my first in heritance type program and...
cheers, ill give it a try.
Seriously, does it make these messages up ?
D:\Programming\syme.cpp(51) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 1786)
Please choose the Technical Support...
As my first game ive decided to attempt TTT, im fairly sure i can do the board, input, etc. The parts that baffle me are the AI and Checking for a win.
I pondered to check for a win via a 'if a O...
Im almost at the end of my first c++ book, it covers a fair wedge of stuff (overloading, file handling, structures and arrays, OOP, etc) but linked lists arent even mentioned.
My question is...
...
http://www.borland.com/bcppbuilder/freecompiler/
http://www.delorie.com/djgpp/
http://www.bloodshed.net/
ok, im still learning the basics of c++ and have yet to finish my first book (im about 40 pages off). But after christmas i cant seem to find the will to finish it, even though i have another 2 in...
my point was, and although i dont really know that much about c++. i cant seem to see where you're outputting your calculated resistance
"ResVal = res(NoRes-1);
for (int i = NoRes-2; i>0;...
are you sure the program stops ? or does it complete without outputting anything further.
Considering i have NO knowledge of c++ graphics, does anyone know where i can find some decent tutorials, or point me in the direction of where to start ? any help appreciated.
PS: I have the...
in my experience MSVC is the best compiler, you'll often find that people will evade Microsoft products for the sake of doing so, even if they are superior, which is rare, but in this instance, true....
it was me who used that code, to reply to someone elses query a while back, im all for sharing the knowledge, but im also for creditting the original author. The code isnt even that good.
while (counter < 10)//test conditions for loop
{
cout << counter;//code executed during loop
counter++;
}
perhaps you could invite the user to enter the value for counter, or whatever you...
Not sure if this is what your after, but in its most basic form, i'd do it like this:
#include <fstream.h>
main()
{
char ch;
char filename[20] = "c:test.txt";
int mode = ios::out;...
Hi, i have an array (of chars, if it matters) and i basically want to extract random entries from them for output to the screen, any ideas ?
Any help appreciated.
its not a windows program, as i say, at this moment in time i know next to nothing, DOS only im afraid :(
yes, exactly like that
Essentially, i want it to act as if im pressing space every 40 minutes. Surely its more than a case of
cout << " ";
Although i could be wrong.
Hi,
Basically i need to write a program that will press space every 40 minutes, ive started learning c++ but there appears to be no mention on how to do this in the book i have :(
Any help...