Search:

Type: Posts; User: JoshR

Page 1 of 20 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    18
    Views
    1,176

    When an integer is given characters, the program...

    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...
  2. Replies
    9
    Views
    4,783

    Look at this line: WINDOWS, *WINDOWS You...

    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...
  3. Replies
    20
    Views
    1,476

    I'm 16, been doing c++ for 2 or 3 years I don't...

    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...
  4. Replies
    3
    Views
    667

    well remember when you have an array of 100...

    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;...
  5. Replies
    53
    Views
    3,447

    Poll: Acutally IMHO thats not a very good way to clear...

    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...
  6. Replies
    55
    Views
    3,871

    Why are you telling me? O does mine not do a...

    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...
  7. Replies
    14
    Views
    1,657

    you could just change this: long...

    you could just change this:


    long int(i)*i//Error Expression syntax

    to this:


    long(i)*i
  8. Replies
    14
    Views
    1,657

    Because & is not a data type. & is a binary...

    Because & is not a data type.

    & is a binary operator that is used to declare/use addresses.
  9. Replies
    19
    Views
    1,527

    I couldnt really find any usefull info on...

    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.
  10. Replies
    55
    Views
    3,871

    Although half my code is comments lol...

    Although half my code is comments lol...
  11. Replies
    55
    Views
    3,871

    And how many lines of code is yours? mines...

    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...
  12. Replies
    55
    Views
    3,871

    Accidently had the other slash, but it still...

    Accidently had the other slash, but it still doesnt work under dev-c++

    Although VS .net 2003 does work.
  13. Replies
    55
    Views
    3,871

    Some IDE's dont recognize the "multiline...

    Some IDE's dont recognize the "multiline backslash comment":


    // multi-line single-line comment \
    another line



    oops my mistake
  14. Hes also not using multiple boards so they dont...

    Hes also not using multiple boards so they dont NEED to be static. Thats why i said they dont NEED to be static.
  15. No its not obviously incorrect, i was thinking...

    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.
  16. Replies
    46
    Views
    7,653

    Ill accept it yay 4 ppl now its a party.

    Ill accept it yay 4 ppl now its a party.
  17. Replies
    55
    Views
    3,871

    Heres what I came up with so far. Sorry if...

    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...
  18. Replies
    15
    Views
    1,599

    I know the float has already been pointed out but...

    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...
  19. Replies
    55
    Views
    3,871

    In my IDE's this midline comment: "hello...

    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,...
  20. Replies
    55
    Views
    3,871

    Lol by hand... but the zone idea I have...

    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...
  21. Replies
    55
    Views
    3,871

    Here is a preview of the c-style comments part,...

    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:

    ...
  22. I would have to disagree ^^^. You can...

    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...
  23. Replies
    55
    Views
    3,871

    I think ill try and contribute some code to...

    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...
  24. Replies
    46
    Views
    7,653

    Not many, ya sorry ive been really busy so its...

    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.
  25. Replies
    46
    Views
    7,653

    Well I'm just about done, sorry it took so long...

    Well I'm just about done, sorry it took so long I've been on vacation for a while.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4