When an integer is given characters, the program goes haywire because as you guessed wrong data type. The program will have logically the wrong output, if no imidiate error occured.
I suggest...
Type: Posts; User: JoshR
When an integer is given characters, the program goes haywire because as you guessed wrong data type. The program will have logically the wrong output, if no imidiate error occured.
I suggest...
Look at this line:
WINDOWS, *WINDOWS
You have two variables named WINDOWS (one pointer, one struct).
They have conflicting names...
Also you dont need a typedef at all, in c++ you dont...
I'm 16, been doing c++ for 2 or 3 years I don't really know... Did a full course from a class (without the class, had a friend pick up the lessons and assignments for me), read 2 books on c++, 1 on...
well remember when you have an array of 100 items, the last item is in the 99th spot so on that subject:
#define NUMPACKETS 100
double arrivalTimeArray[NUMPACKETS];
for(int i=0;...
Acutally IMHO thats not a very good way to clear the console. For one, it moves the cursor to the bottom, and for two you dont know the size of the console window.
Check out...
Why are you telling me? O does mine not do a file? well that was just a debug, I actually rewrote it and its only 400 lines and decided not to add the tags untill all zones are calculated and I wrote...
you could just change this:
long int(i)*i//Error Expression syntax
to this:
long(i)*i
Because & is not a data type.
& is a binary operator that is used to declare/use addresses.
I couldnt really find any usefull info on encryption over the net so I got a couple books, just look at amazon.com and you should find some good ones with good reviews.
Although half my code is comments lol...
And how many lines of code is yours? mines totaling about 500 and it works liek a charm, just have to get the keywords function coded and im all done.
also a couple things that dev and my other...
Accidently had the other slash, but it still doesnt work under dev-c++
Although VS .net 2003 does work.
Some IDE's dont recognize the "multiline backslash comment":
// multi-line single-line comment \
another line
oops my mistake
Hes also not using multiple boards so they dont NEED to be static. Thats why i said they dont NEED to be static.
No its not obviously incorrect, i was thinking about the class itself. Each individual class object has its own static members thats what i meant to say. so no its not obviously incorrect.
Ill accept it yay 4 ppl now its a party.
Heres what I came up with so far. Sorry if formatting is off my bros comp might have messed up the tabs and spaces.
The Numbers function is still under debug, I'm mainly working on the basic...
I know the float has already been pointed out but there were a couple very small things that you might have missed. Unless you just caught it...
Also as Daved pointed out the cin.ignore(), I...
In my IDE's this midline comment:
"hello /*midline true comment*/ bool world"; //a
would be part of the string because it takes priority i guess.
tried it out and it is part of the string,...
Lol by hand... but the zone idea I have essentially double checks and makes sure that things arent overlapped with wrong colors. All my code can do now is correctly color c-style comments and double...
Here is a preview of the c-style comments part, the NoColor is a vector that contains zones that are already in use by a comment or something else so that no other colors are added to it:
...
I would have to disagree ^^^.
You can initialize your private data members in your default constructor.
You dont have to make private data members static, they already are.
Use newer...
I think ill try and contribute some code to this... I have an idea for one and maybe ill try it out and post it. My Idea is for one, it can be vB code or HTML. Then maybe ill create a windows app to...
Not many, ya sorry ive been really busy so its hard to sit down and look closely at them. I think i have 3 submissions.
Well I'm just about done, sorry it took so long I've been on vacation for a while.