Search:

Type: Posts; User: Garratt; Keyword(s):

Page 1 of 8 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: I know this is a Linux forum and everything... but the Win32 API?

    or you could try, www.cplusplus.com http://tinyurl.com/y9wmrt9
  2. Replies
    7
    Views
    980

    Re: shell variable: PWD

    edit: nevermind I mistyped.
  3. Replies
    11
    Views
    661

    Re: System() function

    damn straight, why do people always ignore this important FACT!
    the amount of windows programmers I see using it drives me crazy. apart from making your exec EXTREMELY SLOW, it opens up your code to...
  4. Replies
    6
    Views
    478

    Re: Java problems on mint.

    Much better anyway, installed the latest dev build 3.6 M4 and added to my ~/bin folder and made a custom launcher, problem solved.. so to speak, on the assumption I will break this OS and reformat,...
  5. Replies
    6
    Views
    478

    Re: Java problems on mint.

    oh well too late :s


    gcampton@gc-laptop ~ $ java -version
    java version "1.6.0_16"
    Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
    Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode)...
  6. Replies
    6
    Views
    478

    Re: Java problems on mint.

    Ok, thanks. Will do and post back if I have any other problems. I guess I kinda came to that conclusion myself as well but that was after I realised Eclipse was actually the ubuntu version and not...
  7. Replies
    26
    Views
    13,230

    Re: another noob g++ terminal thing

    read page two
    the solution is there... you can find replace the dodgy characters in gedit or whatever your using and replace with a normal " " space

    I typically do this all the time and have...
  8. Replies
    11
    Views
    661

    Re: System() function

    I suggest don't do it, system commands are slow and create huge security gaps in your code. If your doing something that inherently talks to the system anyway such as a text editor or the like then...
  9. Replies
    6
    Views
    478

    Re: Java problems on mint.

    Eclipse version I'm guessing can be changed to something else it is:
    Eclipse SDK
    Version: 3.2.2
    Build id: M20070212-1330 (Ubuntu version: 3.2.2-5ubuntu3)

    So could I just uninstal this and gcj...
  10. Replies
    6
    Views
    478

    Java problems on mint.

    Mint 7, based off Ubuntu 8.10. anyway this is the only linux programming forum I know of so I came here.
    TBH I'm not quite sure what I've done wrong. When I first installed I removed the ubuntu...
  11. Replies
    22
    Views
    1,373

    Re: Java assignment help- unsure of syntax/logi

    forgot to reset turns... yay with 20minutes to spare :D :D :D :D
  12. Replies
    22
    Views
    1,373

    Re: Java assignment help- unsure of syntax/logi

    Yes I get that, but also if I take your advice, train of logic probe you to give the answers it's not my work... At least I'm trying to solve the problem myself using my own logic but with your help,...
  13. Replies
    36
    Views
    11,631

    Re: Posting Homework Problems

    That's not all true, at the moment i have 99.99% completed my assignment it will run through once perfectly fine, but once i add a for(i=0;i<10000;++i) it crashes, how would googling solve it?
    In...
  14. Replies
    3
    Views
    308

    Re: List files in folder

    EDIT: you can probably write a fairly simple script: I tried but been far too long since ive done any so i'm not sure.
    but something that piped ls through to check if -f or -d then ls -d check again...
  15. Replies
    22
    Views
    1,373

    Re: Java assignment help- unsure of syntax/logi

    So I have almost finished it but something is wrong with my for/while loops in MainApp.cpp I thought my break; statements would exit out of my while loops and being that I am able to run a test run I...
  16. Replies
    22
    Views
    1,373

    Re: Java assignment help- unsure of syntax/logi

    i decided to try another way that seems a little simpler much like myself. added another boolean to dueler called aHit. set aHit to false on all duelers so now my switch statement simply sets aHit to...
  17. Replies
    22
    Views
    1,373

    Re: Java assignment help- unsure of syntax/logi

    regurgitating what i have already said:

    public class Dueler
    {
    ...

    public void ShootAtTarget(Dueler target)
    {
    "this" will attempt to kill "target"
    ...
  18. [ubuntu] Re: Acer Aspire One ZG5 Grub problem, then kernel panic.

    load up live cd without changes to your computer.

    when it starts up open terminal

    now mount your drive and edit the list

    sudo mkdir /media/slash

    mount /dev/*your drive* /media/slash
  19. Replies
    22
    Views
    1,373

    Re: Java assignment help- unsure of syntax/logi

    I think i might think about it... while i sleep :P

    thanks for all your help guys.
  20. Replies
    16
    Views
    5,417

    Re: Whats in your .vimrc?

    I'm new to vi so mostly nub settings based on C++

    P.S. it's not very organised


    " ---- .VIMRC :- Written By G.CAMPTON. ----

    " ---- set commands and options ----

    syntax on "...
  21. Replies
    22
    Views
    1,373

    Re: Java assignment help- unsure of syntax/logi

    I'm confused, so I should take out string from shootAtTarget()
    and then it would be as if you pass the object through, but that may mean accuracy will be taken from target not the shooter.

    The...
  22. Replies
    22
    Views
    1,373

    Re: Java assignment help- unsure of syntax/logi

    I got to put up with the pink for the rest of the day?

    ouch, they could have given it a post count or refresh count or something so it dissapears after a while... it seems to go back to grey and...
  23. Replies
    22
    Views
    1,373

    Re: Java assignment help- unsure of syntax/logi

    thanks :d last one, i think... i changed the setAlive to setAlive()

    but still comming up as a variable that cannot be found.

    all the: name.setAlive() = false; in the switch statements are...
  24. Replies
    22
    Views
    1,373

    Re: Java assignment help- unsure of syntax/logi

    ok now it says that every variable in dueler is not found.
    Do i need to initialize in the class before the constructor?

    cannot find symbol variable name
    cannot find symbol variable alive
    cannot...
  25. Replies
    22
    Views
    1,373

    Re: Java assignment help- unsure of syntax/logi

    ok i see where i am going wrong:

    in main im passing the objects through to shootAtTarget which is expecting a string.
Results 1 to 25 of 182
Page 1 of 8 1 2 3 4